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:
1 parent
6d64e78dc5
commit
2ed80eb224
3 files changed
+3
-6
No files matched your search
@@ -141,6 +141,7 @@ all: data ${TARGET}
|
|||||||
supernova deep_magic magic charon pluto
|
supernova deep_magic magic charon pluto
|
||||||
|
|
||||||
${PROG}: ${PROG}.c
|
${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}
|
${CC} ${CFLAGS} -DB=${B} -DI=${I} -DT=${T} -DS=${S} $< -o $@ ${LIBS}
|
||||||
|
|
||||||
${PROG}_le: ${PROG}.c
|
${PROG}_le: ${PROG}.c
|
||||||
|
|||||||
@@ -16,11 +16,7 @@ make
|
|||||||
./prog arg ...
|
./prog arg ...
|
||||||
```
|
```
|
||||||
|
|
||||||
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) made this entry not
|
NOTE: this entry will crash on no arg specified.
|
||||||
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!
|
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
## Try:
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -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*)&_);}
|
||||||
Reference in new issue
Block a user