summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2003-12-24 06:49:23 +0000
committerThien-Thi Nguyen <ttn@gnuvola.org>2003-12-24 06:49:23 +0000
commit08a39b830496f07d491f94d205da822ba7c05a1f (patch)
tree3d34816f8e7d7787d86c394ac8aab3b7f8393683 /lib-src
parent2d176448abfc1a9142437d05b7a356eaa8fe6670 (diff)
downloademacs-08a39b830496f07d491f94d205da822ba7c05a1f.tar.gz
(main): For return code, no longer special-case VMS.
Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/make-docfile.c6
1 files changed, 2 insertions, 4 deletions
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. */
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 @@ main (argc, argv)
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. */