diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-15 18:24:09 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-15 18:24:09 +0000 |
commit | 6c1fb551ba0973c9a86e1ea479d553d66c6bf6b7 (patch) | |
tree | ec80a986c49f2da21eed83b7097f0f4e99f57e3f /Src/utils.c | |
parent | 640a840d2e94f0fc245ef8632050c37af23c6b94 (diff) | |
download | zsh-6c1fb551ba0973c9a86e1ea479d553d66c6bf6b7.tar.gz zsh-6c1fb551ba0973c9a86e1ea479d553d66c6bf6b7.tar.xz zsh-6c1fb551ba0973c9a86e1ea479d553d66c6bf6b7.zip |
zsh-3.1.5-pws-14 zsh-3.1.5-pws-14
Diffstat (limited to 'Src/utils.c')
-rw-r--r-- | Src/utils.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Src/utils.c b/Src/utils.c index 3f8177271..12b7fc7eb 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -3140,7 +3140,7 @@ hasspecial(char const *s) /**/ char * -bslashquote(const char *s, char **e, char *te, int *pl, int instring) +bslashquote(const char *s, char **e, int instring) { const char *u, *tt; char *v, buf[PATH_MAX * 2]; @@ -3151,8 +3151,6 @@ bslashquote(const char *s, char **e, char *te, int *pl, int instring) for (; *u; u++) { if (e && *e == u) *e = v, sf |= 1; - if (te == u) - *pl = v - tt, sf |= 2; if (ispecial(*u) && (!instring || (isset(BANGHIST) && *u == (char)bangchar) || @@ -3189,8 +3187,6 @@ bslashquote(const char *s, char **e, char *te, int *pl, int instring) if (e && *e == u) *e = v; - if (te == u) - *pl = v - tt; return (char *) tt; } |