diff options
| author | Tom Tromey | 2012-08-20 07:34:41 -0600 |
|---|---|---|
| committer | Tom Tromey | 2012-08-20 07:34:41 -0600 |
| commit | 49bc1a9dfc6e81a370bf12157c3c573743ee200a (patch) | |
| tree | 24df8b040aff367adc11a2c676334ec238651e1d /lib-src | |
| parent | b94de893429bbfbb27572c8c3118fcc876957adb (diff) | |
| parent | a05731a0cc2553af0469bd9b7d6ac10cd2e6a817 (diff) | |
| download | emacs-49bc1a9dfc6e81a370bf12157c3c573743ee200a.tar.gz emacs-49bc1a9dfc6e81a370bf12157c3c573743ee200a.zip | |
Merge from trunk
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 9 | ||||
| -rw-r--r-- | lib-src/emacsclient.c | 5 | ||||
| -rw-r--r-- | lib-src/makefile.w32-in | 1 |
3 files changed, 10 insertions, 5 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index f3fd3751005..4e3f3424c91 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2012-08-19 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Rely on <config.h> + <unistd.h> to declare 'environ'. | ||
| 4 | * emacsclient.c (environ): Remove decl. | ||
| 5 | |||
| 6 | 2012-08-17 Juanma Barranquero <lekktu@gmail.com> | ||
| 7 | |||
| 8 | * makefile.w32-in ($(BLD)/regex.$(O)): Update dependencies. | ||
| 9 | |||
| 1 | 2012-08-15 Paul Eggert <eggert@cs.ucla.edu> | 10 | 2012-08-15 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 11 | ||
| 3 | * etags.c (Pascal_functions): Fix parenthesization typo. | 12 | * etags.c (Pascal_functions): Fix parenthesization typo. |
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 20afe1cad11..07300dbf249 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -1584,11 +1584,6 @@ main (int argc, char **argv) | |||
| 1584 | /* Send over our environment and current directory. */ | 1584 | /* Send over our environment and current directory. */ |
| 1585 | if (!current_frame) | 1585 | if (!current_frame) |
| 1586 | { | 1586 | { |
| 1587 | #ifndef WINDOWSNT | ||
| 1588 | /* This is defined in stdlib.h on MS-Windows. It's defined in | ||
| 1589 | unistd.h on some POSIX hosts, but not all (Bug#10155). */ | ||
| 1590 | extern char **environ; | ||
| 1591 | #endif | ||
| 1592 | int i; | 1587 | int i; |
| 1593 | for (i = 0; environ[i]; i++) | 1588 | for (i = 0; environ[i]; i++) |
| 1594 | { | 1589 | { |
diff --git a/lib-src/makefile.w32-in b/lib-src/makefile.w32-in index a03d761e7ec..64974b88b6f 100644 --- a/lib-src/makefile.w32-in +++ b/lib-src/makefile.w32-in | |||
| @@ -451,6 +451,7 @@ $(BLD)/profile.$(O) : \ | |||
| 451 | $(BLD)/regex.$(O) : \ | 451 | $(BLD)/regex.$(O) : \ |
| 452 | $(SRC)/regex.c \ | 452 | $(SRC)/regex.c \ |
| 453 | $(SRC)/regex.h \ | 453 | $(SRC)/regex.h \ |
| 454 | $(NT_INC)/stdbool.h \ | ||
| 454 | $(NT_INC)/unistd.h \ | 455 | $(NT_INC)/unistd.h \ |
| 455 | $(CONFIG_H) | 456 | $(CONFIG_H) |
| 456 | 457 | ||