From 6c1fb551ba0973c9a86e1ea479d553d66c6bf6b7 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 15 Apr 1999 18:24:09 +0000 Subject: zsh-3.1.5-pws-14 --- Src/utils.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'Src/utils.c') 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; } -- cgit 1.4.1