Fix a fix in 1998/schnitzi
In particular arg check was invalid. This was one of the programs that was thought it should be checked as it's such a beautiful program.
This commit is contained in:
1 parent
584ac754d9
commit
5210b6a30b
2 files changed
+2
-2
No files matched your search
@@ -53,7 +53,7 @@ void d (){ O=g; *r=y[k]; _=r; k=k+1; m=k<z; w=_t; l=p_; j=p; }
|
||||
void y_(){ O=g; *r=x[17][1]+k; _=r; j=q_; }
|
||||
void r_(){ O=_b; _=x[17]; s=(char**)_d; s=s+1; i=*s; q=0; }
|
||||
main(int v,char **V){
|
||||
((V[1]&&((atoi(V[1])>0&&atoi(V[1])<27)||(exit(1),1))));
|
||||
((V[1]&&((atoi(V[1])>0&&atoi(V[1])<27))||(exit(1),1)));
|
||||
q=0; O=r_; _d=V;
|
||||
x: (O)(); goto x; }
|
||||
|
||||
+1
-1
@@ -2067,7 +2067,7 @@ doesn't crash. At this point since the author stated it has no `while`,
|
||||
doing:
|
||||
|
||||
```c
|
||||
((V[1]&&((atoi(V[1])>0&&atoi(V[1])<27)||(exit(1),1))));
|
||||
((V[1]&&((atoi(V[1])>0&&atoi(V[1])<27))||(exit(1),1)));
|
||||
```
|
||||
|
||||
Cody also added the [try.sh](1998/schnitzi/try.sh) script to help users try the
|
||||
|
||||
Reference in new issue
Block a user