diff options
Diffstat (limited to 'bin/sh/expand.c')
-rw-r--r-- | bin/sh/expand.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/sh/expand.c b/bin/sh/expand.c index 6c8b023..a126ca6 100644 --- a/bin/sh/expand.c +++ b/bin/sh/expand.c @@ -956,6 +956,7 @@ recordregion(int start, int end, int inquotes) { struct ifsregion *ifsp; + INTOFF; if (ifslastp == NULL) { ifsp = &ifsfirst; } else { @@ -963,6 +964,7 @@ recordregion(int start, int end, int inquotes) && ifslastp->inquotes == inquotes) { /* extend previous area */ ifslastp->endoff = end; + INTON; return; } ifsp = (struct ifsregion *)ckmalloc(sizeof (struct ifsregion)); @@ -973,6 +975,7 @@ recordregion(int start, int end, int inquotes) ifslastp->begoff = start; ifslastp->endoff = end; ifslastp->inquotes = inquotes; + INTON; } |