* cygwin.din: Add vsyslog.
* fhandler.cc (fhandler_base::write): Only make file sparse if the seeked area is >= 128K. * syslog.cc (vsyslog): New function, overtaking functionality from syslog. (syslog): Just call vsyslog. * include/cygwin/version.h: Bump API minor. * include/sys/syslog.h: Add vsyslog declaration.
This commit is contained in:
@ -629,7 +629,7 @@ fhandler_base::write (const void *ptr, size_t len)
|
||||
if (current_position > actual_length)
|
||||
{
|
||||
if ((get_fs_flags (FILE_SUPPORTS_SPARSE_FILES))
|
||||
&& current_position >= actual_length + (64 * 1024))
|
||||
&& current_position >= actual_length + (128 * 1024))
|
||||
{
|
||||
/* If the file systemn supports sparse files and the application
|
||||
is writing after a long seek beyond EOF, convert the file to
|
||||
|
Reference in New Issue
Block a user