From 63c5aedf16d1dd1ef82ecb8d4105c2377442d14c Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Thu, 3 Mar 2005 15:04:06 +0000 Subject: [PATCH] (Fkill_emacs): Use EXIT_SUCCESS; no longer special-case VMS. Add bogus return value. --- src/ChangeLog | 5 +++++ src/emacs.c | 9 ++------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 411622c3504..6c66d498f3a 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. + 2004-05-06 Thien-Thi Nguyen * emacs.c (main) [VMS]: Fix var ref. diff --git a/src/emacs.c b/src/emacs.c index e1816b59dc8..1c30ac8501d 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -1827,14 +1827,9 @@ all of which are called before Emacs is actually killed.") if (STRINGP (Vauto_save_list_file_name)) unlink (XSTRING (Vauto_save_list_file_name)->data); - exit (INTEGERP (arg) ? XINT (arg) -#ifdef VMS - : 1 -#else - : 0 -#endif - ); + exit (INTEGERP (arg) ? XINT (arg) : EXIT_SUCCESS); /* NOTREACHED */ + return 0; } -- 2.39.2