diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 21 | ||||
| -rw-r--r-- | lib-src/emacsclient.c | 4 | ||||
| -rw-r--r-- | lib-src/etags.c | 3 | ||||
| -rw-r--r-- | lib-src/makefile.w32-in | 1 |
4 files changed, 20 insertions, 9 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 4f3f386310a..2c386257c10 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,8 +1,19 @@ | |||
| 1 | 2010-09-29 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * makefile.w32-in (../src/config.h): Remove target, it is stale. | ||
| 4 | |||
| 5 | * emacsclient.c (main): Remove unused variables. | ||
| 6 | (start_daemon_and_retry_set_socket): Use EXIT_FAILURE. | ||
| 7 | |||
| 8 | 2010-09-25 Ulrich Mueller <ulm@gentoo.org> | ||
| 9 | |||
| 10 | * etags.c (compressors, print_language_names): Support xz compression. | ||
| 11 | |||
| 1 | 2010-08-11 Jan Djärv <jan.h.d@swipnet.se> | 12 | 2010-08-11 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 13 | ||
| 3 | * fakemail.c: Include stdlib.h for getenv. Remove declaration of | 14 | * fakemail.c: Include stdlib.h for getenv. Remove declaration of |
| 4 | popen, fclose and pclose. | 15 | popen, fclose and pclose. |
| 5 | (my_name, fatal, error, put_line): Use const char* | 16 | (my_name, fatal, error, put_line): Use const char*. |
| 6 | (main): Remove extern getenv, mail_program_name is const char*. | 17 | (main): Remove extern getenv, mail_program_name is const char*. |
| 7 | 18 | ||
| 8 | * update-game-score.c (get_prefix, write_scores, main): Use const char*. | 19 | * update-game-score.c (get_prefix, write_scores, main): Use const char*. |
| @@ -12,7 +23,7 @@ | |||
| 12 | * pop.h (pop_multi_first): Use const char *. | 23 | * pop.h (pop_multi_first): Use const char *. |
| 13 | (_ARGS): Remove. | 24 | (_ARGS): Remove. |
| 14 | 25 | ||
| 15 | * pop.c (pop_multi_first, socket_connection, sendline): Use conat char*. | 26 | * pop.c (pop_multi_first, socket_connection, sendline): Use const char*. |
| 16 | 27 | ||
| 17 | * movemail.c (fatal, error, concat): Use const char *. | 28 | * movemail.c (fatal, error, concat): Use const char *. |
| 18 | 29 | ||
| @@ -57,7 +68,7 @@ | |||
| 57 | 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu> | 68 | 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu> |
| 58 | 69 | ||
| 59 | * emacsclient.c: Move socket related #includes together with the | 70 | * emacsclient.c: Move socket related #includes together with the |
| 60 | rest of the #includes. Move a WINDOWSNT includes closer together. | 71 | rest of the #includes. Move WINDOWSNT includes closer together. |
| 61 | (HAVE_CONFIG_H): Remove. | 72 | (HAVE_CONFIG_H): Remove. |
| 62 | (NO_RETURN): Remove, defined in config.h. | 73 | (NO_RETURN): Remove, defined in config.h. |
| 63 | (main): Convert definition to standard C. | 74 | (main): Convert definition to standard C. |
| @@ -160,7 +171,7 @@ | |||
| 160 | (fatal): Make static. | 171 | (fatal): Make static. |
| 161 | (error): Likewise. | 172 | (error): Likewise. |
| 162 | (pfatal_with_name): Likewise. | 173 | (pfatal_with_name): Likewise. |
| 163 | (pfatal_and_delete). Likewise. | 174 | (pfatal_and_delete): Likewise. |
| 164 | (concat): Likewise. | 175 | (concat): Likewise. |
| 165 | (xmalloc): Likewise. | 176 | (xmalloc): Likewise. |
| 166 | (popmail): Likewise. | 177 | (popmail): Likewise. |
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index e8ffbe7c562..1f96c481129 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -1476,7 +1476,7 @@ start_daemon_and_retry_set_socket (void) | |||
| 1476 | else if (dpid < 0) | 1476 | else if (dpid < 0) |
| 1477 | { | 1477 | { |
| 1478 | fprintf (stderr, "Error: Cannot fork!\n"); | 1478 | fprintf (stderr, "Error: Cannot fork!\n"); |
| 1479 | exit (1); | 1479 | exit (EXIT_FAILURE); |
| 1480 | } | 1480 | } |
| 1481 | else | 1481 | else |
| 1482 | { | 1482 | { |
| @@ -1576,8 +1576,6 @@ main (int argc, char **argv) | |||
| 1576 | int i; | 1576 | int i; |
| 1577 | for (i = 0; environ[i]; i++) | 1577 | for (i = 0; environ[i]; i++) |
| 1578 | { | 1578 | { |
| 1579 | char *name = xstrdup (environ[i]); | ||
| 1580 | char *value = strchr (name, '='); | ||
| 1581 | send_to_emacs (emacs_socket, "-env "); | 1579 | send_to_emacs (emacs_socket, "-env "); |
| 1582 | quote_argument (emacs_socket, environ[i]); | 1580 | quote_argument (emacs_socket, environ[i]); |
| 1583 | send_to_emacs (emacs_socket, " "); | 1581 | send_to_emacs (emacs_socket, " "); |
diff --git a/lib-src/etags.c b/lib-src/etags.c index 42e4017ab50..abc8b06dd8e 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -561,6 +561,7 @@ static compressor compressors[] = | |||
| 561 | { "gz", "gzip -d -c"}, | 561 | { "gz", "gzip -d -c"}, |
| 562 | { "GZ", "gzip -d -c"}, | 562 | { "GZ", "gzip -d -c"}, |
| 563 | { "bz2", "bzip2 -d -c" }, | 563 | { "bz2", "bzip2 -d -c" }, |
| 564 | { "xz", "xz -d -c" }, | ||
| 564 | { NULL } | 565 | { NULL } |
| 565 | }; | 566 | }; |
| 566 | 567 | ||
| @@ -874,7 +875,7 @@ followed by the name of an interpreter. If no such sequence is found,\n\ | |||
| 874 | Fortran is tried first; if no tags are found, C is tried next.\n\ | 875 | Fortran is tried first; if no tags are found, C is tried next.\n\ |
| 875 | When parsing any C file, a \"class\" or \"template\" keyword\n\ | 876 | When parsing any C file, a \"class\" or \"template\" keyword\n\ |
| 876 | switches to C++."); | 877 | switches to C++."); |
| 877 | puts ("Compressed files are supported using gzip and bzip2.\n\ | 878 | puts ("Compressed files are supported using gzip, bzip2, and xz.\n\ |
| 878 | \n\ | 879 | \n\ |
| 879 | For detailed help on a given language use, for example,\n\ | 880 | For detailed help on a given language use, for example,\n\ |
| 880 | etags --help --lang=ada."); | 881 | etags --help --lang=ada."); |
diff --git a/lib-src/makefile.w32-in b/lib-src/makefile.w32-in index 72a04ecff89..552dd1349fc 100644 --- a/lib-src/makefile.w32-in +++ b/lib-src/makefile.w32-in | |||
| @@ -371,6 +371,7 @@ cleanall: clean | |||
| 371 | # Headers we would preprocess if we could. | 371 | # Headers we would preprocess if we could. |
| 372 | # | 372 | # |
| 373 | ../src/config.h: ../nt/$(CONFIG_H) | 373 | ../src/config.h: ../nt/$(CONFIG_H) |
| 374 | $(DEL) $@ | ||
| 374 | echo $(CONFIG_H) has changed. Re-run configure.bat. | 375 | echo $(CONFIG_H) has changed. Re-run configure.bat. |
| 375 | exit -1 | 376 | exit -1 |
| 376 | 377 | ||