Displaying 20 results from an estimated 21 matches for "cmdtype".
Did you mean:
cmd_type
2020 Mar 28
0
[klibc:update-dash] dash: exec: Never rehash regular built-ins
...ns(-)
diff --git a/usr/dash/exec.c b/usr/dash/exec.c
index 8948754b..6c0a64f6 100644
--- a/usr/dash/exec.c
+++ b/usr/dash/exec.c
@@ -287,9 +287,11 @@ hashcmd(int argc, char **argv)
}
c = 0;
while ((name = *argptr) != NULL) {
- if ((cmdp = cmdlookup(name, 0)) != NULL
- && (cmdp->cmdtype == CMDNORMAL
- || (cmdp->cmdtype == CMDBUILTIN && builtinloc >= 0)))
+ if ((cmdp = cmdlookup(name, 0)) &&
+ (cmdp->cmdtype == CMDNORMAL ||
+ (cmdp->cmdtype == CMDBUILTIN &&
+ !(cmdp->param.cmd->flags & BUILTIN_REGULAR) &&...
2012 Mar 27
1
Targeting Bugs for GlusterFS 3.3 Beta 3
This is a list of bugs that Vijay has tagged for the 3.3.0 beta3 milestone:
https://bugzilla.redhat.com/buglist.cgi?cmdtype=runnamed&namedcmd=Bugs%20targeted%20for%20GlusterFS%203.3.0%20beta3
Please take a look and see if any of them impact you. If so, feel free to add comments, and do please test fixes as they become available.
You are, of course, welcome to submit patches as well, should you be inclined to do...
2020 Mar 28
0
[klibc:update-dash] dash: eval: Add assignment built-in support again
...- spp = arglist.lastp;
- expandarg(argp, &arglist, EXP_FULL | EXP_TILDE);
- for (sp = *spp; sp; sp = sp->next)
+ for (;;) {
+ find_command(arglist.list->text, &cmdentry,
+ cmd_flag | DO_REGBLTIN, pathval());
+
+ /* implement bltin and command here */
+ if (cmdentry.cmdtype != CMDBUILTIN)
+ break;
+
+ pseudovarflag = cmdentry.u.cmd->flags & BUILTIN_ASSIGN;
+ if (likely(spclbltin < 0)) {
+ spclbltin =
+ cmdentry.u.cmd->flags &
+ BUILTIN_SPECIAL
+ ;
+ }
+ execcmd = cmdentry.u.cmd == EXECCMD;
+ if (likely(cmdentry.u.cmd != COMM...
2020 Mar 28
0
[klibc:update-dash] dash: exec: Stricter pathopt parsing
...-clearcmdentry(int firstchange)
+clearcmdentry(void)
{
struct tblentry **tblp;
struct tblentry **pp;
@@ -567,10 +600,8 @@ clearcmdentry(int firstchange)
for (tblp = cmdtable ; tblp < &cmdtable[CMDTABLESIZE] ; tblp++) {
pp = tblp;
while ((cmdp = *pp) != NULL) {
- if ((cmdp->cmdtype == CMDNORMAL &&
- cmdp->param.index >= firstchange)
- || (cmdp->cmdtype == CMDBUILTIN &&
- builtinloc >= firstchange)) {
+ if (cmdp->cmdtype == CMDNORMAL ||
+ (cmdp->cmdtype == CMDBUILTIN && builtinloc > 0)) {
*pp = cmdp->...
2019 Jan 25
0
[klibc:update-dash] builtin: describe_command - fix incorrect path
...is a tracked alias */
- if ((cmdp = cmdlookup(command, 0)) != NULL) {
+ /* Then if the standard search path is used, check if it is
+ * a tracked alias.
+ */
+ if (path == NULL) {
+ path = pathval();
+ cmdp = cmdlookup(command, 0);
+ } else {
+ cmdp = NULL;
+ }
+
+ if (cmdp != NULL) {
entry.cmdtype = cmdp->cmdtype;
entry.u = cmdp->param;
} else {
2020 Mar 28
0
[klibc:update-dash] dash: eval: Fail immediately with redirections errors for simple command
...p; argp = argp->narg.next) {
struct strlist **spp;
@@ -848,30 +859,19 @@ evalcommand(union node *cmd, int flags)
!(cmdentry.u.cmd->flags & BUILTIN_REGULAR)) {
find_command(argv[0], &cmdentry, cmd_flag | DO_ERR,
unlikely(path) ? path : pathval());
- if (cmdentry.cmdtype == CMDUNKNOWN) {
- status = 127;
-#ifdef FLUSHERR
- flushout(&errout);
-#endif
- goto bail;
- }
- }
-
- if (status) {
-bail:
- exitstatus = status;
-
- /* We have a redirection error. */
- if (spclbltin > 0)
- exraise(EXERROR);
-
- goto out;
}
jp = NULL;
/* Execute the...
2020 Mar 28
0
[klibc:update-dash] dash: builtin: describe_command - fix incorrect path
...is a tracked alias */
- if ((cmdp = cmdlookup(command, 0)) != NULL) {
+ /* Then if the standard search path is used, check if it is
+ * a tracked alias.
+ */
+ if (path == NULL) {
+ path = pathval();
+ cmdp = cmdlookup(command, 0);
+ } else {
+ cmdp = NULL;
+ }
+
+ if (cmdp != NULL) {
entry.cmdtype = cmdp->cmdtype;
entry.u = cmdp->param;
} else {
2007 Apr 10
0
[LLVMdev] LLVM Roadmap 2007-2008, PowerPC, multithreading, LLVM 2.0, etc ?
...bug_severity=enhancement&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&namedcmd=Bugs+I+Fixed&newqueryname=&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=
Other sources of information are llvmdev mailing list and the IRC
channel.
>
> Especially would be interesting to know about
>
> * planned...
2004 Apr 15
0
[LLVMdev] Linking strncpy
...&bug_status=RESOLVED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&namedcmd=All&newqueryname=&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=
Regards,
-- John T.
> -Eric
>
> ----- Forwarded message from Chris Lattner <sabre at nondot.org> -----
>
> Date: Wed, 14 Apr 2004 19:25:45...
2020 Mar 28
0
[klibc:update-dash] dash: eval: Replace with listsetvar with mklocal/setvareq
...-1;
+ vflags = 0;
+ vlocal = 0;
path = NULL;
argc = 0;
@@ -770,6 +773,8 @@ evalcommand(union node *cmd, int flags)
find_command(arglist.list->text, &cmdentry,
cmd_flag | DO_REGBLTIN, pathval());
+ vlocal++;
+
/* implement bltin and command here */
if (cmdentry.cmdtype != CMDBUILTIN)
break;
@@ -780,6 +785,7 @@ evalcommand(union node *cmd, int flags)
cmdentry.u.cmd->flags &
BUILTIN_SPECIAL
;
+ vlocal = spclbltin ^ BUILTIN_SPECIAL;
}
execcmd = cmdentry.u.cmd == EXECCMD;
if (likely(cmdentry.u.cmd != COMMANDCMD))
@@ -798,6...
2007 Apr 10
6
[LLVMdev] LLVM Roadmap 2007-2008, PowerPC, multithreading, LLVM 2.0, etc ?
Hi,
where could one find any LLVM development roadmap for this
and perhaps next year?
Especially would be interesting to know about
* planned features for PS3 Cell processor -- as well as for Wii, Xbox360 CPUs
* multithreading in general
* possibly coming changes in major versioning and related issues
* other interesting featuring
comments on current status to above listed items are also
2019 Jan 25
0
[klibc:update-dash] eval: Restore input files in evalcommand
...ruct stackmark smark;
union node *argp;
@@ -722,6 +723,7 @@ evalcommand(union node *cmd, int flags)
TRACE(("evalcommand(0x%lx, %d) called\n", (long)cmd, flags));
setstackmark(&smark);
localvar_stop = pushlocalvars();
+ file_stop = parsefile;
back_exitstatus = 0;
cmdentry.cmdtype = CMDBUILTIN;
@@ -896,6 +898,7 @@ out:
if (cmd->ncmd.redirect)
popredir(execcmd);
unwindredir(redir_stop);
+ unwindfiles(file_stop);
unwindlocalvars(localvar_stop);
if (lastarg)
/* dsl: I think this is intended to be used to support
diff --git a/usr/dash/input.c b/usr/dash/input.c...
2010 Jul 25
1
Query for old bugs with no activity
Is it possible to get a premade query for bugs whom have not had activity for 6+ months? There was one as a sticky in the past.
Thanks!
2020 Mar 28
0
[klibc:update-dash] dash: eval: Restore input files in evalcommand
...ruct stackmark smark;
union node *argp;
@@ -722,6 +723,7 @@ evalcommand(union node *cmd, int flags)
TRACE(("evalcommand(0x%lx, %d) called\n", (long)cmd, flags));
setstackmark(&smark);
localvar_stop = pushlocalvars();
+ file_stop = parsefile;
back_exitstatus = 0;
cmdentry.cmdtype = CMDBUILTIN;
@@ -896,6 +898,7 @@ out:
if (cmd->ncmd.redirect)
popredir(execcmd);
unwindredir(redir_stop);
+ unwindfiles(file_stop);
unwindlocalvars(localvar_stop);
if (lastarg)
/* dsl: I think this is intended to be used to support
diff --git a/usr/dash/input.c b/usr/dash/input.c...
2019 Jan 25
0
[klibc:update-dash] eval: Reap zombies after built-in commands and functions
....c | 8 +++++---
2 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/usr/dash/eval.c b/usr/dash/eval.c
index 6ba64b12..811c28a4 100644
--- a/usr/dash/eval.c
+++ b/usr/dash/eval.c
@@ -848,6 +848,8 @@ bail:
goto out;
}
+ jp = NULL;
+
/* Execute the command. */
switch (cmdentry.cmdtype) {
default:
@@ -856,7 +858,6 @@ bail:
INTOFF;
jp = makejob(cmd, 1);
if (forkshell(jp, cmd, FORK_FG) != 0) {
- status = waitforjob(jp);
INTON;
break;
}
@@ -875,22 +876,22 @@ bail:
if (evalbltin(cmdentry.u.cmd, argc, argv, flags)) {
if (exception == EXERROR &...
2020 Mar 28
0
[klibc:update-dash] dash: eval: Reap zombies after built-in commands and functions
....c | 8 +++++---
2 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/usr/dash/eval.c b/usr/dash/eval.c
index a679ba31..26055493 100644
--- a/usr/dash/eval.c
+++ b/usr/dash/eval.c
@@ -848,6 +848,8 @@ bail:
goto out;
}
+ jp = NULL;
+
/* Execute the command. */
switch (cmdentry.cmdtype) {
default:
@@ -856,7 +858,6 @@ bail:
INTOFF;
jp = makejob(cmd, 1);
if (forkshell(jp, cmd, FORK_FG) != 0) {
- status = waitforjob(jp);
INTON;
break;
}
@@ -875,22 +876,22 @@ bail:
if (evalbltin(cmdentry.u.cmd, argc, argv, flags)) {
if (exception == EXERROR &...
2005 Aug 08
0
Re: asterisk rpms (was: Does anyone run Asterisk on FC4? with Digium's TDM40B cards)
...status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=
>
>Thanks!
2009 May 06
8
Call for volunteers
Howdy Wine users!
The list of bugs with downloads that haven't been checked on in a while has gotten pretty long (1,359! as of May 6, 2009).
If you're a moderate to advanced user of wine, please help by downloading and testing these applications and testing these bugs.
Be sure you're using a recent version of wine (1.1.20 or git) and testing in a clean WINEPREFIX.
Quick guide:
1)
2004 Apr 14
5
[LLVMdev] Linking strncpy
Chris,
I'm fine with using JIT, but I'm trying to understand this problem:
1. My LLVM program does not produce correct results
2. Using llvm-dis, I disassemble the bytecode to C
3. I recompile using GCC and the program _works correctly_.
The only odd thing is when I recompile with GCC, I see these messages:
pal3.c:195: warning: conflicting types for built-in function `strcmp'
2008 Jan 16
1
Debug data for Wine, DirectX and games.
Hi there wine list this is not going to be a request for help as much as
it's a request for how I can help the wine developers. I've got some
time over the next couple of weeks and a stack of applications I want to
see if I can get running under wine.
I thought if I started testing a whole bunch of things I might be able
to gather some useful test data for the wine developers as a way