From 63e722ce5fc4ade0567b6456c30320f2edc4afae Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Fri, 31 May 2024 12:12:38 -0700 Subject: [PATCH] Restore bug status in 1984/laman The bugs.{md,html} files, 1984/laman/README.md (and index.html) file and thanks files were updated. The thanks file has some additional fixes that were already in place but are relevant to this commit. --- 1984/laman/README.md | 12 +++ 1984/laman/index.html | 4 + 1984/laman/laman.c | 4 +- bugs.html | 193 ++++++++++++++++++++++-------------------- bugs.md | 21 +++-- thanks-for-help.html | 65 +++++++++----- thanks-for-help.md | 77 ++++++++++++----- 7 files changed, 231 insertions(+), 145 deletions(-) diff --git a/1984/laman/README.md b/1984/laman/README.md index 67783ddf1..40d5e55d5 100644 --- a/1984/laman/README.md +++ b/1984/laman/README.md @@ -5,6 +5,18 @@ ``` +### Bugs and (Mis)features: + +The current status of this entry is: + +``` + STATUS: INABIAF - please **DO NOT** fix +``` + +For more detailed information see [1984/laman in bugs.html](../../bugs.html#1984_laman). + + + ## To use: ``` diff --git a/1984/laman/index.html b/1984/laman/index.html index 463351fc3..620199915 100644 --- a/1984/laman/index.html +++ b/1984/laman/index.html @@ -403,6 +403,10 @@ Location: ZZ - Unknown location

To build:

    make all
+

Bugs and (Mis)features:

+

The current status of this entry is:

+
    STATUS: INABIAF - please **DO NOT** fix
+

For more detailed information see 1984/laman in bugs.html.

To use:

    ./laman <positive number>

Try:

