# HG changeset patch # User Thien-Thi Nguyen # Date 1072248563 0 # Node ID 957afba80853804ff28874553e02ae97d716213e # Parent 0e78d4abf53aab36a06c2747f16cc14cbb806c60 (main): For return code, no longer special-case VMS. Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h. diff -r 0e78d4abf53a -r 957afba80853 lib-src/make-docfile.c --- a/lib-src/make-docfile.c Wed Dec 24 06:39:58 2003 +0000 +++ b/lib-src/make-docfile.c Wed Dec 24 06:49:23 2003 +0000 @@ -23,6 +23,7 @@ of GNU Emacs. .elc and .el and .c files are allowed. A .o file can also be specified; the .c file it was made from is used. This helps the makefile pass the correct list of files. + Option -d DIR means change to DIR before looking for files. The results, which go to standard output or to a file specified with -a or -o (-a to append, -o to start from nothing), @@ -174,10 +175,7 @@ if (j == i) err_count += scan_file (argv[i]); } -#ifndef VMS - exit (err_count > 0); -#endif /* VMS */ - return err_count > 0; + return (err_count > 0 ? EXIT_FAILURE : EXIT_SUCCESS); } /* Read file FILENAME and output its doc strings to outfile. */