Discourage in comments from defining HAVE_GETCWD on MS-Windows.
authorEli Zaretskii <eliz@gnu.org>
Thu, 29 Mar 2012 20:06:39 +0000 (22:06 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 29 Mar 2012 20:06:39 +0000 (22:06 +0200)
 src/s/ms-w32.h: Discourage from defining HAVE_GETCWD.
 nt/config.nt: Discourage from defining HAVE_GETCWD.

nt/ChangeLog
nt/config.nt
src/ChangeLog
src/s/ms-w32.h

index 5c49457..d0a85a4 100644 (file)
@@ -1,3 +1,7 @@
+2012-03-29  Eli Zaretskii  <eliz@gnu.org>
+
+       * config.nt: Discourage from defining HAVE_GETCWD.
+
 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
 
        * makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
index 368dd33..d095655 100644 (file)
@@ -235,6 +235,9 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #undef HAVE_UTIMES
 #undef HAVE_SETRLIMIT
 #undef HAVE_SETPGID
+/* If you think about defining HAVE_GETCWD, don't: the alternative
+   getwd is redefined on w32.c, and does not really return the current
+   directory, to get the desired results elsewhere in Emacs */
 #undef HAVE_GETCWD
 #undef HAVE_SHUTDOWN
 #undef HAVE_STRFTIME
index 1c74090..e57b1af 100644 (file)
@@ -1,3 +1,7 @@
+2012-03-29  Eli Zaretskii  <eliz@gnu.org>
+
+       * s/ms-w32.h: Discourage from defining HAVE_GETCWD.
+
 2012-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * keyboard.c (safe_run_hooks_error): Don't unquote strings.
index 5eed3a1..e89ecb0 100644 (file)
@@ -159,6 +159,9 @@ struct sigaction {
 #undef  HAVE_UTIMES
 #undef  HAVE_SETRLIMIT
 #undef  HAVE_SETPGID
+/* If you think about defining HAVE_GETCWD, don't: the alternative
+   getwd is redefined on w32.c, and does not really return the current
+   directory, to get the desired results elsewhere in Emacs */
 #undef  HAVE_GETCWD
 #define HAVE_SHUTDOWN 1