Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh 4.2.5 segfaults when substituting on $match
- X-seq: zsh-workers 21630
 
- From: DervishD <zsh@xxxxxxxxxxxx>
 
- To: Zsh Workers <zsh-workers@xxxxxxxxxx>
 
- Subject: zsh 4.2.5 segfaults when substituting on $match
 
- Date: Mon, 15 Aug 2005 22:38:00 +0200
 
- Mail-followup-to: Zsh Workers <zsh-workers@xxxxxxxxxx>
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
 
- Organization: DervishD
 
    Hi all :)
    zsh segfaults with this:
    $ zsh -f
    $ emulate -L zsh
    $ setopt extendedglob
    $ file="a"
    $ print ${file//(#b)(*)/${match//a/}}
    But not with this:
    $ zsh -f
    $ emulate -L zsh
    $ setopt extendedglob
    $ file="a"
    $ print ${file//(#b)(*)/${match/a/}}
    Both gdb and valgrind says it crashes in a memcpy call, maybe due
to an initialized pointer :? Happens on my 4.2.5 (self compiled), AND
in an old 4.0.9 I have around here (self compiled too).
    If anyone wants me to carry any additional tests, just tell ;)
    Raúl Núñez de Arenas Coronado
-- 
Linux Registered User 88736 | http://www.dervishd.net
http://www.pleyades.net & http://www.gotesdelluna.net
It's my PC and I'll cry if I want to...
Messages sorted by:
Reverse Date,
Date,
Thread,
Author