move fix thanks a file, update top level html links, rename CONTRIBUTING.md
The fix thank you's have been moved from `README.md` to `thanks-for-fixes.md`. **WARNING**: Some mistakes may have been made in doing this. We presume later changes by others will correct any issues. The `CONTRIBUTING.md` was renamed `how-to-enter.md`. A 3rd line of links was added to top level html such as `contact.html`, `index.html`, `judges.html`, `winners.html`, and `years.html`. Improved blank line use in a number (but not all) `README.md` files.
This commit is contained in:
1 parent
23f7ac0a49
commit
ac41f07a83
92 files changed
+1326
-761
No files matched your search
+4
-14
@@ -4,26 +4,13 @@ Laurion Burchall
|
||||
US
|
||||
<https://web.archive.org/web/20070711215750/http://www.netspace.org/users/ldb/>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make all
|
||||
```
|
||||
|
||||
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) fixed this so it would
|
||||
compile and work with modern compilers. The problem was that `srand()` returns
|
||||
void but it was used in a `||` expression. Thus the comma operator was needed.
|
||||
Cody also changed the entry to use `fgets()` instead of `gets()` to make it safe
|
||||
for lines greater than 231 in length and to prevent a warning at linking or at
|
||||
runtime, the latter of which can be interspersed with output of the program.
|
||||
Note that this now prints a newline after the output but this seems like a
|
||||
worthy compromise for making it safer (fixing it is more problematic than it is
|
||||
worth). In macOS another line of output would be shown anyway namely the warning
|
||||
that it uses gets(). A subtlety about this fix: if a line is greater than 231 in
|
||||
length if the program chooses that line it might print the first 231 characters
|
||||
or it might print (up to) the next 231 characters and so on. Thank you Cody for
|
||||
your assistance!
|
||||
|
||||
|
||||
## To run:
|
||||
|
||||
@@ -44,6 +31,7 @@ printf "The International Obfuscated C Code Contest\n
|
||||
by Laurion Burchall" | ./ldb
|
||||
```
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
Trigraphs are natural obfuscators. Most C-beautifiers become C-uglifiers
|
||||
@@ -52,11 +40,13 @@ because they don't handle them correctly.
|
||||
Can you figure out how it prints a given random line (or if the line is longer
|
||||
than 231 characters, part of that line) from stdin?
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
All input lines must be under 232 characters long. The compiling
|
||||
platform should be ASCII based.
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
Reference in new issue
Block a user