From: Paul Eggert <eggert@cs.ucla.edu>
Date: Mon, 9 Jan 2006 23:42:27 +0000 (+0000)
Subject: Fix typo in previous change; 3 lines were omitted.
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7926b523071cfc66fa2252b51a8d51ffd9df7219;p=pspp

Fix typo in previous change; 3 lines were omitted.
---

diff --git a/lib/ChangeLog b/lib/ChangeLog
index bf74701f4a..2c182f9bd5 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -7,6 +7,9 @@
 	* save-cwd.c (save_cwd): Likewise.
 	* chdir-long.c (cdb_free): Open with O_NOCTTY | O_NONBLOCK as
 	well, for minor improvements on hosts that lack O_DIRECTORY.
+	* chown.c (rpl_chown) [CHOWN_MODIFIES_SYMLINK]:
+	Don't try O_WRONLY unless O_RDONLY failed wth EACCES.
+	Fall back on chown if open failed with EACCES.
 
 	* gettime.c (gettime) [!defined OK_TO_USE_1S_CLOCK]:
 	Report an error at compile-time if only a 1-second nominal clock