commit bash-20120127 snapshot

This commit is contained in:
Chet Ramey
2012-02-22 10:01:38 -05:00
parent a0350e0811
commit c31d56a7ba
19 changed files with 13327 additions and 50 deletions
+1 -1
View File
@@ -302,7 +302,7 @@ wextglob_skipname (pat, dname, flags)
*pe = L')';
return r;
#else
return (wchkname (pp, dname));
return (wchkname (pat, dname));
#endif
}
+8
View File
@@ -607,6 +607,8 @@ _rl_block_sigwinch ()
if (sigwinch_blocked)
return;
#if defined (SIGWINCH)
#if defined (HAVE_POSIX_SIGNALS)
sigemptyset (&sigwinch_set);
sigemptyset (&sigwinch_oset);
@@ -622,6 +624,8 @@ _rl_block_sigwinch ()
# endif /* !HAVE_BSD_SIGNALS */
#endif /* !HAVE_POSIX_SIGNALS */
#endif /* SIGWINCH */
sigwinch_blocked = 1;
}
@@ -632,6 +636,8 @@ _rl_release_sigwinch ()
if (sigwinch_blocked == 0)
return;
#if defined (SIGWINCH)
#if defined (HAVE_POSIX_SIGNALS)
sigprocmask (SIG_SETMASK, &sigwinch_oset, (sigset_t *)NULL);
#else
@@ -644,6 +650,8 @@ _rl_release_sigwinch ()
# endif /* !HAVE_BSD_SIGNALS */
#endif /* !HAVE_POSIX_SIGNALS */
#endif /* SIGWINCH */
sigwinch_blocked = 0;
}