Improve my fix to 1988/phillipps

The return in main() to pain() can be negated just like main() did to
itself (and now pain() does). Now the program exits with 0.
This commit is contained in:
Cody Boone Ferguson committed 2023-10-18 12:17:38 -07:00
1 parent 594e3898a2
commit 16bcb2aaa7
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -58,6 +58,6 @@ _,
**
a;
{
return
return!
pain(t,(int)_,
(char *)a);}
+3 -3
View File
@@ -25,8 +25,8 @@ fixing where possible dead links or removing them, typo/consistency fixes,
improving **ALL _Makefiles_** and writing [sgit](https://github.com/xexyl/sgit)
that we installed locally to easily run `sed` on files in the repo to help build
the website. **Thank you very much** for your extensive efforts in helping
improve the IOCCC presentation of past IOCCC winners and fixing almost all for
modern systems!
improve the IOCCC presentation of past IOCCC winners and fixing almost all past
entries for modern systems!
[Yusuke Endoh](https://www.ioccc.org/winners.html#Yusuke_Endoh) supplied a
number of important bug fixes to a number of past IOCCC winners. Some of those
@@ -369,7 +369,7 @@ for/*/(;;);/*/k()){O/*/*/c);
```
cannot form `fork())` in modern C compilers. Since it was not done through a
macro it was simply changed to be 'fork()', rather than adding a new macro.
macro it was simply changed to be `fork()`, rather than adding a new macro.
(What is quite fun is that at least some C pre-processors can form these
constructs! Can you figure out why this is?)