diff --git a/1993/plummer/README.md b/1993/plummer/README.md index c0a9f3ff0..2ea47e606 100644 --- a/1993/plummer/README.md +++ b/1993/plummer/README.md @@ -13,17 +13,6 @@ make all ``` -### Bugs and (Mis)features - -The current status of this entry is: - -``` -STATUS: known bug - please help us fix -``` - -For more detailed information see [1993 plummer in bugs.md](/bugs.md#1993-plummer). - - ## To use: ```sh @@ -69,11 +58,6 @@ make clobber CDEFINE="-DZ=50" alt ./plummer.alt xyzzyzzyx 5555 ``` -### INABIAF - it's not a bug it's a feature :-) - -This entry will very likely crash or do something else if you run it without -enough args. - ## Judges' remarks: diff --git a/1993/plummer/plummer.alt.c b/1993/plummer/plummer.alt.c index 6bb7da8ac..e978e9efc 100644 --- a/1993/plummer/plummer.alt.c +++ b/1993/plummer/plummer.alt.c @@ -1 +1 @@ -char*_,*O;main(S,l)char**l;{*(O=*(l+++S-1)-1)=13,*l[1]=0;for(;;)for(printf(*l),_=O-1,usleep(Z);_>=*l&&++*_>(S+*O+S)*S;*_--=(S+*O)*S);} +char*_,*O;main(S,l)char**l;{if(S<3)exit(1);*(O=*(l+++S-1)-1)=13,*l[1]=0;for(;;)for(printf(*l),_=O-1,usleep(Z);_>=*l&&++*_>(S+*O+S)*S;*_--=(S+*O)*S);} diff --git a/1993/plummer/plummer.c b/1993/plummer/plummer.c index d0c61daa2..392b62bbb 100644 --- a/1993/plummer/plummer.c +++ b/1993/plummer/plummer.c @@ -1 +1 @@ -char*_,*O;main(S,l)char**l;{*(O=*(l+++S-1)-1)=13,*l[1]=0;for(;;)for(printf(*l),_=O-1;_>=*l&&++*_>(S+*O+S)*S;*_--=(S+*O)*S);} +char*_,*O;main(S,l)char**l;{if(S<3)exit(1);*(O=*(l+++S-1)-1)=13,*l[1]=0;for(;;)for(printf(*l),_=O-1;_>=*l&&++*_>(S+*O+S)*S;*_--=(S+*O)*S);} diff --git a/bugs.md b/bugs.md index 7df5d6f1e..4d3aae201 100644 --- a/bugs.md +++ b/bugs.md @@ -805,18 +805,6 @@ encourage you to test it. This should not be fixed. # 1993 -## 1993 plummber - -### STATUS: known bug - please help us fix -### Source code: [1993/plummer/plummer.c](1993/plummer/plummer.c) -### Information: [1993/plummer/README.md](1993/plummer/README.md) - -If not enough args are specified this program will likely crash or do something -else. - -If you want to try and fix this (mis)feature, you are welcome to try. - - ## 1993 lmfjyh ### STATUS: INABIAF - please **DO NOT** fix diff --git a/thanks-for-fixes.md b/thanks-for-fixes.md index 278636b9f..258969431 100644 --- a/thanks-for-fixes.md +++ b/thanks-for-fixes.md @@ -1251,9 +1251,11 @@ this was made the alternate version, not the actual entry. ## [1993/plummer](1993/plummer/plummer.c) ([README.md](1993/plummer/README.md])) -Cody added an [alternate version](1993/plummer/plummer.alt.c) which uses -`usleep()` so you can see what is happening with faster systems. See the -README.md files for details. +Cody added check for two args. + +Cody also added an [alternate version](1993/plummer/plummer.alt.c) which uses +`usleep()` so you can see what is happening with faster systems. This version +also checks for two args. See the README.md files for details. ## [1993/rince](1993/rince/rince.c) ([README.md](1993/rince/README.md]))