diff --git a/1984/laman/laman.c b/1984/laman/laman.c index eba619be4..758e4480c 100644 --- a/1984/laman/laman.c +++ b/1984/laman/laman.c @@ -1,5 +1,5 @@ a[900]; b;c;d=1 ;e=1;f; g;h;O; main(k, -l)char* *l;{if(k>1) {g=atoi(* ++l); for(k= +l)char* *l;{g= atoi(* ++l); for(k= 0;k*k< g;b=k ++>>1) ;for(h= 0;h*h<= g;++h); --h;c=( (h+=g>h *(h+1)) -1)>>1; while(d <=g){ ++O;for (f=0;f< O&&d<=g @@ -9,4 +9,4 @@ while(d <=g){ ++O;for (f=0;f< O&&d<=g b){if(b something was noted by the author, the judges, a consequence of earlier requirements for winning entries or the purpose was to do something that might appear to be buggy. An example of system specific entries:

-

1984/mullender (see below and the FAQ -for a version that works in modern systems) is very system specific and was -before system specific winning entries were discouraged. This is an all time -personal favourite of Landon Curt Noll. Run the alternate code to understand why -this might be (along with how strange the source code is :-) ).

+

1984/mullender (see below for a +version that works in modern systems) is very system specific and was before +system specific winning entries were discouraged. This is an all time personal +favourite of Landon Curt Noll. Run the alternate code to understand why this +might be (along with how strange the source code is :-) ).

An example where a crash is not a bug: 2019/endoh is supposed to crash. There are others that are also supposed to crash or that are known to segfault but are considered features.

@@ -702,10 +702,17 @@ you should see something like:

'",x); /* \

without a newline after the \. This is not a bug.

+
+

1984/laman

+
+

STATUS: INABIAF - please DO NOT fix

+

Source code: 1984/laman/dedot.c

+

Information: 1984/laman/index.html

+

This program will very likely crash or do something funny without an arg.

1984/mullender

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1984/mullender/mullender.c

Information: 1984/mullender/index.html

Although there is an alt version and supplementary program added by Cody that @@ -732,7 +739,7 @@ emulator to test it) but running the code on the binary itself produces a

1986/august

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1986/august/august.c

Information: 1986/august/index.html

This entry is known to segfault after printing its output. It was documented by @@ -751,7 +758,7 @@ the judges and shouldn’t be fixed.

1988/dale

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1988/dale/dale.c

Information: 1988/dale/index.html

In linux it might happen that despite no error message or message about doing @@ -776,7 +783,7 @@ errors.

1989/robison

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1989/robison/robison.c

Information: 1989/robison/index.html

This program will very likely crash or break into tiny bits :-) if you feed it @@ -876,7 +883,7 @@ Enjoy! :-)

1990/baruch

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1990/baruch/baruch.c

Information: 1990/baruch/index.html

A point worth considering is that as the number passed into the program gets @@ -976,7 +983,7 @@ defeat the purpose. This would ideally be fixed.

1990/tbr

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1990/tbr/tbr.c

Information: 1990/tbr/index.html

The authors provided a list of features in the @@ -984,7 +991,7 @@ defeat the purpose. This would ideally be fixed.

1990/theorem

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1990/theorem/theorem.c

Information: 1990/theorem/index.html

Cody Boone Ferguson fixed many bugs that @@ -1000,7 +1007,7 @@ where this occurred was fixed but this one should not be fixed. Thank you.

1991/buzzard

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1991/buzzard/buzzard.c

Information: 1991/buzzard/index.html

If the maze file cannot be opened, either because the path specified does not @@ -1010,7 +1017,7 @@ file does not exist in the directory, this program will very likely crash.

1991/westley

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1991/westley/westley.c

Information: 1991/westley/index.html

There is a very simple way to always win. The program doesn’t catch you and as @@ -1027,7 +1034,7 @@ when you’re cheating it ends up winning! Can you figure that out as well?

1992/adrian

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1992/adrian/adrian.c

Information: 1992/adrian/index.html

The author stated that if the file cannot be opened then it will print a system @@ -1188,7 +1195,7 @@ than that. For instance this is what it looks like with clang:

1992/vern

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1992/vern/vern.c

Information: 1992/vern/index.html

When your own checkmate is imminent it prints "Har har" but does not exit so @@ -1197,7 +1204,7 @@ it yourself through ctrl-c or killing it in some other fashion.

1992/westley

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1992/westley/westley.c

Information: 1992/westley/index.html

Cody improved the usability of this program by making it so that as long as the @@ -1223,7 +1230,7 @@ not a misunderstanding).

1993


-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1993/ant/ant.c

Information: 1993/ant/index.html

The author stated that:

@@ -1246,7 +1253,7 @@ system), this entry just shows a blank screen.

1993/lmfjyh

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1993/lmfjyh/lmfjyh.c

Information: 1993/lmfjyh/index.html

This entry relied on a bug in gcc that was fixed with gcc version 2.3.3. This @@ -1256,7 +1263,7 @@ the index.html file for details.

1993/rince

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1993/rince/rince.c

Information: 1993/rince/index.html

Although the code checks if the file can be opened or not, badly formatted files @@ -1266,7 +1273,7 @@ through ctrl-c or such.

1993/schnitzi

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1993/schnitzi/schnitzi.c

Information: 1993/schnitzi/index.html

If the file cannot be opened it will very likely segfault. This should not be @@ -1292,7 +1299,7 @@ question you might cause an error. For instance don’t do this:

Of course if you do something like:

    What is 'foo'?

it will work fine.

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1993/vanb/vanb.c

Information: 1993/vanb/index.html

No spaces are allowed in the expression.

@@ -1308,7 +1315,7 @@ not d-46.

1994/dodsond2

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1994/dodsond2/dodsond2.c

Information: 1994/dodsond2/index.html

When you initiate shooting via the s command you immediately lose an arrow @@ -1318,7 +1325,7 @@ pit room you will end up dying even though you didn’t explicitly move there.

1994/ldb

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1994/ldb/ldb.c

Information: 1994/ldb/index.html

Cody Boone Ferguson fixed this to compile @@ -1421,7 +1428,7 @@ compiled!

1994/shapiro

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1994/shapiro/shapiro.c

Information: 1994/shapiro/index.html

This program will likely crash if the source code file (by the name of the file @@ -1468,7 +1475,7 @@ doesn’t break something else.

1995/cdua

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1995/cdua/cdua.c

Information: 1995/cdua/index.html

This did not originally compile under macOS and after it did compile under @@ -1500,7 +1507,7 @@ it would be good if it was fixed.

1995/savastio

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1995/savastio/savastio.c

Information: 1995/savastio/index.html

This program expects a POSITIVE number. If you specify a negative number it will @@ -1565,7 +1572,7 @@ almost be done except that some of the output of the

1996/jonth

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1996/jonth/jonth.c

Information: 1996/jonth/index.html

If X is not running this program will very likely crash or do something funny. @@ -1608,7 +1615,7 @@ to the page as well! You’ll have IOCCC fame for reviving a pootifier! :-)

1998/schnitzi

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 1998/schnitzi/schnitzi.c

Information: 1998/schnitzi/index.html

A point worth considering is that as the number passed into the program gets @@ -1765,7 +1772,7 @@ on the stack at that point:

5

which might (?) suggest that the + operator is unimplemented. Unfortunately it has been many years since I have used perl and I was never a guru either.

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

The author states that in perl < 5.6.0 there is a bug with a core dump in what they said is in Perl_sv_upgrade. As this is documented it is not considered a bug to be fixed. For the curious this will crash in macOS. Cody notes that the @@ -1807,7 +1814,7 @@ of 92 warnings! Nonetheless neither works okay and both crash.

2000/primenum

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2000/primenum/primenum.c

Information: 2000/primenum/index.html

This program does not do what you might think it does! Running it like:

@@ -1825,7 +1832,7 @@ make a pull request.

2000/rince

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2000/rince/rince.c

Information: 2000/rince/index.html

If DISPLAY is not set the program will very likely crash, do something strange @@ -1839,7 +1846,7 @@ fire! :-) ).

