Fixes in html files of 1990

This commit is contained in:
Cody Boone Ferguson committed 2024-06-22 06:43:37 -07:00
1 parent c86d5ecd56
commit ec7c48cd59
14 files changed
+60 -36

No files matched your search

+5 -4
View File
@@ -77,7 +77,7 @@ documented, are not considered bugs as such in the context of the contest.
## Alternate code:
The authors supplied us with a slightly smaller unformatted version
of the program which we include below:
of the program:
``` <!---c-->
#define D ,close(
@@ -92,9 +92,10 @@ of the program which we include below:
e(x){x<0?write(2,"?\n$ "-x/4,2),x+1||(exit(1),0):5;}
```
and in the [alternate source](%%REPO_URL%%/1990/tbr/tbr.alt.c). It has the `exit()` returns `void` fix
as well as the `gets()` to `fgets()` fix applied to it to make it functionally
equivalent like the authors intended.
This is the [alternate source](%%REPO_URL%%/1990/tbr/tbr.alt.c) except that it
has the `exit()` returns `void` fix as well as the `gets(3)` to `fgets(3)` fix
applied to it to make it functionally equivalent like the authors intended. The
above code is their original alternate code.
### Alternate build: