mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-11-30 11:47:47 +01:00
commit bash-20131025 snapshot
This commit is contained in:
1 parent
39feef01a7
commit
d76edd307c
52 files changed
+23403
-6663
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user