2001/anonymous

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2001/anonymous/anonymous.c

Information: 2001/anonymous/index.html

Cody Boone Ferguson fixed this so that it @@ -1858,7 +1865,7 @@ elves of Imladris :-(

2001/bellard

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

STATUS: doesn’t work with some platforms - please help us fix

Source code: 2001/bellard/bellard.c

Information: 2001/bellard/index.html

@@ -1907,14 +1914,14 @@ before the fixes there.

2001/cheong

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2001/cheong/cheong.c

Information: 2001/cheong/index.html

This program will crash without an arg.

2001/dgbeards

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2001/dgbeards/dgbeards.c

Information: 2001/dgbeards/index.html

This program deliberately crashes if it loses (which is what it aims to do).

@@ -1935,7 +1942,7 @@ appreciate your help!

2001/kev

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2001/kev/kev.c

Information: 2001/kev/index.html

Sometimes when one player presses q it will result in broken pipe on the other @@ -1953,7 +1960,7 @@ set. In other words both have to be ASCII or EBCDIC - not one of each.

2001/ollinger

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2001/ollinger/ollinger.c

Information: 2001/ollinger/index.html

This program will very likely crash or do something unexpected if you do not @@ -1969,7 +1976,7 @@ wanted to install it as a tool but this is missing.

2001/schweikh

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2001/schweikh/schweikh.c

Information: 2001/schweikh/index.html

The glob pattern must match the whole string. See the author’s comments for @@ -2137,13 +2144,13 @@ compile under clang. The following patch was applied:

gavin_files: boot.b lilo.conf prim gavin_install.txt

The current (Makefile was modified to try and fit into the current IOCCC build environment.

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

See known features in the index.html for things that are not bugs but documented (mis)features.

2004/jdalbec

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2004/jdalbec/jdalbec.c

Information: 2004/jdalbec/index.html

The author stated that:

@@ -2168,7 +2175,7 @@ things that are not bugs but documented (mis)features.

2004/sds

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2004/sds/sds.c

Information: 2004/sds/index.html

The generated code will very likely segfault or do something not intended if not @@ -2181,7 +2188,7 @@ given the right args. See the index.html file for the correct syntax.

2005/anon

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2005/anon/anon.c

Information: 2005/anon/index.html

This program sometimes will create unsolvable puzzles :-) just to hook you. @@ -2195,7 +2202,7 @@ dimensions. Try 100 100 100 for instance and see what happens!

2005/giljade

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2005/giljade/giljade.c

Information: 2005/giljade/index.html

This entry will very likely segfault or do something strange if the source code @@ -2204,7 +2211,7 @@ does not exist.

2005/mikeash

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2005/mikeash/mikeash.c

Information: 2005/mikeash/index.html

The author states:

@@ -2238,7 +2245,7 @@ for running itself.

2005/mynx

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2005/mynx/mynx.c

Information: 2005/mynx/index.html

Cody Boone Ferguson notes that, though @@ -2252,7 +2259,7 @@ website itself.

2005/sykes

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2005/sykes/sykes.c

Information: 2005/sykes/index.html

The author stated the below points of interest.

@@ -2293,7 +2300,7 @@ with at least computer.tofu input file:

2006/borsanyi

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2006/borsanyi/borsanyi.c

Information: 2006/borsanyi/index.html

The string specified must be <= 42 characters and may only consist of the @@ -2302,7 +2309,7 @@ with possibly corrupt GIF files.

2006/hamre

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2006/hamre/hamre.c

Information: 2006/hamre/index.html

This program will likely crash or do something funny without an arg.

@@ -2321,12 +2328,12 @@ but you are welcome to try and fix it.

provide it as an additional alt version. Fixing this is very likely to be very challenging and in some systems it will not be possible to fix but you are welcome to try and fix it if you wish to!

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Incorrect formulas will ungracefully crash the program.

2006/stewart

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2006/stewart/stewart.c

Information: 2006/stewart/index.html

This program will likely crash or do something funny if the file cannot be @@ -2334,7 +2341,7 @@ opened. The number of args is however checked.

2006/sykes1

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2006/sykes1/sykes1.c

Information: 2006/sykes1/index.html

The author stated:

@@ -2351,7 +2358,7 @@ opened. The number of args is however checked.

2006/toledo2

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2006/toledo2/toledo2.c

Information: 2006/toledo2/index.html

Cody Boone Ferguson fixed this program to @@ -2398,7 +2405,7 @@ case-sensitive.

2011/borsanyi

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2011/borsanyi/borsanyi.c

Information: 2011/borsanyi/index.html

For a great amount of data points the program will crash, depending on your @@ -2421,7 +2428,7 @@ bins at the edges.

instead being something else entirely. The Internet Wayback Machine, although it archived it, did not load scripts. Do you know if the domain was moved? Do you have an archive or mirror? Please provide us it! Thank you.

-

STATUS: INABIAF - please DO NOT fix

+

STATUS: INABIAF - please DO NOT fix

The author states the following: