This is the mail archive of the glibc-cvs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libc/sysdeps/posix posix_fallocate.c posix_fal ...


CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	drepper@sources.redhat.com	2005-05-03 15:07:48

Modified files:
	sysdeps/posix  : posix_fallocate.c posix_fallocate64.c 

Log message:
	(posix_fallocate): If len == 0,
	call ftruncate if offset is bigger than current size.  Make sure
	the file is offset + len bytes long if that is more than current size.
	Don't overwrite previous content of the file.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/posix/posix_fallocate.c.diff?cvsroot=glibc&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/posix/posix_fallocate64.c.diff?cvsroot=glibc&r1=1.5&r2=1.6


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]