[Issue 14315] [snn] scanf can't read lines longer than 32767 characters

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Mar 21 14:51:58 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14315

FG <home at fgda.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |home at fgda.pl

--- Comment #2 from FG <home at fgda.pl> ---
I can confirm the problem. Interestingly, it occurs when trying to scanf a long
string without whitespace immediately followed by \r\n. There was no problem
when the line ended with just a \n, didn't end at all, or when the string was
followed by whitespace and some other chars.

--


More information about the Digitalmars-d-bugs mailing list