changeset 21239:94b6f797d3a7

revert-last-change
author Jim Meyering <jim@meyering.net>
date Sat, 14 Nov 1998 13:13:10 +0000
parents 824ca6c9c1e3
children 9ab6723f7d96
files lib/backupfile.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/backupfile.c	Wed Nov 11 05:16:09 1998 +0000
+++ b/lib/backupfile.c	Sat Nov 14 13:13:10 1998 +0000
@@ -105,6 +105,10 @@
 # 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 = "~";
@@ -244,7 +248,7 @@
   if (i < 0)
     {
       invalid_arg ("version control type", version, i);
-      exit (EXIT_FAILURE);
+      exit (BACKUPFILE_EXIT_FAILURE);
     }
   return backup_types[i];
 }