From 5234ca1221bc4f37f398f42f61e0b572e27db5d6 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Wed, 1 Nov 2023 13:08:35 -0700 Subject: [PATCH] Minor update to thanks file I've declared myself the IOCCC's resident corrections officer and according to Landon I'm a fine one at that. I also elaborated on the reason for fgets() change but also added a note that in some cases it's not possible or ideal and in some cases it's not easy especially due to the annoying fact that for 'compatibility' reasons fgets() retains the newline and gets() does not. --- thanks-for-fixes.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/thanks-for-fixes.md b/thanks-for-fixes.md index ce4fd7f07..4601244e3 100644 --- a/thanks-for-fixes.md +++ b/thanks-for-fixes.md @@ -88,8 +88,9 @@ tool](https://github.com/xexyl/sgit). ## Typo fixes and consistency improvements -Cody made many, many typ0 (... :-) ) fixes throughout the README.md files, -scripts, other data files, Makefiles (see above) etc. +Cody, being the IOCCC's resident corrections officer :-) (and a fine one at +that, according to us :-) ), made many, many typ0 (... :-) ) fixes throughout +the README.md files, scripts, other data files, Makefiles (see above) etc. He also updated the formatting of the README.md files (after renaming the old files to README.md) to proper markdown. @@ -115,6 +116,15 @@ would see: $ warning: this program uses gets(), which is unsafe. ``` +whereas without the warning it's much easier to see that it's a prompt. + +In some entries this change is not possible, in one-liners it might make them +too long and in some entries it's more complicated than others because of the +annoying fact that for '"compatibility" reasons' `fgets()` retains the newline +and `gets()` does not. Nevertheless some of the entries have been updated this +way for the reasons described above and in the [FAQ](/faq.md). + + ## [1984/anonymous](1984/anonymous/anonymous.c) ([README.md](1984/anonymous/README.md)) Cody fixed this to work for macOS.