Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Crash when invoking vared on a non-existent shell variable
- X-seq: zsh-workers 19683
- From: Peter Stephenson <pws@xxxxxxx>
- To: John Cooper <john.cooper@xxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: Crash when invoking vared on a non-existent shell variable
- Date: Wed, 24 Mar 2004 16:30:50 +0000
- In-reply-to: "John Cooper"'s message of "Wed, 24 Mar 2004 16:07:40 GMT." <B5885AA769039C49BD9295955CB2E0E40589799B@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
John Cooper wrote:
> When I invoke vared on a variable that doesn't exist, the shell crashes with
> the following:
Are you runing over a problem I sometimes have with cygwin that zwarnnam
doesn't get linked into modules properly and the shell crashes when a
module tries to call it? If so, it's not just me and it should be
reported. You should be able to see warnings about trying to import
zwarnnam as a data symbol.
It seems that the last symbol in the export list is not scanned properly
by dlltool. My simple-minded workaround is to add another one even later.
(Remake until the warnings go away. I'm not sure if the dependencies
are quite up to this.)
Index: Src/utils.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/utils.c,v
retrieving revision 1.57
diff -u -r1.57 utils.c
--- Src/utils.c 17 Dec 2003 20:47:39 -0000 1.57
+++ Src/utils.c 24 Mar 2004 16:16:29 -0000
@@ -110,6 +110,13 @@
zerrmsg(fmt, str, num);
}
+#ifdef __CYGWIN__
+mod_export void
+zz_plural_z_alpha(void)
+{
+}
+#endif
+
/**/
void
zerrmsg(const char *fmt, const char *str, int num)
--
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