diff options
| author | Dan Nicolaescu | 2007-05-26 17:28:45 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2007-05-26 17:28:45 +0000 |
| commit | 30790a37efea5c6fed87ee0dd0d54c31ac9eea11 (patch) | |
| tree | 8dff3a7d4eeffd47233240ee672838a0f32609a0 | |
| parent | 98db66cac2e07862a43014b57ebcc2f0fbfc07e6 (diff) | |
| download | emacs-30790a37efea5c6fed87ee0dd0d54c31ac9eea11.tar.gz emacs-30790a37efea5c6fed87ee0dd0d54c31ac9eea11.zip | |
* emacsclient.c (main): Avoid having a declaration after a
statement.
* sysdep.c: Comment out text after #endif.
| -rw-r--r-- | lib-src/ChangeLog.multi-tty | 5 | ||||
| -rw-r--r-- | lib-src/emacsclient.c | 2 | ||||
| -rw-r--r-- | src/ChangeLog.multi-tty | 4 | ||||
| -rw-r--r-- | src/sysdep.c | 2 |
4 files changed, 11 insertions, 2 deletions
diff --git a/lib-src/ChangeLog.multi-tty b/lib-src/ChangeLog.multi-tty index 6812eeef847..dcd1713294c 100644 --- a/lib-src/ChangeLog.multi-tty +++ b/lib-src/ChangeLog.multi-tty | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-05-26 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * emacsclient.c (main): Avoid having a declaration after a | ||
| 4 | statement. | ||
| 5 | |||
| 1 | 2007-05-21 Juanma Barranquero <lekktu@gmail.com> | 6 | 2007-05-21 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 7 | ||
| 3 | * emacsclient.c (print_help_and_exit): Restore and adapt trunk | 8 | * emacsclient.c (print_help_and_exit): Restore and adapt trunk |
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 0356735ab6d..0dc662dabef 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -1347,11 +1347,11 @@ main (argc, argv) | |||
| 1347 | 1347 | ||
| 1348 | if (tty) | 1348 | if (tty) |
| 1349 | { | 1349 | { |
| 1350 | char *type = getenv ("TERM"); | ||
| 1350 | char *tty_name = NULL; | 1351 | char *tty_name = NULL; |
| 1351 | #ifndef WINDOWSNT | 1352 | #ifndef WINDOWSNT |
| 1352 | tty_name = ttyname (fileno (stdin)); | 1353 | tty_name = ttyname (fileno (stdin)); |
| 1353 | #endif | 1354 | #endif |
| 1354 | char *type = getenv ("TERM"); | ||
| 1355 | 1355 | ||
| 1356 | if (! tty_name) | 1356 | if (! tty_name) |
| 1357 | { | 1357 | { |
diff --git a/src/ChangeLog.multi-tty b/src/ChangeLog.multi-tty index 94cf0cb50a7..dd349cf9b24 100644 --- a/src/ChangeLog.multi-tty +++ b/src/ChangeLog.multi-tty | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2007-05-26 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * sysdep.c: Comment out text after #endif. | ||
| 4 | |||
| 1 | 2007-05-20 L$,1 q(Brentey K,Aa(Broly <lorentey@elte.hu> | 5 | 2007-05-20 L$,1 q(Brentey K,Aa(Broly <lorentey@elte.hu> |
| 2 | 6 | ||
| 3 | * emacs.c (REPORT_EMACS_BUG_PRETEST_ADDRESS): Revert to | 7 | * emacs.c (REPORT_EMACS_BUG_PRETEST_ADDRESS): Revert to |
diff --git a/src/sysdep.c b/src/sysdep.c index ba55d2361bb..32efd7a056d 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -2791,7 +2791,7 @@ sys_select (nfds, rfds, wfds, efds, timeout) | |||
| 2791 | } | 2791 | } |
| 2792 | return ravail; | 2792 | return ravail; |
| 2793 | } | 2793 | } |
| 2794 | #endif not WINDOWSNT | 2794 | #endif /* not WINDOWSNT */ |
| 2795 | 2795 | ||
| 2796 | /* Read keyboard input into the standard buffer, | 2796 | /* Read keyboard input into the standard buffer, |
| 2797 | waiting for at least one character. */ | 2797 | waiting for at least one character. */ |