diff options
| author | Paul Eggert | 2011-07-10 23:05:57 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-07-10 23:05:57 -0700 |
| commit | da85a02af7585384008d3ebec836a7b8571f175d (patch) | |
| tree | e6d4f34119ea1c45985eaed207ef6b47f650ea93 /lib-src | |
| parent | 7f5515125fbc9b46454e1f84b7e3052a0a5326f0 (diff) | |
| parent | 4d45a8b7a237e1d33d0ae71d95a0ed7165ea6cda (diff) | |
| download | emacs-da85a02af7585384008d3ebec836a7b8571f175d.tar.gz emacs-da85a02af7585384008d3ebec836a7b8571f175d.zip | |
Merge from trunk.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 6 | ||||
| -rw-r--r-- | lib-src/update-game-score.c | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 5d95ec74277..04d0828a8ab 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | 2011-07-06 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-07-11 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Assume freestanding C89 headers, string.h, stdlib.h. | 3 | Assume freestanding C89 headers, string.h, stdlib.h. |
| 4 | * ebrowse.c: Include stdlib.h unconditionally. | 4 | * ebrowse.c: Include stdlib.h unconditionally. |
| @@ -11,6 +11,10 @@ | |||
| 11 | Assume support for memcmp, memcpy, memmove, memset. | 11 | Assume support for memcmp, memcpy, memmove, memset. |
| 12 | * etags.c (absolute_filename): Assume memmove exists. | 12 | * etags.c (absolute_filename): Assume memmove exists. |
| 13 | 13 | ||
| 14 | 2011-07-09 Andreas Schwab <schwab@linux-m68k.org> | ||
| 15 | |||
| 16 | * update-game-score.c (usage): Update usage line. | ||
| 17 | |||
| 14 | 2011-07-02 Jason Rumney <jasonr@gnu.org> | 18 | 2011-07-02 Jason Rumney <jasonr@gnu.org> |
| 15 | 19 | ||
| 16 | * emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on | 20 | * emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on |
diff --git a/lib-src/update-game-score.c b/lib-src/update-game-score.c index 284beafb9d9..2a89379aefe 100644 --- a/lib-src/update-game-score.c +++ b/lib-src/update-game-score.c | |||
| @@ -64,7 +64,7 @@ static int usage (int err) NO_RETURN; | |||
| 64 | static int | 64 | static int |
| 65 | usage (int err) | 65 | usage (int err) |
| 66 | { | 66 | { |
| 67 | fprintf (stdout, "Usage: update-game-score [-m MAX ] [ -r ] game/scorefile SCORE DATA\n"); | 67 | fprintf (stdout, "Usage: update-game-score [-m MAX] [-r] [-d DIR] game/scorefile SCORE DATA\n"); |
| 68 | fprintf (stdout, " update-game-score -h\n"); | 68 | fprintf (stdout, " update-game-score -h\n"); |
| 69 | fprintf (stdout, " -h\t\tDisplay this help.\n"); | 69 | fprintf (stdout, " -h\t\tDisplay this help.\n"); |
| 70 | fprintf (stdout, " -m MAX\t\tLimit the maximum number of scores to MAX.\n"); | 70 | fprintf (stdout, " -m MAX\t\tLimit the maximum number of scores to MAX.\n"); |
| @@ -106,8 +106,7 @@ static void lose_syserr (const char *msg) NO_RETURN; | |||
| 106 | #ifndef HAVE_STRERROR | 106 | #ifndef HAVE_STRERROR |
| 107 | #ifndef WINDOWSNT | 107 | #ifndef WINDOWSNT |
| 108 | char * | 108 | char * |
| 109 | strerror (errnum) | 109 | strerror (int errnum) |
| 110 | int errnum; | ||
| 111 | { | 110 | { |
| 112 | extern char *sys_errlist[]; | 111 | extern char *sys_errlist[]; |
| 113 | extern int sys_nerr; | 112 | extern int sys_nerr; |