diff --git a/1984/decot/Makefile b/1984/decot/Makefile index 3ff473135..34d192d6d 100644 --- a/1984/decot/Makefile +++ b/1984/decot/Makefile @@ -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 # diff --git a/1984/decot/README.md b/1984/decot/README.md index 383f55de2..f132f42ac 100644 --- a/1984/decot/README.md +++ b/1984/decot/README.md @@ -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: diff --git a/1984/decot/decot.orig.c b/1984/decot/decot.orig.c index 031519b57..f843ece9e 100644 --- a/1984/decot/decot.orig.c +++ b/1984/decot/decot.orig.c @@ -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; diff --git a/bugs.md b/bugs.md index 1f3c53d8d..3a3680b31 100644 --- a/bugs.md +++ b/bugs.md @@ -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