diff options
author | Oskar <[email protected]> | 2024-04-03 22:22:19 +0200 |
---|---|---|
committer | Oskar <[email protected]> | 2024-04-03 22:22:19 +0200 |
commit | efceadecd1bc48e2169bdf693058b2be25249827 (patch) | |
tree | d2b8e34c553c3effc0f84664493dbe04c1bd71a5 /test | |
parent | 44c83f6d38d166a04d71dca697a7ba4d2ea40cdd (diff) |
new check_length_fix_stdin. It checks length of buffers and seems to
also fix the situation where if i input more characters in to fgets than
allowed the characters sort of get stuck in stdin and thats a problem.
Seems like this function fixes this.
Diffstat (limited to 'test')
-rw-r--r-- | test/testgrounds/file.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testgrounds/file.txt b/test/testgrounds/file.txt index 42bd85b..9a366a7 100644 --- a/test/testgrounds/file.txt +++ b/test/testgrounds/file.txt @@ -1,7 +1,7 @@ what! - +hello lksdjflsdjfls209432+093+20943????01+230+2,.,-.,-,-.,-.,.,..,.,.,¨.¨,¨.,¨.´.´,´.,´.,´.´,.´,.´.´,´.????`?`?`?`?`?`?`?`?`???????!!!!!!!! |