mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-26 18:01:03 +02:00
Vin Shelton: 19073: Replace C++-style comment.
Vin Shelton: 19038: Make sed grok icc's cpp output.
This commit is contained in:
parent
3efb2ec394
commit
49b25bc3d2
3 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2003-09-15 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* Vin Shelton: 19073: Src/exec.c (execcmd): Replace C++-style comment.
|
||||
|
||||
* Vin Shelton: 19038: zshconfig.ac: Make sed grok icc's cpp output.
|
||||
|
||||
2003-09-14 Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
|
||||
|
||||
* 19053 modified c.f. 19056: Functions/MIME, Doc/Zsh/contrib.yo:
|
||||
|
|
|
@ -1824,7 +1824,7 @@ execcmd(Estate state, int input, int output, int how, int last1)
|
|||
cflags |= hn->flags;
|
||||
checked = 0;
|
||||
if (cflags & BINF_COMMAND && nextnode(firstnode(args))) {
|
||||
// check for options to command builtin
|
||||
/* check for options to command builtin */
|
||||
char *next = (char *) getdata(nextnode(firstnode(args)));
|
||||
char *cmdopt;
|
||||
if (next && *next == '-' && strlen(next) == 2 &&
|
||||
|
|
|
@ -1081,7 +1081,8 @@ dnl The backslash substitution is to persuade cygwin to cough up
|
|||
dnl slashes rather than doubled backslashes in the path.
|
||||
echo "#include <signal.h>" > nametmp.c
|
||||
sigfile_list="`$CPP nametmp.c |
|
||||
sed -n 's/^#[ ].*\"\(.*\)\"/\1/p' |
|
||||
sed -n -e 's/^#line[ ].*\"\(.*\)\"/\1/p' \
|
||||
-e 's/^#[ ].*\"\(.*\)\"/\1/p' |
|
||||
sed 's/\\\\\\\\/\//g' |
|
||||
$AWK '{ if (\$1 ~ \"sig\") files[[\$1]] = \$1 }
|
||||
END { for (var in files) print var }'`"
|
||||
|
@ -1128,7 +1129,8 @@ dnl The backslash substitution is to persuade cygwin to cough up
|
|||
dnl slashes rather than doubled backslashes in the path.
|
||||
echo "#include <errno.h>" > nametmp.c
|
||||
errfile_list="`$CPP nametmp.c |
|
||||
sed -n 's/^#[ ].*\"\(.*\)\"/\1/p' |
|
||||
sed -n -e 's/^#line[ ].*\"\(.*\)\"/\1/p' \
|
||||
-e 's/^#[ ].*\"\(.*\)\"/\1/p' |
|
||||
sed 's/\\\\\\\\/\//g' |
|
||||
$AWK '{ if (\$1 ~ \"err\") files[[\$1]] = \$1 }
|
||||
END { for (var in files) print var }'`"
|
||||
|
|
Loading…
Reference in a new issue