summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-05-03 09:39:16 +0000
committerJakub Jelinek <jakub@redhat.com>2005-05-03 09:39:16 +0000
commitcd6fa64a21feb8802d53edd5d1aa49b58398f74c (patch)
treec1a8da22ca33bb5d8259570ed10de7630553794f /ChangeLog
parenteec65e81e75bc0af8212e59a281b52d920607fc8 (diff)
* 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 217c3f9fcc..16be0d3b43 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]