projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f93f1d7
)
(same_name): Invoke xalloc_die instead of printing our own message.
author
Jim Meyering
<jim@meyering.net>
Mon, 7 Aug 2000 16:55:57 +0000
(16:55 +0000)
committer
Jim Meyering
<jim@meyering.net>
Mon, 7 Aug 2000 16:55:57 +0000
(16:55 +0000)
lib/same.c
patch
|
blob
|
history
diff --git
a/lib/same.c
b/lib/same.c
index dc28c7bdabdcaadcb3b25a3b82e72a75908d49e8..beb75c44edb078bf81a2ddac3c8a575379a7f1ce 100644
(file)
--- a/
lib/same.c
+++ b/
lib/same.c
@@
-45,6
+45,7
@@
extern int errno;
#include "same.h"
#include "dirname.h"
#include "error.h"
+#include "xalloc.h"
#if ENABLE_NLS
# include <libintl.h>
@@
-81,7
+82,7
@@
same_name (const char *source, const char *dest)
source_dirname = dir_name (source);
dest_dirname = dir_name (dest);
if (source_dirname == NULL || dest_dirname == NULL)
-
error (1, 0, _("virtual memory exhausted")
);
+
xalloc_die (
);
if (stat (source_dirname, &source_dir_stats))
{