Undo no arg check in 2020/burton

As part of INABIAF redefinition the check for arg number is removed.
Instead the README.md and Makefile warn about it.
This commit is contained in:
Cody Boone Ferguson committed 2023-04-07 10:33:41 -07:00
1 parent 6d64e78dc5
commit 2ed80eb224
3 files changed
+3 -6

No files matched your search

+1
View File
@@ -141,6 +141,7 @@ all: data ${TARGET}
supernova deep_magic magic charon pluto
${PROG}: ${PROG}.c
@echo "NOTE: this entry will crash on no arg specified."
${CC} ${CFLAGS} -DB=${B} -DI=${I} -DT=${T} -DS=${S} $< -o $@ ${LIBS}
${PROG}_le: ${PROG}.c
+1 -5
View File
@@ -16,11 +16,7 @@ make
./prog arg ...
```
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) made this entry not
segfault when no arg is specified though he notes that the author says it will
segfault on zero args. He did NOT fix the strange results when more than one arg
is specified. Thank you Cody for your assistance!
NOTE: this entry will crash on no arg specified.
## Try:
+1 -1
View File
@@ -1 +1 @@
int main(int b,char**i){if(1[i]){long long n=B,a=I^n,r=(a/b&a)>>4,y=atoi(*++i),_=(((a^n/b)*(y>>T)|y>>S)&r)|(a^r);printf("%.8s\n",(char*)&_);}}
int main(int b,char**i){long long n=B,a=I^n,r=(a/b&a)>>4,y=atoi(*++i),_=(((a^n/b)*(y>>T)|y>>S)&r)|(a^r);printf("%.8s\n",(char*)&_);}