Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: partial word completion
- X-seq: zsh-workers 10797
- From: Felix Rosencrantz <f_rosencrantz@xxxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: PATCH: partial word completion
- Date: Mon, 17 Apr 2000 18:20:06 -0700 (PDT)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Zsh seems to crash now with this patch. The third parameter to sub_join()
is NULL, which causes the crash. Here's the stack trace:
#0 0xed1ac in sub_join (a=0x16e948, b=0x16de38, e=0x0, anew=1)
at compmatch.c:1683
#1 0xededc in join_clines (o=0x16de38, n=0x16e948) at compmatch.c:1900
#2 0xe5240 in add_match_data (alt=0, str=0x170058 "zsh3.1.5", line=0x16e948,
ipre=0x16f278 "", ripre=0x0, isuf=0x16f280 "", pre=0x0, prpre=0x16f340 "",
ppre=0x16f298 "", pline=0x0, psuf=0x0, sline=0x0, suf=0x0, flags=1,
exact=0) at compcore.c:2205
#3 0xe3ba0 in addmatches (dat=0xefff7a10, argv=0xefff7b70) at compcore.c:1871
#4 0xd9f70 in bin_compadd (name=0x1c42c0 "compadd", argv=0xefff7b08,
ops=0xefff7c80 "", func=0) at complete.c:562
#5 0x24a44 in execbuiltin (args=0x1c4228, bn=0x15a70c) at builtin.c:368
Sorry not to provide a simple test case. If you need that I can investigate
a little more. The error happened in a directory with many files, and
some simple pruning didn't uncover the error.
-FR.
__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author