Undo buffer size increase in 1994/schnitzi
As part of redefining INABIAF the entry now has an equivalent functionality with the generated output. The bugs.md file still has hints on how to get this to use fgets() (for why this is helpful see that file). As a starting point I have the original buffer size increase in schnitzi.alt.c as it would be useful to see how it works and to maybe get the entry to use fgets(). Unfortunately keeping it using gets() is a potential problem but changing it to fgets() is also a potential problem (this goes for all of the entries that use or used gets()). This entry however still uses gets(). The change is the smaller buffer size which means that the entry can not handle big files. The Makefile and README.md now refer to the small buffer size.
This commit is contained in:
1 parent
ec111eb6b2
commit
ffb639d42d
4 files changed
+14
-17
No files matched your search
@@ -128,6 +128,7 @@ all: data ${TARGET}
|
||||
supernova deep_magic magic charon pluto
|
||||
|
||||
${PROG}: ${PROG}.c
|
||||
@echo "NOTE: the buffer size of this entry is very small at 100."
|
||||
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
||||
|
||||
# alternative executable
|
||||
|
||||
Reference in new issue
Block a user