[PHP-CVS] cvs: php-src /ext/sockets php_sockets.h php_sockets_win.c php_sockets_win.h sockets.c

2003-08-15 Thread Jason Greene
jason Sat Aug 16 02:34:36 2003 EDT Modified files: /php-src/ext/socketsphp_sockets.h php_sockets_win.c php_sockets_win.h sockets.c Log: Remove all vector based functions for the following reasons: - This solves alot of p

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/sockets sockets.c

2003-07-24 Thread Jason Greene
jason Thu Jul 24 21:50:09 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/socketssockets.c Log: MFH: fix for #24629 Index: php-src/ext/sockets/sockets.c diff -u php-src/ext/sockets/sockets.c:1.125.2.17 php-src/ext/sockets/sockets.c:1.125.2.1

[PHP-CVS] cvs: php-src /ext/sockets sockets.c /ext/standard streamsfuncs.c

2003-07-22 Thread Jason Greene
jason Tue Jul 22 03:20:56 2003 EDT Modified files: /php-src/ext/socketssockets.c /php-src/ext/standard streamsfuncs.c Log: Fix EINVAL errors for OS's (Solaris + BSD) that do not appreciate microseconds >= 1 second Patch submitted from [EMAIL

Re: [PHP-CVS] cvs: spl / spl_foreach.c

2003-07-08 Thread Jason Greene
Actually, I double checked C99, and // was added, however C89 does not. -Jason On Tue, 2003-07-08 at 21:48, Jason Greene wrote: > jason Tue Jul 8 22:48:25 2003 EDT > > Modified files: > /spl spl_foreach.c > Log: > Convert C++ comments

[PHP-CVS] cvs: spl / spl_foreach.c

2003-07-08 Thread Jason Greene
jason Tue Jul 8 22:48:25 2003 EDT Modified files: /splspl_foreach.c Log: Convert C++ comments to C (violates C99, and breaks several compilers) Index: spl/spl_foreach.c diff -u spl/spl_foreach.c:1.15 spl/spl_foreach.c:1.16 --- spl/spl_foreach.c:1.1

Re: [PHP-CVS] cvs: php-src /ext/sockets sockets.c

2003-07-08 Thread Jason Greene
Jason > --Wez. > > > - Original Message - > From: "Jason Greene" <[EMAIL PROTECTED]> > To: "Sascha Schumann" <[EMAIL PROTECTED]> > Cc: "Sara Golemon" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Tuesday, July

Re: [PHP-CVS] cvs: php-src /ext/sockets sockets.c

2003-07-08 Thread Jason Greene
On Tue, 2003-07-08 at 08:15, Sascha Schumann wrote: > On Tue, 8 Jul 2003, Jason Greene wrote: > > > If the platform supports gethostbyname_r(most i know do), that is thread > > safe. > > Note the "2" in the name. > > - Sascha I should have been

Re: [PHP-CVS] cvs: php-src /ext/sockets sockets.c

2003-07-08 Thread Jason Greene
length); > - > #else > /* No IPv6 specific hostname resolution is available on this system? */ > - php_error_docref(NULL TSRMLS_CC, E_WARNING, "No IPv6 compatable > hostname resolution available on system."); > + php_error_docref(NULL TSRMLS_CC, E_WARNING, "

Re: [PHP-CVS] cvs: php-src /ext/sockets sockets.c

2003-07-08 Thread Jason Greene
freeaddrinfo(addrinfo); > > return 0; > > } > >-memcpy(&(sin6->sin6_addr.s6_addr), host_entry->h_addr_list[0], > >host_entry->h_length); > >+ > >+memcpy(&(sin6->sin6_addr.s6_addr), ((struct > >sockaddr_in6*)(addrinfo->ai_addr))->sin6_addr.s6_addr, sizeof(struct in6_addr)); > >+freeaddrinfo(addrinfo); > > } > > > > return 1; > > > > > > > > > > -- > https://www.paypal.com/xclick/[EMAIL PROTECTED]&no_note=1&tax=0¤cy_code=EUR > -- Jason Greene <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-CVS] cvs: php-src /build buildcheck.sh

2003-06-30 Thread Jason Greene
On Mon, 2003-06-30 at 22:59, Sascha Schumann wrote: > On Tue, 1 Jul 2003, Jason Greene wrote: > > > jason Mon Jun 30 23:08:16 2003 EDT > > > > Modified files: > > /php-src/build buildcheck.sh > > Log: > > Prevent lines follo

[PHP-CVS] cvs: php-src /build buildcheck.sh

2003-06-30 Thread Jason Greene
jason Mon Jun 30 23:08:16 2003 EDT Modified files: /php-src/build buildcheck.sh Log: Prevent lines following the version output from confusing the version test Index: php-src/build/buildcheck.sh diff -u php-src/build/buildcheck.sh:1.27 php-src/build/bu

[PHP-CVS] cvs: php4(PHP_4_3) /ext/sockets php_sockets_win.c

2002-12-02 Thread Jason Greene
jason Tue Dec 3 00:46:53 2002 EDT Modified files: (Branch: PHP_4_3) /php4/ext/sockets php_sockets_win.c Log: MFH Index: php4/ext/sockets/php_sockets_win.c diff -u php4/ext/sockets/php_sockets_win.c:1.5 php4/ext/sockets/php_sockets_win.c:1.5.4.1 --- php4/

[PHP-CVS] cvs: php4 /ext/sockets php_sockets_win.c

2002-12-01 Thread Jason Greene
jason Mon Dec 2 00:45:13 2002 EDT Modified files: /php4/ext/sockets php_sockets_win.c Log: Revert patch that should have been reverted a long time ago. There was a memory leak in the error handling system on win32, that this patch circumvented (by preventi

[PHP-CVS] cvs: php4 /ext/sockets EXPERIMENTAL

2002-11-29 Thread Jason Greene
jason Fri Nov 29 18:44:06 2002 EDT Removed files: /php4/ext/sockets EXPERIMENTAL Log: Sockets is no longer experimental -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-CVS] cvs: php4 / NEWS

2002-11-12 Thread Jason Greene
jason Tue Nov 12 11:08:40 2002 EDT Modified files: /php4 NEWS Log: Correct Entry, Add entry Index: php4/NEWS diff -u php4/NEWS:1.1245 php4/NEWS:1.1246 --- php4/NEWS:1.1245Tue Nov 12 09:52:42 2002 +++ php4/NEWS Tue Nov 12 11:08:39 2002 @@ -11,6 +

[PHP-CVS] cvs: php4 /ext/standard math.c

2002-11-10 Thread Jason Greene
jason Mon Nov 11 00:35:05 2002 EDT Modified files: /php4/ext/standard math.c Log: Report function name when log() triggers a base warning Index: php4/ext/standard/math.c diff -u php4/ext/standard/math.c:1.94 php4/ext/standard/math.c:1.95 --- php4/ext/stand

[PHP-CVS] cvs: php4 /ext/standard math.c /ext/standard/tests/math log.phpt

2002-11-10 Thread Jason Greene
jason Mon Nov 11 00:21:35 2002 EDT Modified files: /php4/ext/standard math.c /php4/ext/standard/tests/math log.phpt Log: Add the ability to take the logarithm of any base by adding a base parameter to log() Added regression tests for the new form

[PHP-CVS] cvs: php4 /ext/standard/tests/math log.phpt

2002-11-10 Thread Jason Greene
jason Sun Nov 10 22:45:04 2002 EDT Added files: /php4/ext/standard/tests/math log.phpt Log: add test function for log() # It is difficult to test an approximation of an approximation, but I # believe this test should be close enough to verify the fun

Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c

2002-11-10 Thread Jason Greene
f, length, 0); > -#endif > - > + retval = (*read_function)(php_sock->bsd_socket, tmpbuf, length, 0); > if (retval == -1) { > PHP_SOCKET_ERROR(php_sock, "unable to read from socket", errno); > efree(tmpbuf); > > > > -- > PHP

[PHP-CVS] cvs: php4 /ext/sockets php_sockets.h sockets.c

2002-09-29 Thread Jason Greene
jason Sun Sep 29 22:09:43 2002 EDT Modified files: /php4/ext/sockets php_sockets.h sockets.c Log: Fix thread safety issue Index: php4/ext/sockets/php_sockets.h diff -u php4/ext/sockets/php_sockets.h:1.24 php4/ext/sockets/php_sockets.h:1.25 --- php4/ext/s

[PHP-CVS] cvs: php4 /ext/sockets sockets.c win32_socket_constants.h

2002-09-22 Thread Jason Greene
jason Sun Sep 22 23:34:21 2002 EDT Added files: /php4/ext/sockets win32_socket_constants.h Modified files: /php4/ext/sockets sockets.c Log: Implement contstants on win32 @Implement platform independant socket error constants, which

[PHP-CVS] cvs: php4 /ext/sockets sockets.c

2002-09-09 Thread Jason Greene
jason Tue Sep 10 00:12:56 2002 EDT Modified files: /php4/ext/sockets sockets.c Log: Fix crash bug and memory leak in vectors #still need to revisit how these are done, i.e. they are not binary safe Index: php4/ext/sockets/sockets.c diff -u php4/ext/soc