open, openat: minor optimization
[pspp] / ChangeLog
index 33dc8aef1eb8c6c42decec7e90030f8d93b4e6cd..4abbe70348a767a9136f201ab412a2c50c53215d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2009-09-22  Eric Blake  <ebb9@byu.net>
 
+       open, openat: minor optimization
+       * lib/open.c (open): If open succeeded, len is non-zero.
+       * lib/openat.c (rpl_openat): Likewise.
+
        link-follow: ensure correct result
        * m4/fcntl_h.m4 (gl_FCNTL_H): Clean up temporary file.
        * m4/link-follow.m4 (gl_FUNC_LINK_FOLLOWS_SYMLINK): Likewise, and