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

Re: AIX patch



On Jun 19, 10:45am, Andrej Borsenkow wrote:
}
} Note, that it adds test for type of third argument to accept (that is used
} in some other functions as well). It currently checks for size_t, unsigned
} long and int (those I have on systems here and reported on AIX 4.x)

Linux/gcc apparently has an actual `socklen_t' typedef.  Probably should
try that first.

Index: aczsh.m4
===================================================================
RCS file: /extra/cvsroot/zsh/zsh-4.0/aczsh.m4,v
retrieving revision 1.4
diff -u -r1.4 aczsh.m4
--- aczsh.m4	2001/06/19 16:00:43	1.4
+++ aczsh.m4	2001/06/19 16:01:45
@@ -695,7 +695,7 @@
     [base type of the third argument to accept],
     [zsh_cv_type_socklen_t],
     [zsh_cv_type_socklen_t=
-    for zsh_type in int "unsigned long" size_t ; do
+    for zsh_type in socklen_t int "unsigned long" size_t ; do
       AC_TRY_COMPILE(
         [#include <sys/types.h>
          #include <sys/socket.h>],

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



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