Bash-4.2 patch 40
This commit is contained in:
parent
11d0fdf779
commit
774d3bf69d
2 changed files with 5 additions and 3 deletions
|
|
@ -25,6 +25,6 @@
|
|||
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
#define PATCHLEVEL 39
|
||||
#define PATCHLEVEL 40
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
|
|
|
|||
6
redir.c
6
redir.c
|
|
@ -1091,10 +1091,12 @@ do_redirection_internal (redirect, flags)
|
|||
|
||||
#if defined (BUFFERED_INPUT)
|
||||
check_bash_input (redirector);
|
||||
close_buffered_fd (redirector);
|
||||
r = close_buffered_fd (redirector);
|
||||
#else /* !BUFFERED_INPUT */
|
||||
close (redirector);
|
||||
r = close (redirector);
|
||||
#endif /* !BUFFERED_INPUT */
|
||||
if (r < 0 && (flags & RX_INTERNAL) && (errno == EIO || errno == ENOSPC))
|
||||
REDIRECTION_ERROR (r, errno, -1);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue