Merge pull request #1828 from xexyl/toledo22006

Fix location of fix details of 2006/toledo2
This commit is contained in:
Landon Curt Noll authored and GitHub committed 2024-01-06 17:52:09 -08:00
commit d4aa6e037f
2 files changed
+8 -6

No files matched your search

+1 -6
View File
@@ -2512,17 +2512,12 @@ by [Yusuke Endoh](/winners.html#Yusuke_Endoh) and Cody's. Nevertheless there are
two features that are not bugs.
By design this program is supposed to crash on termination. This actually no
longer does seems to happen but we don't need this to be added even if it might
longer seems to happen but we don't need this to be added even if it might
be called a bug :-)
You must type in caps (except in strings) and this program is indeed
case-sensitive.
[Oscar Toledo G.](/winners.html#Oscar_Toledo) went back over the program
and modified the fread/fwrite section to use the variable FILE *e instead of
int y, making it to work on x86_64 Mac. Also, he added a note to clarify from
where appears the `IMPORT.COM` and `HALT.COM` files.
# 2007
+7
View File
@@ -3273,6 +3273,13 @@ Cody also added the (untested) alt code that is based on the author's remarks to
port this to systems that have the non-standard `kbhit()` and `getch()` (not the
one from curses) which is typically (always?) in `conio.h`.
The author, [Oscar Toledo G.](/winners.html#Oscar_Toledo), later went back over
the program and modified the `fread(3)`/`fwrite(3)` section to use the variable
`FILE *e` (that Cody changed) instead of `int y`, making it to work on x86_64
(perhaps Cody's fix was for arm64 only?). Also, he added a note to clarify from
where appears the `IMPORT.COM` and `HALT.COM` files.
## <a name="2006_toledo3"></a>[2006/toledo3](/2006/toledo3/toledo3.c) ([README.md](/2006/toledo3/README.md]))