Fixes in 1994/tvr

Format/typo fix README.md.

The entry now uses fgets(3); the alt code that the author included does
not (yet?).

Added entry to bugs.md for the fgets(3) for the alt code and a bug that
is noted by the judges, asking if [you] can fix it.
This commit is contained in:
Cody Boone Ferguson committed 2023-11-10 10:48:30 -08:00
1 parent 6d4386aab9
commit d2de7f49f2
5 files changed
+63 -15

No files matched your search

+26
View File
@@ -1332,6 +1332,32 @@ if it checked for `!= EOF`.
Since it works there is no need to fix this except for a challenge to yourself.
## 1994 tvr
### STATUS: known bug - please help us fix
### Source code: [1994/tvr/tvr.c](1994/tvr/tvr.c)
### Information: [1994/tvr/README.md](1994/tvr/README.md)
The judges said the following in their remarks:
```
The fractally minded may be able to detect that mode 0 does not calculate
Mandelbrot/Julian sets correctly. Can you find the bug? Better still, can you
fix it without breaking something else?
```
You are welcome to try and fix it and open a pull request, providing that it
doesn't break something else.
### STATUS: uses gets() - change to fgets() if possible
Although the entry itself was changed to use `fgets(3)` the alt code was not. It
would be better if both used `fgets(3)`.
# 1995