Additional fix 2001/cheong - check args
This commit is contained in:
1 parent
70cc096f6e
commit
51d1e9e4c4
4 files changed
+2
-28
No files matched your search
@@ -11,28 +11,12 @@ US\
|
|||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Bugs and (Mis)features
|
|
||||||
|
|
||||||
The current status of this entry is:
|
|
||||||
|
|
||||||
```
|
|
||||||
STATUS: known bug - please help us fix
|
|
||||||
```
|
|
||||||
|
|
||||||
For more detailed information see [2001 cheong in bugs.md](/bugs.md#2001-cheong).
|
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./cheong digits
|
./cheong digits
|
||||||
```
|
```
|
||||||
|
|
||||||
### INABIAF - it's not a bug it's a feature! :-)
|
|
||||||
|
|
||||||
This program will very likely crash or do something different without an arg.
|
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
## Try:
|
||||||
|
|
||||||
|
|||||||
@@ -11,4 +11,4 @@ c=o+ (D[I]+82)%10-(I>l/2)*
|
|||||||
:!(o=pain(c/10,O,I-1))*((c+999
|
:!(o=pain(c/10,O,I-1))*((c+999
|
||||||
)%10-(D[I]+92)%10);}return o;}
|
)%10-(D[I]+92)%10);}return o;}
|
||||||
int main(int o,char **O) {
|
int main(int o,char **O) {
|
||||||
return pain(o, O, l); }
|
return o>1?pain(o, O, l):1; }
|
||||||
@@ -1262,17 +1262,6 @@ and it can be run by itself for fun in modern systems, which was not possible
|
|||||||
before the fixes there.
|
before the fixes there.
|
||||||
|
|
||||||
|
|
||||||
## 2001 cheong
|
|
||||||
|
|
||||||
### STATUS: known bug - please help us fix
|
|
||||||
### Source code: [2001/cheong/cheong.c](2001/cheong/cheong.c)
|
|
||||||
### Information: [2001/cheong/README.md](2001/cheong/README.md)
|
|
||||||
|
|
||||||
This program will very likely crash or do something different without an arg.
|
|
||||||
|
|
||||||
If you want to try and fix this (mis)feature, you are welcome to try.
|
|
||||||
|
|
||||||
|
|
||||||
## 2001 dgbeards
|
## 2001 dgbeards
|
||||||
|
|
||||||
### STATUS: INABIAF - please **DO NOT** fix
|
### STATUS: INABIAF - please **DO NOT** fix
|
||||||
|
|||||||
@@ -1751,6 +1751,7 @@ letter word that would match the format and because it's pain that clang forces
|
|||||||
this. :-) This fix makes a point of the author's notes on portability no longer
|
this. :-) This fix makes a point of the author's notes on portability no longer
|
||||||
valid, btw.
|
valid, btw.
|
||||||
|
|
||||||
|
He also fixed it to check the number of args.
|
||||||
|
|
||||||
## [2001/coupard](2001/coupard/coupard.c) ([README.md](2001/coupard/README.md]))
|
## [2001/coupard](2001/coupard/coupard.c) ([README.md](2001/coupard/README.md]))
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user