From 5b9562c3df6c19b5f698b2ee3dc678086e5dedee Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Fri, 18 Mar 2005 20:44:50 +0000 Subject: [PATCH] * emacsclient.c: Avoid expansion of getcwd when defined as a macro. --- lib-src/ChangeLog | 4 ++++ lib-src/emacsclient.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 0978e8835ca..513bc8f21ba 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,7 @@ +2005-03-18 Jan Dj,Ad(Brv + + * emacsclient.c: Avoid expansion of getcwd when defined as a macro. + 2005-03-04 YAMAMOTO Mitsuharu * make-docfile.c: Undo previous change. diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 24dcdffff2c..90c0228f720 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -42,7 +42,7 @@ Boston, MA 02111-1307, USA. */ #endif /* not VMS */ char *getenv (), *getwd (); -char *getcwd (); +char *(getcwd) (); #ifndef VERSION #define VERSION "unspecified" -- 2.39.2