mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 13:33:52 +01:00
19683: Work around dllwrap problem on Cygwin
This commit is contained in:
parent
83b0fd3674
commit
99b38b2f54
@ -1,5 +1,8 @@
|
||||
2004-03-25 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 19683: Src/utils.c: Work around occasional problem on
|
||||
Cygwin with dllwrap.
|
||||
|
||||
* 19682: Doc/Zsh/builtins.yo, Etc/NEWS, Src/signals.c: Don't
|
||||
run ZERR, DEBUG or EXIT traps inside other traps; caused confusion
|
||||
and incompatibility.
|
||||
|
13
Src/utils.c
13
Src/utils.c
@ -110,6 +110,19 @@ zwarnnam(const char *cmd, const char *fmt, const char *str, int num)
|
||||
zerrmsg(fmt, str, num);
|
||||
}
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
/*
|
||||
* This works around an occasional problem with dllwrap on Cygwin, seen
|
||||
* on at least two installations. It fails to find the last symbol
|
||||
* exported in alphabetical order (in our case zwarnnam). Until this is
|
||||
* properly categorised and fixed we add a dummy symbol at the end.
|
||||
*/
|
||||
mod_export void
|
||||
zz_plural_z_alpha(void)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
/**/
|
||||
void
|
||||
zerrmsg(const char *fmt, const char *str, int num)
|
||||
|
Loading…
Reference in New Issue
Block a user