diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-05-03 15:19:04 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-05-03 15:19:04 +0000 |
commit | efe330aed1a1e757d4ca341187f46dd891d337ed (patch) | |
tree | 0cb691cb1dfff376a0220e5abcd0affba93dbecc /nptl/pthread_rwlock_tryrdlock.c | |
parent | fe80efd5f65e8229ab39381e3b3c761927e7e62e (diff) | |
download | glibc-efe330aed1a1e757d4ca341187f46dd891d337ed.tar.gz glibc-efe330aed1a1e757d4ca341187f46dd891d337ed.tar.xz glibc-efe330aed1a1e757d4ca341187f46dd891d337ed.zip |
* 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.
Diffstat (limited to 'nptl/pthread_rwlock_tryrdlock.c')
0 files changed, 0 insertions, 0 deletions