commit bash-20090108 snapshot

This commit is contained in:
Chet Ramey
2011-12-07 09:35:09 -05:00
parent 012bac3904
commit dc9f44b307
146 changed files with 13566 additions and 12823 deletions
+5 -2
View File
@@ -52,9 +52,12 @@ fdprintf(fd, format, va_alist)
if ((fd2 = dup(fd)) < 0)
return -1;
fp = fdopen (dup (fd), "w");
fp = fdopen (fd2, "w");
if (fp == 0)
return -1;
{
close (fd2);
return -1;
}
SH_VA_START (args, format);
rc = vfprintf (fp, format, args);