Undo arg check in 1993/plummer

As part of redefining INABIAF the check for args was removed. Instead
it's warned about in the Makefile and README.md file.
This commit is contained in:
Cody Boone Ferguson committed 2023-04-07 10:41:06 -07:00
1 parent cdc2cffdd0
commit 28624ca43f
3 files changed
+4 -4

No files matched your search

+1
View File
@@ -128,6 +128,7 @@ all: data ${TARGET}
supernova deep_magic magic charon pluto
${PROG}: ${PROG}.c
@echo "NOTE: this program will crash with not enough args."
${CC} ${CFLAGS} $< -o $@ ${LIBS}
# alternative executable
+2 -3
View File
@@ -18,9 +18,8 @@ where:
number is a number (try 21701)
arg is any argument
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) added a check in the
code so that it will not segfault if not enough args are specified. Thank you
Cody!
NOTE: this entry will crash without enough args.
## Judges' comments:
+1 -1
View File
@@ -1 +1 @@
char*_,*O;main(S,l)char**l;{if(S>2){*(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;{*(O=*(l+++S-1)-1)=13,*l[1]=0;for(;;)for(printf(*l),_=O-1;_>=*l&&++*_>(S+*O+S)*S;*_--=(S+*O)*S);}