Fix infinite loop in 1989/ovdluhe
As Landon said it is a bug (after I asked about it) I have fixed it. Without this fix the program printed the same thing over and over again in some cases. The problem was a for() loop that didn't always have the pointer incremented. It looks like I could have got away with just updating the increment part of the loop but I didn't do that as I didn't see it at first. The optimiser was disabled. That might not be strictly necessary but I had it disabled for a time so I have kept it disabled. Also I removed my name in the README.md: this was missed when the much better idea of a general thanks file was come up with. When testing the fix I came across part of my name which made me check. I have not yet typo/format checked this file or any of 1989 so that was not done. That might or might not happen in part or in whole later today but either way it'll be started soon.
This commit is contained in:
1 parent
0262590956
commit
f882ea84dd
5 files changed
+15
-7
No files matched your search
@@ -68,7 +68,7 @@ CINCLUDE=
|
||||
|
||||
# Optimization
|
||||
#
|
||||
OPT= -O3
|
||||
OPT=
|
||||
|
||||
# Default flags for ANSI C compilation
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user