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

Re: zsh 3.1.6/7 and cygwin 1.x



Geoff wrote:
> Oh, one thing I've just remembered.  I had to stop it from trying to
> use mmap - I didn't know if it was specific to me or if it was more general.
> Editing config.h and undefining HAVE_MMAP may fix your problem.

If so, can someone try this patch.

Index: Src/system.h
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/system.h,v
retrieving revision 1.1.1.10
diff -u -r1.1.1.10 system.h
--- Src/system.h	1999/12/09 16:09:46	1.1.1.10
+++ Src/system.h	2000/05/16 17:11:28
@@ -642,3 +642,7 @@
 #if defined(CONFIG_LOCALE) && defined(HAVE_SETLOCALE) && defined(LC_ALL)
 # define USE_LOCALE 1
 #endif /* CONFIG_LOCALE && HAVE_SETLOCALE && LC_ALL */
+
+#ifdef __CYGWIN__
+# undef HAVE_MMAP
+#endif

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070



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