# | Line 14 | Line 14 | static char SCCSid[] = "$SunId$ LBL"; | |
---|---|---|
14 | ||
15 | /* set the following to suit, -1 to disable */ | |
16 | int envexpchr = '$'; /* environment expansion character */ | |
17 | < | int filexpchr = '^'; /* file expansion character */ |
17 | > | int filexpchr = '@'; /* file expansion character */ |
18 | ||
19 | ||
20 | expandarg(acp, avp, n) /* expand list at argument n */ | |
# | Line 26 | Line 26 | int n; | |
26 | char *ave[MAXARGEXP]; | |
27 | char **newav; | |
28 | /* check argument */ | |
29 | + | if (n >= *acp) |
30 | + | return(0); |
31 | errno = 0; | |
32 | if ((*avp)[n][0] == filexpchr) { /* file name */ | |
33 | ace = wordfile(ave, (*avp)[n]+1); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |