commit bash-20090416 snapshot

This commit is contained in:
Chet Ramey
2011-12-08 20:08:14 -05:00
parent 83c14a205e
commit 2d0c84ef11
25 changed files with 2697 additions and 58 deletions
+31
View File
@@ -7934,3 +7934,34 @@ parse.y
character can change to a state where a reserved word is legal,
since it is not a shell meta character. Fixes bug reported by
Bernd Eggink <monoped@sudrala.de>.
4/17
----
jobs.c
- new functions to save and restore the pgrp_pipe (since there's only
one): save_pgrp_pipe and restore_pgrp_pipe
trap.c
- run_debug_trap now saves and restores the pgrp_pipe before and
after calling the debug trap
- run_debug_trap now makes sure the terminal is owned by the pipeline
pgrp after the debug trap runs. Rest of fix for bug reported by
Oleksly Melnyk <o.melnyk@upc.ua> (lex@upc.ca)
4/19
----
include/posixselect.h
- new include file, encapsulates select(2) includes and defines for
bash and readline. Inspired by patch from Mike Frysinger
<vapier@gentoo.org>
lib/sh/input_avail.c
- include "posixselect.h"
lib/readline/{input,parens}.c
- include "posixselect.h" instead of using inline includes
- use new USEC_TO_TIMEVAL define to make sure that values for timeouts
greater than one second are handled properly
lib/sh/fpurge.c
- updated implementation, taken from gnulib
+36
View File
@@ -7926,3 +7926,39 @@ lib/readline/terminal.c
- in rl_resize_terminal, don't call rl_redisplay_after_sigwinch() if
we're already in the middle of redisplay (RL_STATE_REDISPLAYING).
Fix for bug reported by Nicolai Lissner <nlissne@linux01.org>
4/15
----
parse.y
- fix parse_comsub to add check for \n when seeing whether the current
character can change to a state where a reserved word is legal,
since it is not a shell meta character. Fixes bug reported by
Bernd Eggink <monoped@sudrala.de>.
4/17
----
jobs.c
- new functions to save and restore the pgrp_pipe (since there's only
one): save_pgrp_pipe and restore_pgrp_pipe
trap.c
- run_debug_trap now saves and restores the pgrp_pipe before and
after calling the debug trap
- run_debug_trap now makes sure the terminal is owned by the pipeline
pgrp after the debug trap runs. Rest of fix for bug reported by
Oleksly Melnyk <o.melnyk@upc.ua> (lex@upc.ca)
4/19
----
include/posixselect.h
- new include file, encapsulates select(2) includes and defines for
bash and readline. Inspired by patch from Mike Frysinger
<vapier@gentoo.org>
lib/sh/input_avail.c
- include "posixselect.h"
lib/readline/{input,parens}.c
- include "posixselect.h" instead of using inline includes
- use new USEC_TO_TIMEVAL define to make sure that values for timeouts
greater than one second are handled properly