Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Vanishing files ?
- X-seq: zsh-workers 22474
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Vanishing files ?
- Date: Tue, 30 May 2006 23:29:25 +0100
- In-reply-to: Message from Peter Stephenson <pws@xxxxxxx> of "Tue, 30 May 2006 18:48:59 BST." <20060530184859.1185ebdc.pws@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Peter Stephenson wrote:
> To fix this properly we need to be able to display two properly formatted
> strings in an error message: it's many, many years past the point where
> error messages should have used variable-length argument lists. This would
> be a nice, self-contained project for someone; we can probably assume
> stdarg is available now (since we seem to assume a lot of ISO C elsewhere).
OK, guess what... This was not the most interesting hour and a half of
my life. I won't bore you with the patch, instead check it straight in;
see changes in utils.c for the important bit. It's possible I've
mistyped something, so please create as many errors as possible to
check...
If anyone wants to supplement this with varargs support, be my guest.
gcc 4 doesn't even support it any more, but it would extend the backward
compatibility back a bit further.
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author