search for: 43d76ce1

Displaying 4 results from an estimated 4 matches for "43d76ce1".

2019 Jan 25
0
[klibc:update-dash] dash: Change mktokens back to creating token.h itself
...targets += token.h quiet_cmd_mktokens = GEN $@ - cmd_mktokens = sh $< > $@ + cmd_mktokens = (cd $(obj) && sh $(srctree)/$(src)/mktokens) $(obj)/token.h: $(src)/mktokens $(call if_changed,mktokens) diff --git a/usr/dash/mktokens b/usr/dash/mktokens index 8fbcef1b..43d76ce1 100644 --- a/usr/dash/mktokens +++ b/usr/dash/mktokens @@ -69,7 +69,7 @@ TBEGIN 0 "{" TEND 1 "}" ! nl=`wc -l /tmp/ka$$` - +exec > token.h awk '{print "#define " $1 " " NR-1}' /tmp/ka$$ echo ' /* Array indicating which tokens mark the end...
2020 Mar 28
0
[klibc:update-dash] dash: Change mktokens back to creating token.h itself
...* The read built-in implements the -t option like bash -* mktokens is modified to support out-of-tree builds * Some header files have header guards added * Changelog and some manual pages are omitted * Automatic whitespace fixups diff --git a/usr/dash/mktokens b/usr/dash/mktokens index 8fbcef1b..43d76ce1 100644 --- a/usr/dash/mktokens +++ b/usr/dash/mktokens @@ -69,7 +69,7 @@ TBEGIN 0 "{" TEND 1 "}" ! nl=`wc -l /tmp/ka$$` - +exec > token.h awk '{print "#define " $1 " " NR-1}' /tmp/ka$$ echo ' /* Array indicating which tokens mark the end...
2019 Jan 25
0
[klibc:update-dash] [SHELL] Optimize dash -c "command" to avoid a fork
...1,7 +171,7 @@ state2: state3: state = 4; if (minusc) - evalstring(minusc, 0); + evalstring(minusc, sflag ? 0 : EV_EXIT); if (sflag || minusc == NULL) { state4: /* XXX ??? - why isn't this before the "if" statement */ diff --git a/usr/dash/mktokens b/usr/dash/mktokens index 43d76ce1..fa6ccf78 100644 --- a/usr/dash/mktokens +++ b/usr/dash/mktokens @@ -71,13 +71,16 @@ TEND 1 "}" nl=`wc -l /tmp/ka$$` exec > token.h awk '{print "#define " $1 " " NR-1}' /tmp/ka$$ + +exec > token_vars.h + echo ' /* Array indicating which tokens ma...
2020 Mar 28
0
[klibc:update-dash] dash: [SHELL] Optimize dash -c "command" to avoid a fork
...1,7 +171,7 @@ state2: state3: state = 4; if (minusc) - evalstring(minusc, 0); + evalstring(minusc, sflag ? 0 : EV_EXIT); if (sflag || minusc == NULL) { state4: /* XXX ??? - why isn't this before the "if" statement */ diff --git a/usr/dash/mktokens b/usr/dash/mktokens index 43d76ce1..fa6ccf78 100644 --- a/usr/dash/mktokens +++ b/usr/dash/mktokens @@ -71,13 +71,16 @@ TEND 1 "}" nl=`wc -l /tmp/ka$$` exec > token.h awk '{print "#define " $1 " " NR-1}' /tmp/ka$$ + +exec > token_vars.h + echo ' /* Array indicating which tokens ma...