From: Thien-Thi Nguyen Date: Thu, 3 Mar 2005 15:37:29 +0000 (+0000) Subject: (Fkill_emacs): Use EXIT_SUCCESS; X-Git-Tag: ttn-vms-21-2-B4~2034 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fa439170423ac8a827952b0e3a06f26e5e30e857;p=emacs.git (Fkill_emacs): Use EXIT_SUCCESS; no longer special-case VMS. Add bogus return value. --- diff --git a/src/ChangeLog b/src/ChangeLog index e341ac65577..67215ee5176 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2005-03-03 Thien-Thi Nguyen + + * emacs.c (Fkill_emacs): Use EXIT_SUCCESS; + no longer special-case VMS. Add bogus return value. + 2005-03-02 Kim F. Storm * dispextern.h (XASSERTS): Define to 0 if not already defined. diff --git a/src/emacs.c b/src/emacs.c index cdc80ae0893..75196d83159 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -2052,14 +2052,9 @@ all of which are called before Emacs is actually killed. */) if (STRINGP (Vauto_save_list_file_name)) unlink (SDATA (Vauto_save_list_file_name)); - exit (INTEGERP (arg) ? XINT (arg) -#ifdef VMS - : 1 -#else - : 0 -#endif - ); + exit (INTEGERP (arg) ? XINT (arg) : EXIT_SUCCESS); /* NOTREACHED */ + return 0; }