Update alt code details in 1984/decot
Typo fixes and slight rewording.
This commit is contained in:
1 parent
93963607f3
commit
442b1d179c
1 file changed
+11
-2
+11
-2
@@ -8,6 +8,10 @@ Dave Decot
|
|||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
NOTE: there is an [alternate version](#alternate-code) which will only work if
|
||||||
|
you have an old enough compiler or a compiler that supports `-traditional-cpp`.
|
||||||
|
The original code was fixed in 2023 to not require this.
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -18,7 +22,7 @@ make all
|
|||||||
|
|
||||||
This alternate code, the original, requires a compiler that supports
|
This alternate code, the original, requires a compiler that supports
|
||||||
`-traditional-cpp` or an old enough compiler. If you have such a compiler you
|
`-traditional-cpp` or an old enough compiler. If you have such a compiler you
|
||||||
can use this entry.
|
can use this version.
|
||||||
|
|
||||||
### Alternate build:
|
### Alternate build:
|
||||||
|
|
||||||
@@ -55,7 +59,12 @@ for(signal=0;*k *x * __FILE__ *i;) do {
|
|||||||
```
|
```
|
||||||
|
|
||||||
To see what we mean look at the [original source file](decot.orig.c). The
|
To see what we mean look at the [original source file](decot.orig.c). The
|
||||||
[alternate code](decot.alt.c) is the version that we modified.
|
[alternate code](decot.alt.c) is the version that has this modification. The
|
||||||
|
fixed version has instead:
|
||||||
|
|
||||||
|
```c
|
||||||
|
for(signal=0;*k *= * __FILE__ *i;) do {
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|||||||
Reference in new issue
Block a user