aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog6
-rw-r--r--lib-src/emacsclient.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index a9ad2a97ea3..6c2d23bbf44 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,10 +1,14 @@
12012-04-09 Paul Eggert <eggert@cs.ucla.edu> 12012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 configure: new option --enable-gcc-warnings (Bug#11207) 3 configure: new option --enable-gcc-warnings (Bug#11207)
4 * Makefile.in (C_WARNINGS_SWITCH): Remove. 4 * Makefile.in (C_WARNINGS_SWITCH): Remove.
5 (WARN_CFLAGS, WERROR_CFLAGS): New macros. 5 (WARN_CFLAGS, WERROR_CFLAGS): New macros.
6 (BASE_CFLAGS): Use new macros rather than old. 6 (BASE_CFLAGS): Use new macros rather than old.
7 7
82012-04-14 Juanma Barranquero <lekktu@gmail.com>
9 * emacsclient.c (decode_options) [WINDOWSNT]:
10 Call ttyname instead of passing its address (typo in 2011-12-04T17:13:01Z!lekktu@gmail.com).
11
82012-04-07 Eli Zaretskii <eliz@gnu.org> 122012-04-07 Eli Zaretskii <eliz@gnu.org>
9 13
10 * makefile.w32-in (obj): Add xml.o. 14 * makefile.w32-in (obj): Add xml.o.
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index 049886ed2ba..05fd0f3515e 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -648,7 +648,7 @@ decode_options (int argc, char **argv)
648 server.el check whether it makes sense. */ 648 server.el check whether it makes sense. */
649 if (tty || !current_frame) 649 if (tty || !current_frame)
650 { 650 {
651 display = (const char *) ttyname; 651 display = (const char *) ttyname (0); /* Arg is ignored. */
652 current_frame = 0; 652 current_frame = 0;
653 tty = 1; 653 tty = 1;
654 } 654 }