diff options
| author | Chong Yidong | 2011-11-30 16:13:05 +0800 |
|---|---|---|
| committer | Chong Yidong | 2011-11-30 16:13:05 +0800 |
| commit | e7308292aaa7f16a5670a151b6112239691ea61f (patch) | |
| tree | 059a00355336894c797a58c102e4897d185bf555 /lib-src | |
| parent | dfdbf7af98bf921f2fa2cdd72405e9522a950dc9 (diff) | |
| download | emacs-e7308292aaa7f16a5670a151b6112239691ea61f.tar.gz emacs-e7308292aaa7f16a5670a151b6112239691ea61f.zip | |
* emacsclient.c (main): Condition last change on WINDOWSNT (Bug#10155).
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 5 | ||||
| -rw-r--r-- | lib-src/emacsclient.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index db1464f65d8..1eb67eb6c71 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-11-30 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * emacsclient.c (main): Condition last change on WINDOWSNT | ||
| 4 | (Bug#10155). | ||
| 5 | |||
| 1 | 2011-11-27 Eli Zaretskii <eliz@gnu.org> | 6 | 2011-11-27 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS). | 8 | * makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS). |
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index b46700ba660..80e86693057 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -1635,6 +1635,11 @@ main (int argc, char **argv) | |||
| 1635 | /* Send over our environment and current directory. */ | 1635 | /* Send over our environment and current directory. */ |
| 1636 | if (!current_frame) | 1636 | if (!current_frame) |
| 1637 | { | 1637 | { |
| 1638 | #ifndef WINDOWSNT | ||
| 1639 | /* This is defined in stdlib.h on MS-Windows. It's defined in | ||
| 1640 | unisted.h on some POSIX hosts, but not all (Bug#10155). */ | ||
| 1641 | extern char **environ; | ||
| 1642 | #endif | ||
| 1638 | int i; | 1643 | int i; |
| 1639 | for (i = 0; environ[i]; i++) | 1644 | for (i = 0; environ[i]; i++) |
| 1640 | { | 1645 | { |