Fix crash in 2006/toledo2 + partial format README
The problem is that 'int's were being used instead of 'FILE *'s. It did not seem to crash in linux (at least fedora) but it did in macOS which prevented it from working. Now it works in both. I got the feeling that it did crash in some linux distros as well as apparently Yusuke Endoh fixed it as well though he did it by changing the ints to longs. I'm not sure if that would work for macOS; I fixed it prior to seeing this fix. Some -includes were added to the Makefile too that might or might not be relevant to the fix in macOS. It very well could be relevant though. I did a partial format fix in README.md but I will have to finish this tomorrow as I have to leave for the rest of the day.
This commit is contained in:
1 parent
d2c3ded4f9
commit
385570c5b7
4 files changed
+43
-16
No files matched your search
@@ -1783,6 +1783,10 @@ Incorrect formulas will ungracefully crash the program.
|
||||
This program will very likely crash or do something funny if the file does not
|
||||
exist or cannot be opened.
|
||||
|
||||
## [2006/toledo2](2006/toledo2/toledo2.c) ([README.md](2006/toledo2/README.md))
|
||||
## STATUS: INABIAF - please **DO NOT** fix
|
||||
|
||||
By design this program is supposed to crash on termination.
|
||||
|
||||
# 2007
|
||||
# 2008
|
||||
|
||||
Reference in new issue
Block a user