Merge pull request #1542 from xexyl/westley90-main
This commit is contained in:
2 files changed
+4
-1
No files matched your search
@@ -4,7 +4,7 @@ char*lie;
|
|||||||
|
|
||||||
not; int rested, get, out;
|
not; int rested, get, out;
|
||||||
|
|
||||||
main(ly, die) char ly, **die ;{
|
main(ly, die) int ly; char **die ;{
|
||||||
|
|
||||||
signed char lotte,
|
signed char lotte,
|
||||||
|
|
||||||
|
|||||||
@@ -1038,6 +1038,9 @@ was changed to just `1`. Since it's instructional to see the differences he has
|
|||||||
provided an alternate version, [westley.alt.c](1990/westley/westley.alt.c), which
|
provided an alternate version, [westley.alt.c](1990/westley/westley.alt.c), which
|
||||||
is the original code.
|
is the original code.
|
||||||
|
|
||||||
|
He also changed the `argc` to be an `int`, not a `char`, even though it might
|
||||||
|
often be the same (for the purpose of `clang`?).
|
||||||
|
|
||||||
He also fixed the code to not enter an infinite loop if arg is a number not > 0
|
He also fixed the code to not enter an infinite loop if arg is a number not > 0
|
||||||
and to not crash if no arg is specified.
|
and to not crash if no arg is specified.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user