version 1.1.1.4, 2020/04/03 17:41:20 |
version 1.1.1.5, 2022/12/23 17:01:32 |
|
|
/* arsup.c - Archive support for MRI compatibility |
/* arsup.c - Archive support for MRI compatibility |
Copyright (C) 1992-2018 Free Software Foundation, Inc. |
Copyright (C) 1992-2020 Free Software Foundation, Inc. |
|
|
This file is part of GNU Binutils. |
This file is part of GNU Binutils. |
|
|
Line 158 ar_open (char *name, int t) |
|
Line 158 ar_open (char *name, int t) |
|
if (asprintf (&tname, "%.*stmp-%s", (int) (bname - name), name, bname) == -1) |
if (asprintf (&tname, "%.*stmp-%s", (int) (bname - name), name, bname) == -1) |
{ |
{ |
fprintf (stderr, _("%s: Can't allocate memory for temp name (%s)\n"), |
fprintf (stderr, _("%s: Can't allocate memory for temp name (%s)\n"), |
program_name, strerror(errno)); |
program_name, strerror(errno)); |
maybequit (); |
maybequit (); |
return; |
return; |
} |
} |