mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-15 16:10:50 +02:00
commit bash-20060307 snapshot
This commit is contained in:
+1
-1
@@ -470,7 +470,7 @@ glob_vector (pat, dir, flags)
|
||||
while (1)
|
||||
{
|
||||
/* Make globbing interruptible in the shell. */
|
||||
if (interrupt_state)
|
||||
if (interrupt_state || terminating_signal)
|
||||
{
|
||||
lose = 1;
|
||||
break;
|
||||
|
||||
@@ -508,10 +508,7 @@ glob_vector (pat, dir, flags)
|
||||
{
|
||||
nextlink = (struct globval *) malloc (sizeof (struct globval));
|
||||
if (firstmalloc == 0)
|
||||
{
|
||||
firstmalloc = nextlink;
|
||||
itrace("glob_vector: switching from alloca to malloc for nextlink: count = %d", count);
|
||||
}
|
||||
}
|
||||
nextname = (char *) malloc (D_NAMLEN (dp) + 1);
|
||||
if (nextlink == 0 || nextname == 0)
|
||||
|
||||
Reference in New Issue
Block a user