diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-05-03 09:39:16 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-05-03 09:39:16 +0000 |
commit | cd6fa64a21feb8802d53edd5d1aa49b58398f74c (patch) | |
tree | c1a8da22ca33bb5d8259570ed10de7630553794f /abilist | |
parent | eec65e81e75bc0af8212e59a281b52d920607fc8 (diff) | |
download | glibc-cd6fa64a21feb8802d53edd5d1aa49b58398f74c.tar glibc-cd6fa64a21feb8802d53edd5d1aa49b58398f74c.tar.gz glibc-cd6fa64a21feb8802d53edd5d1aa49b58398f74c.tar.bz2 glibc-cd6fa64a21feb8802d53edd5d1aa49b58398f74c.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 'abilist')
0 files changed, 0 insertions, 0 deletions