diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 5 | ||||
| -rw-r--r-- | lib-src/make-docfile.c | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 3e2350c7842..1a0774e7e57 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2003-12-24 Thien-Thi Nguyen <ttn@gnu.org> | ||
| 2 | |||
| 3 | * make-docfile.c (main): For return code, no longer special-case VMS. | ||
| 4 | Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h. | ||
| 5 | |||
| 1 | 2003-09-28 Andreas B,A|(Bsching <crunchy@tzi.de> (tiny change) | 6 | 2003-09-28 Andreas B,A|(Bsching <crunchy@tzi.de> (tiny change) |
| 2 | 7 | ||
| 3 | * emacsclient.c (quote_file_name): Print the result instead of | 8 | * emacsclient.c (quote_file_name): Print the result instead of |
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c index 7330b821768..4210320b591 100644 --- a/lib-src/make-docfile.c +++ b/lib-src/make-docfile.c | |||
| @@ -23,6 +23,7 @@ Boston, MA 02111-1307, USA. */ | |||
| 23 | of GNU Emacs. .elc and .el and .c files are allowed. | 23 | of GNU Emacs. .elc and .el and .c files are allowed. |
| 24 | A .o file can also be specified; the .c file it was made from is used. | 24 | A .o file can also be specified; the .c file it was made from is used. |
| 25 | This helps the makefile pass the correct list of files. | 25 | This helps the makefile pass the correct list of files. |
| 26 | Option -d DIR means change to DIR before looking for files. | ||
| 26 | 27 | ||
| 27 | The results, which go to standard output or to a file | 28 | The results, which go to standard output or to a file |
| 28 | specified with -a or -o (-a to append, -o to start from nothing), | 29 | specified with -a or -o (-a to append, -o to start from nothing), |
| @@ -174,10 +175,7 @@ main (argc, argv) | |||
| 174 | if (j == i) | 175 | if (j == i) |
| 175 | err_count += scan_file (argv[i]); | 176 | err_count += scan_file (argv[i]); |
| 176 | } | 177 | } |
| 177 | #ifndef VMS | 178 | return (err_count > 0 ? EXIT_FAILURE : EXIT_SUCCESS); |
| 178 | exit (err_count > 0); | ||
| 179 | #endif /* VMS */ | ||
| 180 | return err_count > 0; | ||
| 181 | } | 179 | } |
| 182 | 180 | ||
| 183 | /* Read file FILENAME and output its doc strings to outfile. */ | 181 | /* Read file FILENAME and output its doc strings to outfile. */ |