changeset 21240:9ab6723f7d96

revert-to-4.0-b7
author Jim Meyering <jim@meyering.net>
date Sat, 14 Nov 1998 13:17:34 +0000
parents 94b6f797d3a7
children e28d08093fbb
files lib/backupfile.c
diffstat 1 files changed, 2 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/lib/backupfile.c	Sat Nov 14 13:13:10 1998 +0000
+++ b/lib/backupfile.c	Sat Nov 14 13:17:34 1998 +0000
@@ -97,18 +97,6 @@
 # define REAL_DIR_ENTRY(dp) 1
 #endif
 
-/* The following test is to work around the gross typo in
-   systems like Sony NEWS-OS Release 4.0C, whereby EXIT_FAILURE
-   is defined to 0, not 1.  */
-#if !EXIT_FAILURE
-# undef EXIT_FAILURE
-# define EXIT_FAILURE 1
-#endif
-
-#ifndef BACKUPFILE_EXIT_FAILURE
-# define BACKUPFILE_EXIT_FAILURE EXIT_FAILURE
-#endif
-
 /* The extension added to file names to produce a simple (as opposed
    to numbered) backup file name. */
 const char *simple_backup_suffix = "~";
@@ -224,7 +212,7 @@
 }
 #endif /* HAVE_DIR */
 
-static const char *const backup_args[] =
+static const char * const backup_args[] =
 {
   "never", "simple", "nil", "existing", "t", "numbered", 0
 };
@@ -248,7 +236,7 @@
   if (i < 0)
     {
       invalid_arg ("version control type", version, i);
-      exit (BACKUPFILE_EXIT_FAILURE);
+      exit (2);
     }
   return backup_types[i];
 }