Begin centralising thank yous to a single file
NOTE: this is just one way to fix the problem described below but it can be modified - perhaps greatly changed - or rejected and done differently. That being said it does isolate the entries that can be modified except for the one by Simon Cooper as I had intended to do all entries before a commit but I am too tired to continue and there are more important things to be done for the IOCCC (hopefully later today). I don't mind but I wanted to save Landon some of the work as I started the problem even though all with good intention after Landon noted he wanted to thank those in the README.md files. First I would like to also apologise to any previous winners if there was upset or concern; this was all done with the best intentions and I know that it was a fine line but the judges' goal is to make it so previous entries do work in modern systems so that everyone can enjoy them. Still I am sorry if I caused any offence or anything else! I actually agree with the situation and I had been wondering about how to go about it too. Now for the rationale behind this update. A couple previous winners have voiced concern about the way the thank you notes are displayed in the README.md files I have started the work to save Landon some of the trouble as although it was with good intentions (and based on the note that Landon wanted to thank those who fixed an entry) I started the problem so it seems only right that I help rectify it. I also agree with the problem and had thought of it before, even thinking that in some entries it needs not have any reference to anyone but the winner! This commit has removed the thank you notes from several entries and added a THANKS.md file. The THANKS.md file has the rest of the entries that were fixed as well which should if nothing else help isolate the entries that need to be modified. Some entries actually referred to me but were not a thank you note due to a fix; some were from winners themselves for instance. Note that I did not update the bugs.md file or any other file that might refer to these things in the README.md files. The bugs.md for instance refers to adding credits to those who fix problems or provide missing links or files to the respective README.md files and this will have to change once the way this is done is finalised. But hopefully this is a help to Landon so that he may also focus on the important jprint tool in the mkiocccentry repo.
This commit is contained in:
1 parent
b14a363570
commit
a981cacbee
22 files changed
+499
-214
No files matched your search
@@ -9,51 +9,6 @@ Australia
|
||||
make all
|
||||
```
|
||||
|
||||
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) fixed this for modern
|
||||
compilers. There were two problems to address. One was that the entry required
|
||||
`-traditional-cpp` (which <strike>not all compilers support</strike> `clang`
|
||||
does not support) which Cody fixed. It needed that option because of two things
|
||||
it did:
|
||||
|
||||
```c
|
||||
#define a(x)get/***/x/***/id())
|
||||
|
||||
/* ... */
|
||||
|
||||
p Z=chroot("/");L(!a(u)execv((q(v="/ipu6ljov"),v),C);Z-=kill(l);
|
||||
|
||||
/* ... */
|
||||
|
||||
case_2:L(!--V){O/*/*/c*c+c);wait(A+c*c-c);L(!Z)f(A,"\n",c);return(A*getgid());};C++;
|
||||
```
|
||||
|
||||
no longer works to create `getuid()` and `getgid()`. The second is that
|
||||
|
||||
```c
|
||||
for/*/(;;);/*/k()){O/*/*/c);
|
||||
```
|
||||
|
||||
cannot form `fork())` in modern C compilers. What is quite fun is that the cpp
|
||||
can!
|
||||
|
||||
The other problem was that modern compilers do not allow directives like:
|
||||
|
||||
```c
|
||||
#define _ define
|
||||
+#_ P char
|
||||
+#_ p int
|
||||
+#_ O close(
|
||||
...
|
||||
```
|
||||
|
||||
so Cody changed the lines to be in the form of:
|
||||
|
||||
```c
|
||||
#define foo bar
|
||||
```
|
||||
|
||||
Thank you Cody for your assistance!
|
||||
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
|
||||
@@ -19,11 +19,6 @@ make all
|
||||
./isaak
|
||||
```
|
||||
|
||||
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) fixed this to work for
|
||||
modern systems. The problem was that the important function, a redefinition of
|
||||
exit(), was not being called in main(). See below notes for the original,
|
||||
alternative version. Thank you Cody for your assistance!
|
||||
|
||||
### Alternate code:
|
||||
|
||||
The original version of this code is in [isaak.alt.c](isaak.alt.c).
|
||||
|
||||
@@ -15,15 +15,6 @@ make all
|
||||
```
|
||||
|
||||
|
||||
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) fixed this for modern
|
||||
systems. It did not compile with clang because it requires the second and third
|
||||
args to main() to be `char **` but even before that with gcc it printed random
|
||||
characters. After fixing it for clang by changing main() to call the new
|
||||
function pain() (chosen because it's a pain that clang requires these args to
|
||||
be `char **` :-) ) with the correct args it now works. Thank you Cody for your
|
||||
assistance!
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
Compile and run without parameters.
|
||||
|
||||
Reference in new issue
Block a user