1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-26 02:30:35 +02:00

(savedir): Revert last change. malloc always

works when called with zero, because we use the wrapper if the
system version is lacking.
This commit is contained in:
Jim Meyering
1997-11-30 14:20:17 +00:00
parent 2807179898
commit 66fbc2c8f6
+1 -1
View File
@@ -87,7 +87,7 @@ savedir (dir, name_size)
if (dirp == NULL)
return NULL;
name_space = (char *) malloc (name_size ? name_size : 1);
name_space = (char *) malloc (name_size);
if (name_space == NULL)
{
closedir (dirp);