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).
This commit is contained in:
1 parent
87fc9722a2
commit
1248d962f4
2 files changed
+11
-7
No files matched your search
+3
-2
@@ -1,6 +1,6 @@
|
||||
# Best abuse of system calls
|
||||
|
||||
Paul Dale
|
||||
Paul Dale<br>
|
||||
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
|
||||
|
||||
+8
-5
@@ -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 `_`
|
||||
|
||||
Reference in new issue
Block a user