From 75b8931fdc3d7f740243ae268a4c270b09e05e1d Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Thu, 16 Mar 2023 10:19:24 -0700 Subject: [PATCH] Minor clarification to 1986/holloway/README.md --- 1986/holloway/README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/1986/holloway/README.md b/1986/holloway/README.md index 73d1b1eea..77c1f3e15 100644 --- a/1986/holloway/README.md +++ b/1986/holloway/README.md @@ -10,12 +10,13 @@ USA make all -NOTE: Cody Boone Ferguson fixed this to compile with clang (it worked with gcc). -The problem was that clang is more strict about the type of second arg to -main(). However simply changing it to a `char **` and updating the `*s` to `**s` -caused a segfault. By adding a new variable, `char *t`, initialising it to `s` -and then using `t` instead of `s` it compiles and runs successfully under clang -and gcc. Thank you Cody for your assistance! +NOTE: [Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) fixed this to +compile and work with clang (it already worked with gcc). The problem was that +clang is more strict about the type of second arg to main(). However simply +changing it to a `char **` and updating the `*s` to `**s` caused a segfault. By +adding a new variable, `char *t`, initialising it to `s` and then using `t` +instead of `s` it compiles and runs successfully under clang and gcc. Thank you +Cody for your assistance! ## Try: