This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/sysdeps/posix posix_fallocate.c posix_fal ...
- From: drepper at sourceware dot org
- To: glibc-cvs at sources dot redhat dot com
- Date: 3 May 2005 15:07:48 -0000
- Subject: 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