search for: ifsfirst

Displaying 4 results from an estimated 4 matches for "ifsfirst".

Did you mean: f_first
2012 Jul 02
0
[klibc:master] [EVAL] Remove unused EV_BACKCMD flag
...he shell, because we are not keeping - * enough state to recover from changes that are - * supposed only to affect subshells. eg. echo "`cd /`" - */ - if (n->type == NCMD) { - struct ifsregion saveifs; - struct ifsregion *savelastp; - struct nodelist *saveargbackq; - - saveifs = ifsfirst; - savelastp = ifslastp; - saveargbackq = argbackq; - - exitstatus = oexitstatus; - evalcommand(n, EV_BACKCMD, result); - - ifsfirst = saveifs; - ifslastp = savelastp; - argbackq = saveargbackq; - } else -#endif - { - int pip[2]; - struct job *jp; - - if (pipe(pip) < 0) - sh_error(&q...
2011 Jun 14
0
klibc 1.5.23 release
...klibc] [JOBS] Fix wait regression where it does not wait for all jobs [klibc] [BUILTIN] Continue after EINTR in read(1) with no pending signals [klibc] [VAR] Fix loss of variables when hash collides [klibc] [EVAL] Removed dead code for eval NPIPE [klibc] [EXPAND] Fix ifsfirst/ifslastp leak [klibc] [BUILTIN] Fix trailing field bug in read(1) [klibc] [BUILTIN] Fix EXEXEC status clobbering [klibc] [EXPAND] Fix ifsfirst/ifslastp leak in casematch [klibc] [EVAL] Fixed trap/return regression due to SKIPEVAL removal [klibc] [ERROR] Allow the origi...
2019 Jan 25
0
[klibc:update-dash] expand: Fix bugs with words connected to the right of $@
...{ + p = evalvar(p + 1, flag | EXP_QUOTED) + 1; goto start; } + inquotes ^= EXP_QUOTED; addquote: if (flag & QUOTES_ESC) { p--; @@ -1032,7 +1032,10 @@ ifsbreakup(char *string, int maxargs, struct arglist *arglist) realifs = ifsset() ? ifsval() : defifs; ifsp = &ifsfirst; do { + int afternul; + p = string + ifsp->begoff; + afternul = nulonly; nulonly = ifsp->nulonly; ifs = nulonly ? nullstr : realifs; ifsspc = 0; @@ -1097,7 +1100,7 @@ ifsbreakup(char *string, int maxargs, struct arglist *arglist) } if (isifs) { - if (!nu...
2020 Mar 28
0
[klibc:update-dash] dash: expand: Fix bugs with words connected to the right of $@
...{ + p = evalvar(p + 1, flag | EXP_QUOTED) + 1; goto start; } + inquotes ^= EXP_QUOTED; addquote: if (flag & QUOTES_ESC) { p--; @@ -1032,7 +1032,10 @@ ifsbreakup(char *string, int maxargs, struct arglist *arglist) realifs = ifsset() ? ifsval() : defifs; ifsp = &ifsfirst; do { + int afternul; + p = string + ifsp->begoff; + afternul = nulonly; nulonly = ifsp->nulonly; ifs = nulonly ? nullstr : realifs; ifsspc = 0; @@ -1097,7 +1100,7 @@ ifsbreakup(char *string, int maxargs, struct arglist *arglist) } if (isifs) { - if (!nu...