From 3b0b12df22d976e41c01fc2f93575307094c559e Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Tue, 17 Oct 2023 08:28:22 -0700 Subject: [PATCH] Minor typo / rewording fixes in thanks file --- thanks-for-fixes.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/thanks-for-fixes.md b/thanks-for-fixes.md index 11a5a412c..74479ca4a 100644 --- a/thanks-for-fixes.md +++ b/thanks-for-fixes.md @@ -161,8 +161,8 @@ The crash was because it destructively rewrites string literals. However with `strdup()` it's safe. The problem with macOS is that although it didn't crash, it printed `H????` in a -seemingly infinite loop, each time printing another `?`, probably until it runs -out of memory. +seemingly infinite loop, each time printing another `?`, and it probably would +have until it runs out of memory. The fix for macOS is that there was no prototype for `execlp()` and macOS has problems with missing prototypes for some functions (this was also seen when @@ -902,7 +902,7 @@ calls which has the four args. Cody fixed a segfault in this program that prevented it from working right but he notes it hangs in macOS. This is because some compilers compile it into an infinite loop and this was documented by the judges. It works fine in linux if -using gcc but macOS, having only clang by default (even the gcc binary +using gcc but macOS, having only clang by default, (even the gcc binary `/usr/bin/gcc`) will not work. @@ -926,7 +926,8 @@ Cody provided an [alternate version](1996/eldby/eldby.alt.c) which uses `usleep()` in between writing the output to make it easier to see what is going on with faster systems and importantly also for those who are sensitive to text flashing by rapidly (it affects him too but he also thinks it moves too fast -nowadays anyway). +nowadays anyway). We recommend that you try the alternate version first due to +these reasons. ## [1996/gandalf](1996/gandalf/gandalf.c) ([README.md](1996/gandalf/README.md]))