Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/tools/compat
Module Name: src
Committed By: christos
Date: Sun May 15 21:31:26 UTC 2005
Modified Files:
src/tools/compat: fgetln.c
Log Message:
Replace the original fgetln with a simpler one that:
1. Works if the last line does not end up in \n
2. Does not scan the string multiple times.
3. Does not copy the string, but writes it directly in the buffer.
4. Handles out of memory conditions gracefully.
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/tools/compat/fgetln.c
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