Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libc/stdio



Module Name:    src
Committed By:   roy
Date:           Tue Dec  1 00:03:53 UTC 2009

Modified Files:
        src/lib/libc/stdio: fgetstr.c getdelim.c local.h

Log Message:
Remove __getdelim and just use getdelim.
fgetstr now works with strings up to SSIZE_MAX as a result, but may
reallocate buffers needlessly just like it used to when the buffer size
exceeds INT_MAX.
fgetstr converts errno EOVERFLOW to EINVAL on getdelim error.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/stdio/fgetstr.c
cvs rdiff -u -r1.7 -r1.8 src/lib/libc/stdio/getdelim.c
cvs rdiff -u -r1.21 -r1.22 src/lib/libc/stdio/local.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index