search for: dotcmd

Displaying 6 results from an estimated 6 matches for "dotcmd".

Did you mean: do_cmd
2019 Jan 25
0
[klibc:update-dash] [BUILTIN] Handle -- in dotcmd
...libc.git;a=commit;h=cf7826f66c01eed24475a140d934b7a75b28d23e Author: Herbert Xu <herbert at gondor.apana.org.au> AuthorDate: Mon, 27 Oct 2014 16:56:46 +0800 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Fri, 25 Jan 2019 02:57:21 +0000 [klibc] [BUILTIN] Handle -- in dotcmd This patch adds a nextopt call in dotcmd in order to handle --. Reported-by: Stephane Chazelas <stephane_chazelas at yahoo.fr> Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au> Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/dash/main.c | 8 ++++++-- 1 f...
2020 Mar 28
0
[klibc:update-dash] dash: [BUILTIN] Handle -- in dotcmd
...it;a=commit;h=6297d755e71777d4fcf55d106d11f9e631fa547f Author: Herbert Xu <herbert at gondor.apana.org.au> AuthorDate: Mon, 27 Oct 2014 16:56:46 +0800 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Sat, 28 Mar 2020 21:42:54 +0000 [klibc] dash: [BUILTIN] Handle -- in dotcmd [ dash commit 12ad48bb31b003eb6d3106478b7760a031969a36 ] This patch adds a nextopt call in dotcmd in order to handle --. Reported-by: Stephane Chazelas <stephane_chazelas at yahoo.fr> Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au> Signed-off-by: Ben Hutchings <ben at d...
2012 Jul 02
0
[klibc:master] [BUILTIN] Merge SKIPFUNC/ SKIPFILE and only clear SKIPFUNC when leaving dotcmd
...f5ada315d741869262 Author: Herbert Xu <herbert at gondor.apana.org.au> AuthorDate: Sat, 9 Jul 2011 22:05:22 +0800 Committer: maximilian attems <max at stro.at> CommitDate: Mon, 2 Jul 2012 10:45:36 +0200 [klibc] [BUILTIN] Merge SKIPFUNC/SKIPFILE and only clear SKIPFUNC when leaving dotcmd Currently upon leaving a dotcmd the evalskip state is reset so if a continue/break statement is used within a dot script it would have no effect outside of the dot script. This is inconsistent with other shells. This patch is based on one by Jilles Tjoelker and only clears SKIPFUNC when leaving...
2012 Oct 05
0
2.0.2 klibc release
...1 released, next version is 2.0.2 Harald van Dijk (1): [klibc] [ARITH] Avoid imaxdiv when only one of the results is wanted Herbert Xu (3): [klibc] [BUILTIN] Eliminate unnecessary promotion in echocmd [klibc] [BUILTIN] Merge SKIPFUNC/SKIPFILE and only clear SKIPFUNC when leaving dotcmd [klibc] [VAR] Sanitise environment variable names on entry Jim Meyering (4): [klibc] [MEMALLOC] Avoid gcc warning: variable 'oldstackp' set but not used [klibc] [MEMALLOC] Avoid clang warning about dead store to "size" [klibc] [EVAL] Avoid using undefined...
2020 Mar 28
0
[klibc:update-dash] dash: eval: Reset handler when entering a subshell
...xraise(EXEXIT); /* NOTREACHED */ } + +void reset_handler(void) +{ + handler = &main_handler; +} diff --git a/usr/dash/main.h b/usr/dash/main.h index 19e49835..51f1604c 100644 --- a/usr/dash/main.h +++ b/usr/dash/main.h @@ -52,3 +52,4 @@ extern int *dash_errno; void readcmdfile(char *); int dotcmd(int, char **); int exitcmd(int, char **); +void reset_handler(void);
2011 Jun 14
0
klibc 1.5.23 release
...[klibc] [REDIR] Replace GPL noclobberopen code with the FreeBSD version [klibc] [EXPAND] Do not split the result of tilde expansion Jonathan Nieder (5): [klibc] [BUILTIN] Use EXEXIT in place of EXEXEC [klibc] [BUILTIN] Stop documenting EXSHELLPROC [klibc] [BUILTIN] Dotcmd should exit with zero when doing nothing [klibc] [EXPAND] Free IFS state after here document expansion [klibc] [DEBUG] Use va_copy when reusing a va_list Konstantinos Margaritis (1): [klibc] arm: use conditional assignments for CPU_{ARCH,TUNE} Maciej ?enczykowski (1): [kli...