From 145a501375183e51993eb3a3541c359a33d44f71 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Fri, 22 Sep 2023 04:54:32 -0700 Subject: [PATCH 1/3] Minor updates to thanks-for-fixes.md This includes the sgit tool that will be published on the website (I am proud even if it was originally only written for me based on a persistent problem I had over the years) and it also includes rewording things to hopefully make them clearer and grammatical fixes (or a fix?) as well. --- thanks-for-fixes.md | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/thanks-for-fixes.md b/thanks-for-fixes.md index fa3d3c4c4..f99547519 100644 --- a/thanks-for-fixes.md +++ b/thanks-for-fixes.md @@ -10,14 +10,16 @@ several thousand changes and important improvements. We call out the extensive contributions of [Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) who is responsible for many of the -improvements including many, many **very complicated bug fixes** like +improvements including many, many **very complicated bug fixes** such as [2001/anonymous](2001/anonymous/anonymous.c) and [2004/burley](2004/burley/burley.c), making entries not require -`-traditional-cpp`, fixing entries to compile with clang, providing alternate -code where useful or necessary, fixing where possible dead links and otherwise -removing them, typo and consistency fixes. Thank you **very much** for your -extensive efforts in helping improve the IOCCC presentation of past IOCCC -winners and making many many past entries work with modern systems! +`-traditional-cpp` (which are very complicated fixes), fixing entries to compile +with clang, providing alternate code where useful or necessary, fixing where +possible dead links and otherwise removing them, typo and consistency fixes and +writing the [sgit tool](https://github.com/xexyl/sgit) that we've published on the +website. Thank you **very much** for your extensive efforts in helping improve +the IOCCC presentation of past IOCCC winners and making many many past entries +work with modern systems! [Yusuke Endoh](/winners.html#Yusuke_Endoh) supplied a number of important bug fixes to a number of past IOCCC winners. Some of @@ -709,7 +711,8 @@ However `EOF` is not required to be `-1` but merely an int < 0 and this program assumed that `getc()` will return `-1` on EOF or error, not `EOF`. On systems where `EOF != -1` it could result in an infinite loop. -For an interesting problem that occurred here check the [bugs.md](bugs.md) file. +For an interesting problem that occurred here and what was done to solve it, +check the [bugs.md](bugs.md) file. ## [1994/westley](1994/westley/westley.c) ([README.md](1994/westley/README.md])) @@ -731,8 +734,8 @@ there is such a thing anyway :-) ). ## [1995/garry](1995/garry/garry.c) ([README.md](1995/garry/README.md])) Cody fixed this so that it will compile with modern compilers. The problem was a -missing `int` for the `f` variable. He felt it was important that it works -because the layout does indeed look to him like a rat is dropping core, +missing `int` for the `f` variable. He felt it was even more important that it +works because the layout does indeed look to him like a rat is dropping core :-), something that the judges suggested. ## [1995/makarios](1995/makarios/makarios.c) ([README.md](1995/makarios/README.md)) @@ -1333,7 +1336,7 @@ not do it implicitly (like macOS does). ## [2005/mikeash](2005/mikeash/mikeash.c) ([README.md](2005/mikeash/README.md)) Cody fixed this to work in linux. The problem was an unknown escape sequence, -`\N` which caused a funny compiler error: +`\N`, which caused a funny compiler error: ```c };n b[2048];int i From d510634263b956ce00686e983344a88e105d0a0c Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Fri, 22 Sep 2023 05:12:47 -0700 Subject: [PATCH 2/3] Minor format update in thanks-for-fixes.md --- thanks-for-fixes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thanks-for-fixes.md b/thanks-for-fixes.md index f99547519..843e7b505 100644 --- a/thanks-for-fixes.md +++ b/thanks-for-fixes.md @@ -13,7 +13,7 @@ Ferguson](/winners.html#Cody_Boone_Ferguson) who is responsible for many of the improvements including many, many **very complicated bug fixes** such as [2001/anonymous](2001/anonymous/anonymous.c) and [2004/burley](2004/burley/burley.c), making entries not require -`-traditional-cpp` (which are very complicated fixes), fixing entries to compile +`-traditional-cpp` (which are **very complicated fixes**), fixing entries to compile with clang, providing alternate code where useful or necessary, fixing where possible dead links and otherwise removing them, typo and consistency fixes and writing the [sgit tool](https://github.com/xexyl/sgit) that we've published on the From cd2211fac9500ad4d1cadcae8ef3f92024e4bad5 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Fri, 22 Sep 2023 12:53:30 -0700 Subject: [PATCH 3/3] Fix 2013/hou/Makefile After 2013/hou/doc/example.markdown was renamed to 2013/hou/doc/example.md to match the rest of the repo running 'make' would fail because of the file referenced in the Makefile no longer exists. --- 2013/hou/Makefile | 2 +- thanks-for-fixes.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/2013/hou/Makefile b/2013/hou/Makefile index 28f2dc742..e259b69ee 100644 --- a/2013/hou/Makefile +++ b/2013/hou/Makefile @@ -110,7 +110,7 @@ PROG= ${ENTRY} # OBJ= ${PROG}.o DATA= luna.jpg old_default.jpg otherroom.jpg otherroom.scene \ - doc/camera.png doc/cosine.png doc/draft.png doc/example.markdown + doc/camera.png doc/cosine.png doc/draft.png doc/example.md TARGET= ${PROG} # ALT_OBJ= diff --git a/thanks-for-fixes.md b/thanks-for-fixes.md index 843e7b505..81f9a2d56 100644 --- a/thanks-for-fixes.md +++ b/thanks-for-fixes.md @@ -1507,6 +1507,12 @@ removed from SDL2 so the Makefile has to use `sdl-config` and not `sdl2-config`. This means that to be strictly technical, the removal of `localtime()` is not necessary but this change was left in place anyway. +## [2013/hou](2013/hou/hou.c) ([README.md](2013/hou/README.md)) + +After the file 2013/hou/doc/example.markdown was moved to +[2013/hou/doc/example.md](2013/hou/doc/example.md) to match the rest of the repo +this broke `make` which Cody fixed. + ## [2013/morgan1](2013/morgan1/morgan1.c) ([README.md](2013/morgan1/README.md)) Cody added explicit linking of libm (`-lm`) as not all systems do this