projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fa66b8
)
(do_link): Invoke xalloc_die instead of printing our own message.
author
Jim Meyering
<jim@meyering.net>
Tue, 8 Aug 2000 07:11:46 +0000
(07:11 +0000)
committer
Jim Meyering
<jim@meyering.net>
Tue, 8 Aug 2000 07:11:46 +0000
(07:11 +0000)
src/ln.c
patch
|
blob
|
history
diff --git
a/src/ln.c
b/src/ln.c
index
b9a954a
..
e17c959
100644
(file)
--- a/
src/ln.c
+++ b/
src/ln.c
@@
-262,7
+262,7
@@
do_link (const char *source, const char *dest)
{
char *tmp_backup = find_backup_file_name (dest, backup_type);
if (tmp_backup == NULL)
-
error (1, 0, _("virtual memory exhausted")
);
+
xalloc_die (
);
dest_backup = (char *) alloca (strlen (tmp_backup) + 1);
strcpy (dest_backup, tmp_backup);
free (tmp_backup);