commit bash-20131025 snapshot

This commit is contained in:
Chet Ramey committed 2013-11-05 11:33:42 -05:00
1 parent 39feef01a7
commit d76edd307c
52 files changed
+23403 -6663

No files matched your search

+3 -1
View File
@@ -42,6 +42,7 @@
#include "error.h"
#include "externs.h"
#include "quit.h"
#include "trap.h"
#if !defined (errno)
extern int errno;
@@ -99,13 +100,14 @@ getc_with_restart (stream)
if (sh_unset_nodelay_mode (fileno (stream)) < 0)
{
sys_error (_("cannot reset nodelay mode for fd %d"), fileno (stream));
local_index = local_bufused = 0;
return EOF;
}
continue;
}
else if (errno != EINTR)
{
local_index = 0;
local_index = local_bufused = 0;
return EOF;
}
}