Add note about fgets() in 1987/wall/README.md
As in why this was important to do (though once again keeping gets() is a problem but it's a potential problem to not keep it as well).
This commit is contained in:
1 parent
c1a953b4c5
commit
b1e1b3f7f9
1 file changed
+2
-1
+2
-1
@@ -23,7 +23,8 @@ make all
|
||||
```
|
||||
|
||||
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) made this safer by
|
||||
using `fgets()` instead of `gets()`. The original source is in
|
||||
using `fgets()` instead of `gets()`. This prevents a potentially alarming
|
||||
warning at linking or runtime. The original source is in
|
||||
[wall.alt.c](wall.alt.c) described below. Thank you Cody!
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user