search for: histcmd

Displaying 7 results from an estimated 7 matches for "histcmd".

Did you mean: hist2d
2006 Feb 09
0
Dash fails to link with KLIBCKERNELOBJ set
...h/system.o KLIBCCC dash/bltin/test.o KLIBCCC dash/bltin/times.o KLIBCCC dash/var.o GEN dash/init.c KLIBCCC dash/init.o KLIBCLD dash/sh KLIBCLD dash/sh.shared dash/builtins.o:(.rodata+0x68): undefined reference to `bgcmd' dash/builtins.o:(.rodata+0x188): undefined reference to `histcmd' dash/builtins.o:(.rodata+0x1a0): undefined reference to `fgcmd' make[2]: *** [dash/sh.shared] Error 1 make[2]: *** Waiting for unfinished jobs.... dash/builtins.o:(.rodata+0x68): undefined reference to `bgcmd' dash/builtins.o:(.rodata+0x188): undefined reference to `histcmd' dash/b...
2019 Jan 25
0
[klibc:update-dash] [EVAL] Fix use-after-free in dotrap/evalstring
...valstring(char *s, int flags) if (evalskip) break; } + popstackmark(&smark); popfile(); + stunalloc(s); return status; } diff --git a/usr/dash/histedit.c b/usr/dash/histedit.c index b27d6294..94465d78 100644 --- a/usr/dash/histedit.c +++ b/usr/dash/histedit.c @@ -372,8 +372,7 @@ histcmd(int argc, char **argv) out2str(s); } - evalstring(strcpy(stalloc(strlen(s) + 1), s), - 0); + evalstring(s, 0); if (displayhist && hist) { /* * XXX what about recursive and
2019 Jan 25
0
[klibc:update-dash] histedit: fix build with musl libc
...2018 08:32:16 +0200 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Fri, 25 Jan 2019 02:57:21 +0000 [klibc] histedit: fix build with musl libc musl libc defines the optreset BSD extension only in getopt.h. This fixes the following build failure: histedit.c: In function 'histcmd': histedit.c:220:2: error: 'optreset' undeclared (first use in this function) optreset = 1; optind = 1; /* initialize getopt */ ^~~~~~~~ Signed-off-by: Baruch Siach <baruch at tkos.co.il> Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au> Signed-off-by: Ben Hutc...
2020 Mar 28
0
[klibc:update-dash] dash: [EVAL] Fix use-after-free in dotrap/evalstring
...valstring(char *s, int flags) if (evalskip) break; } + popstackmark(&smark); popfile(); + stunalloc(s); return status; } diff --git a/usr/dash/histedit.c b/usr/dash/histedit.c index b27d6294..94465d78 100644 --- a/usr/dash/histedit.c +++ b/usr/dash/histedit.c @@ -372,8 +372,7 @@ histcmd(int argc, char **argv) out2str(s); } - evalstring(strcpy(stalloc(strlen(s) + 1), s), - 0); + evalstring(s, 0); if (displayhist && hist) { /* * XXX what about recursive and
2020 Mar 28
0
[klibc:update-dash] dash: histedit: fix build with musl libc
...nt.org.uk> CommitDate: Sat, 28 Mar 2020 21:42:54 +0000 [klibc] dash: histedit: fix build with musl libc [ dash commit 523d24878f5fb20c03210d10a919058a43fb5c31 ] musl libc defines the optreset BSD extension only in getopt.h. This fixes the following build failure: histedit.c: In function 'histcmd': histedit.c:220:2: error: 'optreset' undeclared (first use in this function) optreset = 1; optind = 1; /* initialize getopt */ ^~~~~~~~ Signed-off-by: Baruch Siach <baruch at tkos.co.il> Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au> Signed-off-by: Ben Hutc...
2006 Feb 15
0
Unable to build linux-2.6-klibc with O=
...BCCC usr/dash/bltin/printf.o KLIBCCC usr/dash/system.o KLIBCCC usr/dash/bltin/test.o KLIBCCC usr/dash/bltin/times.o KLIBCCC usr/dash/var.o KLIBCLD usr/dash/sh usr/dash/builtins.o:(.rodata+0x34): undefined reference to `bgcmd' usr/dash/builtins.o:(.rodata+0xc4): undefined reference to `histcmd' usr/dash/builtins.o:(.rodata+0xd0): undefined reference to `fgcmd' make[3]: *** [usr/dash/sh] Error 1 make[2]: *** [klibcdirs] Error 2 make[1]: *** [usr] Error 2 make: *** [cdbuilddir] Error 2 This does not happen without O=, and I don't know what's going wrong :( Luca -- Home:...
2010 Jul 09
1
dash klibc DEBUG more compile trouble
...error: ?H_SETSIZE? undeclared (first use in this function) usr/dash/histedit.c: In function ?setterm?: usr/dash/histedit.c:166: error: ?el? undeclared (first use in this function) usr/dash/histedit.c:167: error: ?EL_TERMINAL? undeclared (first use in this function) usr/dash/histedit.c: In function ?histcmd?: usr/dash/histedit.c:182: error: ?HistEvent? undeclared (first use in this function) usr/dash/histedit.c:182: error: expected ?;? before ?he? usr/dash/histedit.c:191: error: ?MAXPATHLEN? undeclared (first use in this function) usr/dash/histedit.c:209: error: ?hist? undeclared (first use in this fu...