bash-4.3-rc1 overlay

This commit is contained in:
Chet Ramey
2013-11-25 14:25:43 -05:00
parent 145d6930ab
commit 8581f42df9
139 changed files with 13994 additions and 7150 deletions
+4 -2
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;
}
}
@@ -457,7 +459,7 @@ close_buffered_fd (fd)
return (close_buffered_stream (buffers[fd]));
}
/* Make the BUFFERED_STREAM associcated with buffers[FD] be BP, and return
/* Make the BUFFERED_STREAM associated with buffers[FD] be BP, and return
the old BUFFERED_STREAM. */
BUFFERED_STREAM *
set_buffered_stream (fd, bp)