Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: pcre module help



Clint Adams wrote:
> [Moving to -workers]
> 
> > I would still think it should not crash because of a missing feature.
> > If you still would like a backtrace to find that problem, I will try
> > to get around to recompiling it with debugging turned on and generate
> > one for you.  Just let me know.
> 
> Yes, there could be something wrong with bin_notavail or cond_match.
> A backtrace could shed some light on this.

I'm kind of down on bin_notavail anyway.  It's pointless compiling the
module if it's not going to provide anything.  Failing to load it
with zmodload is a much more transparent way of finding that the
feature isn't available.  Otherwise, you're lulled into a false sense
of security about something which could fail to work in a lot of
different ways --- as in this case, we're not always concerned just
with builtins.  These multiple possible failure modes are asking for
trouble.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author