Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: C02cond.ztst segfaults (was: Re: Strange test suite behaviour since zsh 5.2-dev-1: C02cond.ztst no more reports its finishing)
- X-seq: zsh-workers 37859
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: C02cond.ztst segfaults (was: Re: Strange test suite behaviour since zsh 5.2-dev-1: C02cond.ztst no more reports its finishing)
- Date: Sun, 31 Jan 2016 15:12:51 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=rQLt7EdDqauEXvLSLWO9XFXg558QFeCIEoBbGWnfpwE=; b=mTqo2QmbtGGlnMYlsLCxDXS83WW+lxgt1AG4SxWGm4NHZHE7CV6M3siXi3voEOeRgF cJIxqNLZrlQfhP99OMwGK5cD/tit/qPuMwdwGtRVh8Yii3EDwkDjc2+lwN5/nDngfC/p 0kLqbrnr0LH5iyFa0q1VxH9uNR9PvuQuft4GA9/Sfh78Bs9b9EinUAB9M1TkMVR/v+KH tYPVZlKZ2IPq5Dhi24OErGaHnvLw3r8VU6YGalKW8yeUf2XmJc1nUsiHO14rEr6KZy1f klWGdPGq+9cGDZCiGmDgEYw3o4B26IMj2cnNDkQFqwiNLKcKbWXQouJXQDMmVmfCdBPa puLg==
- In-reply-to: <20160131230313.GP4726@sym.noone.org>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20160131201933.GL4726@sym.noone.org> <160131125145.ZM12147@torch.brasslantern.com> <20160131230313.GP4726@sym.noone.org>
On Feb 1, 12:03am, Axel Beckert wrote:
}
} Program terminated with signal SIGSEGV, Segmentation fault.
} #1 0x000055e7dc4af8f4 in is_cond_binary_op (str=0x7f05376fe238 "non-empty-string") at ../../Src/text.c:63
Try this:
diff --git a/Src/text.c b/Src/text.c
index 04acd2a..cf6d3eb 100644
--- a/Src/text.c
+++ b/Src/text.c
@@ -47,7 +47,7 @@ int text_expand_tabs;
*/
static const char *cond_binary_ops[] = {
"=", "!=", "<", ">", "-nt", "-ot", "-ef", "-eq",
- "-ne", "-lt", "-gt", "-le", "-ge", "=~"
+ "-ne", "-lt", "-gt", "-le", "-ge", "=~", NULL
};
static char *tptr, *tbuf, *tlim, *tpending;
Messages sorted by:
Reverse Date,
Date,
Thread,
Author