aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-05-03 15:19:04 +0000
committerUlrich Drepper <drepper@redhat.com>2005-05-03 15:19:04 +0000
commitefe330aed1a1e757d4ca341187f46dd891d337ed (patch)
tree0cb691cb1dfff376a0220e5abcd0affba93dbecc /ChangeLog
parentfe80efd5f65e8229ab39381e3b3c761927e7e62e (diff)
downloadglibc-efe330aed1a1e757d4ca341187f46dd891d337ed.tar
glibc-efe330aed1a1e757d4ca341187f46dd891d337ed.tar.gz
glibc-efe330aed1a1e757d4ca341187f46dd891d337ed.tar.bz2
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 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b6ab53e31b..ef142bb8cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2005-04-29 Jakub Jelinek <jakub@redhat.com>
+
+ * 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.
+
2005-05-02 Roland McGrath <roland@redhat.com>
[BZ #924]