mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-30 16:00:53 +01:00
zsh-3.1.6-pws-1
This commit is contained in:
parent
61e68d70da
commit
784c413690
39 changed files with 3261 additions and 1738 deletions
|
|
@ -80,7 +80,7 @@ bin_example(char *nam, char **args, char *ops, int func)
|
|||
static int
|
||||
cond_p_len(char **a, int id)
|
||||
{
|
||||
char *s1 = cond_str(a, 0);
|
||||
char *s1 = cond_str(a, 0, 0);
|
||||
|
||||
if (a[1]) {
|
||||
zlong v = cond_val(a, 1);
|
||||
|
|
@ -95,7 +95,7 @@ cond_p_len(char **a, int id)
|
|||
static int
|
||||
cond_i_ex(char **a, int id)
|
||||
{
|
||||
char *s1 = cond_str(a, 0), *s2 = cond_str(a, 1);
|
||||
char *s1 = cond_str(a, 0, 0), *s2 = cond_str(a, 1, 0);
|
||||
|
||||
return !strcmp("example", dyncat(s1, s2));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue