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 ./ChangeLog sysdeps/posix/posix_fallocate ...


CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	fedora-branch
Changes by:	jakub@sources.redhat.com	2005-05-03 09:39:16

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

Log message:
	* sysdeps/posix/posix_fallocate.c (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.
	* sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
	Likewise.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/ChangeLog.diff?cvsroot=glibc&only_with_tag=fedora-branch&r1=1.8782.2.97&r2=1.8782.2.98
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/posix/posix_fallocate.c.diff?cvsroot=glibc&only_with_tag=fedora-branch&r1=1.5&r2=1.5.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/posix/posix_fallocate64.c.diff?cvsroot=glibc&only_with_tag=fedora-branch&r1=1.5&r2=1.5.2.1


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