projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f6d557
)
revert-last-change
author
Jim Meyering
<jim@meyering.net>
Sat, 14 Nov 1998 13:13:10 +0000
(13:13 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 14 Nov 1998 13:13:10 +0000
(13:13 +0000)
lib/backupfile.c
patch
|
blob
|
history
diff --git
a/lib/backupfile.c
b/lib/backupfile.c
index a22a7f235e2d255c875258e94ac117deed9d4dfc..c20337a0a87ffd34bc018de5e8360e1e2a08c766 100644
(file)
--- 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];
}