Fixes to 1984/decot
Make the decot.orig.c what was originally submitted prior to the judges changing a line due to some compilers disliking that line. The alt version does not have this fix applied. Note that I yanked paste the line so if there was a typo that's there too though it appears not to have that problem. Updated Makefile noting that the purpose of the entry is to print out rubbish so if one sees nonsense it's expected. Fix README.md to refer to decot.orig.c instead of decot.alt.c for the change made by the judges (that is to see it prior to the judges' change).
This commit is contained in:
1 parent
9f260b93a7
commit
7cfbc1e30c
4 files changed
+20
-4
No files matched your search
@@ -135,6 +135,7 @@ all: data ${TARGET}
|
||||
|
||||
${PROG}: ${PROG}.c
|
||||
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
||||
@echo "NOTE: this program prints out a string of garbage."
|
||||
|
||||
# alternative executable
|
||||
#
|
||||
|
||||
@@ -46,9 +46,7 @@ for(signal=0;*k *x * __FILE__ *i;) do {
|
||||
```
|
||||
|
||||
|
||||
To see what we mean look at the source file in the
|
||||
[archive/archive-1984.tar.bz2](/archive-1984.tar.bz2) tarball or
|
||||
[decot.alt.c](decot.alt.c).
|
||||
To see what we mean look at the [original source file](decot.orig.c).
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ struct tag{int x0,*xO;}
|
||||
|
||||
*main(i, dup, signal) {
|
||||
{
|
||||
for(signal=0;*k *x * __FILE__ *i;) do {
|
||||
for(signal=0;*k * x * __FILE__ *i;) do {
|
||||
(printf(&*"'\",x); /*\n\\", (*((double(tag,u)(*)())&floor))(i)));
|
||||
goto _0;
|
||||
|
||||
|
||||
@@ -427,6 +427,23 @@ Cody!
|
||||
|
||||
# 1984
|
||||
|
||||
## [1984/decot](1984/decot/decot.c) ([README.md](1984/decot/README.md)
|
||||
## STATUS: INABIAF - please **DO NOT** fix
|
||||
|
||||
The purpose of this program is to print out a string of rubbish. In particular
|
||||
you should see something like:
|
||||
|
||||
```sh
|
||||
$ ./decot
|
||||
'",x); /*
|
||||
\
|
||||
```
|
||||
|
||||
without a newline after the `\`. This is not a bug.
|
||||
|
||||
|
||||
|
||||
## STATUS: INABIAF - please **DO NOT** fix
|
||||
## [1984/laman](1984/laman/laman.c) ([README.md](1984/laman/README.md)
|
||||
## STATUS: INABIAF - please **DO NOT** fix
|
||||
|
||||
|
||||
Reference in new issue
Block a user