From 1248d962f4919c939b1f141bb904e9a514cb80d8 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Wed, 18 Oct 2023 08:23:52 -0700 Subject: [PATCH] Format/typo check 1988/dale This includes the thanks-for-fixes.md file where C code was actually in the form of a diff (which happened when I was looking for the differences to put in the file in the first place, forgetting to remove the [-+] at the time). --- 1988/dale/README.md | 5 +++-- thanks-for-fixes.md | 13 ++++++++----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/1988/dale/README.md b/1988/dale/README.md index 5ba311efe..35e49fa2b 100644 --- a/1988/dale/README.md +++ b/1988/dale/README.md @@ -1,6 +1,6 @@ # Best abuse of system calls -Paul Dale +Paul Dale
Australia ## To build: @@ -40,7 +40,8 @@ If you have an old enough compiler you can try the original version in make clobber alt ``` -Use `dale.alt` as you would `dale` above. +Use `dale.alt` as you would `dale` above. To understand the differences in more +detail, see [thanks-for-fixes.md](/thanks-for-fixes.md). ## Judges' remarks diff --git a/thanks-for-fixes.md b/thanks-for-fixes.md index 3b3d3110f..8a8004d01 100644 --- a/thanks-for-fixes.md +++ b/thanks-for-fixes.md @@ -379,16 +379,19 @@ modern compilers do not allow directives like: ```c #define _ define -+#_ P char -+#_ p int -+#_ O close( -... +#_ P char +#_ p int +#_ O close( +/* ... */ ``` so Cody changed the lines to be in the form of: ```c -#define foo bar +#define P char +#define p int +#define O close( +/* ... */ ``` However, to keep the entry as close to as possible in look, Cody kept the `_`