Restore one INABIAF in 1990/westley
The other one cannot be restored or at least should not be as it floods the screen in an unsuspecting way. If no arg is specified though, it now will likely crash (previously because of the use of argv[1] later in the code but now to prevent the code from flooding the screen if the number is < 0).
This commit is contained in:
1 parent
9b4eb21d11
commit
b741325af8
8 files changed
+132
-99
No files matched your search
@@ -884,6 +884,20 @@ will enter an infinite loop, printing 0 over and over again; another condition
|
||||
where this occurred was fixed but this one should not be fixed. Thank you.
|
||||
|
||||
|
||||
<div id="1990_westley">
|
||||
## 1990/westley
|
||||
</div>
|
||||
|
||||
### STATUS: INABIAF - please **DO NOT** fix
|
||||
### Source code: [1990/westley/westley.c](%%REPO_URL%%/1990/westley/westley.c)
|
||||
### Information: [1990/westley/index.html](1990/westley/index.html)
|
||||
|
||||
Although Cody fixed this to not enter an infinite loop if the arg (converted to
|
||||
a number) is < 0 the lack of an arg check at all was kept in to make it like the
|
||||
original. The reason for the < 0 check is it floods the screen.
|
||||
|
||||
|
||||
|
||||
<hr style="width:10%;text-align:left;margin-left:0">
|
||||
<div id="1991">
|
||||
# 1991
|
||||
|
||||
Reference in new issue
Block a user