emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r107698: Discourage in comments from


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r107698: Discourage in comments from defining HAVE_GETCWD on MS-Windows.
Date: Thu, 29 Mar 2012 22:06:39 +0200
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 107698
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Thu 2012-03-29 22:06:39 +0200
message:
  Discourage in comments from defining HAVE_GETCWD on MS-Windows.
  
   src/s/ms-w32.h: Discourage from defining HAVE_GETCWD.
   nt/config.nt: Discourage from defining HAVE_GETCWD.
modified:
  nt/ChangeLog
  nt/config.nt
  src/ChangeLog
  src/s/ms-w32.h
=== modified file 'nt/ChangeLog'
--- a/nt/ChangeLog      2012-03-25 18:17:46 +0000
+++ b/nt/ChangeLog      2012-03-29 20:06:39 +0000
@@ -1,3 +1,7 @@
+2012-03-29  Eli Zaretskii  <address@hidden>
+
+       * config.nt: Discourage from defining HAVE_GETCWD.
+
 2012-03-25  Eli Zaretskii  <address@hidden>
 
        * makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use

=== modified file 'nt/config.nt'
--- a/nt/config.nt      2012-02-27 03:20:00 +0000
+++ b/nt/config.nt      2012-03-29 20:06:39 +0000
@@ -235,6 +235,9 @@
 #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

=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-03-28 15:54:54 +0000
+++ b/src/ChangeLog     2012-03-29 20:06:39 +0000
@@ -1,3 +1,7 @@
+2012-03-29  Eli Zaretskii  <address@hidden>
+
+       * s/ms-w32.h: Discourage from defining HAVE_GETCWD.
+
 2012-03-28  Stefan Monnier  <address@hidden>
 
        * keyboard.c (safe_run_hooks_error): Don't unquote strings.

=== modified file 'src/s/ms-w32.h'
--- a/src/s/ms-w32.h    2012-03-24 13:43:21 +0000
+++ b/src/s/ms-w32.h    2012-03-29 20:06:39 +0000
@@ -159,6 +159,9 @@
 #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
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]