summaryrefslogtreecommitdiff
path: root/lib/backupfile.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-11-14 13:13:10 +0000
committerJim Meyering <jim@meyering.net>1998-11-14 13:13:10 +0000
commit84c2d0e52e9647756cf12b3c30431acd8f5c7b81 (patch)
tree5935ca1df579207f6ea911663741afb6232d15c4 /lib/backupfile.c
parent6c0c08eb29fafc5c8babf2ed67495412654ae3d4 (diff)
downloadcoreutils-84c2d0e52e9647756cf12b3c30431acd8f5c7b81.tar.xz
revert-last-change
Diffstat (limited to 'lib/backupfile.c')
-rw-r--r--lib/backupfile.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/backupfile.c b/lib/backupfile.c
index a22a7f235..c20337a0a 100644
--- a/lib/backupfile.c
+++ b/lib/backupfile.c
@@ -105,6 +105,10 @@ char *malloc ();
# 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 @@ get_version (const char *version)
if (i < 0)
{
invalid_arg ("version control type", version, i);
- exit (EXIT_FAILURE);
+ exit (BACKUPFILE_EXIT_FAILURE);
}
return backup_types[i];
}