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

Re: Diff file for 3.1.6-test-2 available



In article <9907191000.AA13440@xxxxxxxxxxxxxxxxx>,
  Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> writes:

> I have uploaded to ftp.zsh.org the file
>   ftp://ftp.zsh.org/pub/testing/zsh-3.1.6-test-1-test-2.diff.gz

Under SunOS 4, make is failed with:

gcc -c -I.  -DHAVE_CONFIG_H -DMODULE -Wall -Wno-implicit -Wmissing-prototypes -O2 -fpic -o mapfile..o mapfile.c
mapfile.c: In function `setpmmapfile':
mapfile.c:146: `MS_SYNC' undeclared (first use in this function)
mapfile.c:146: (Each undeclared identifier is reported only once
mapfile.c:146: for each function it appears in.)
gmake[3]: *** [mapfile..o] Error 1

--- Src/Modules/mapfile.c-	Tue Jul 20 01:17:22 1999
+++ Src/Modules/mapfile.c	Tue Jul 20 01:17:46 1999
@@ -143,6 +143,9 @@
 	 */
 	ftruncate(fd, len);
 	memcpy(mmptr, value, len);
+#ifndef MS_SYNC
+#define MS_SYNC 0
+#endif
 	msync(mmptr, len, MS_SYNC);
 	/*
 	 * Then we need to truncate again, since mmap() always maps complete

> I have only received a couple of pieces of information for Etc/MACHINES.
> Please let us (zsh-workers@xxxxxxxxxxxxxx) know if you compile zsh and your
> system configuration (including OS version) is not mentioned there, or
> there are limitations not mentioned there.

I tried to compile 3.1.6-test-2 under some platforms and I sensed:

Under FreeBSD 2.2.8 and BSD/OS 3.0, dynamic loading is disabled
automatically.

Under Solaris 7, there is no problem with egcs-1.1.2 and dynamic
loading. (on my environment at least)
-- 
Tanaka Akira



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