]> sourceware.org Git - glibc.git/commit
* sysdeps/posix/posix_fallocate.c (posix_fallocate): If len == 0,
authorUlrich Drepper <drepper@redhat.com>
Tue, 3 May 2005 15:19:04 +0000 (15:19 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 3 May 2005 15:19:04 +0000 (15:19 +0000)
commitefe330aed1a1e757d4ca341187f46dd891d337ed
tree0cb691cb1dfff376a0220e5abcd0affba93dbecc
parentfe80efd5f65e8229ab39381e3b3c761927e7e62e
* 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.
ChangeLog
This page took 0.039446 seconds and 5 git commands to generate.