about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-05-06 14:56:13 -0700
committerRoland McGrath <roland@hack.frob.com>2013-05-06 14:56:13 -0700
commitc74058300c76d7afa316453c03e5776b3a9155a8 (patch)
tree5a349eea3a6f47fcaae863bc91bc2260fb22d886 /ChangeLog
parent9ea3513c917e04ba6cb4a6ce0b9d455f566a1d3f (diff)
downloadglibc-c74058300c76d7afa316453c03e5776b3a9155a8.tar.gz
glibc-c74058300c76d7afa316453c03e5776b3a9155a8.tar.xz
glibc-c74058300c76d7afa316453c03e5776b3a9155a8.zip
Clean up POSIX.1 implementation of truncate.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 50d9e9c4e3..9d2a25d582 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-05-06  Roland McGrath  <roland@hack.frob.com>
+
+	* sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
+	Call __ names for open, ftruncate, and close.
+	For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
+	(truncate): Define as weak alias.
+
 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
 
 	* math/gen-libm-test.pl (parse_args): Initialize x before each