Merge pull request #2421 from xexyl/fmt-fix-bugs

Format fix bugs.md
This commit is contained in:
Landon Curt Noll authored and GitHub committed 2024-06-13 23:05:31 -07:00
commit 4deacb058c
1 file changed
+1 -1
+1 -1
View File
@@ -1063,7 +1063,7 @@ looked at later but you're welcome to try and fix this too! A tip on how
Previously it had a buffer size of 256 which could easily overflow. In this
entry `gets(3)` is used in a more complicated way: first `m` is set to `*++p` in
a for loop where `p` is argv. Later `m` is set to point to `h` which was of size
256. `gets(3)` is called as `m = gets(m)`) but trying to change it to use
256\. `gets(3)` is called as `m = gets(m)`) but trying to change it to use
`fgets(3)` proved more a problem. Since the input must come from the command
line Cody changed the buffer size to `ARG_MAX+1` which should be enough (again
theoretically) especially since the command expects redirecting a dictionary