[PHP-CVS] cvs: php-src /main/streams php_stream_transport.h

2009-02-02 Thread Pierre-Alain Joye
pajoye  Mon Feb  2 09:49:41 2009 UTC

  Modified files:  
/php-src/main/streams   php_stream_transport.h 
  Log:
  - silent compiler warning about socklen_t benign redefinition
  
http://cvs.php.net/viewvc.cgi/php-src/main/streams/php_stream_transport.h?r1=1.17r2=1.18diff_format=u
Index: php-src/main/streams/php_stream_transport.h
diff -u php-src/main/streams/php_stream_transport.h:1.17 
php-src/main/streams/php_stream_transport.h:1.18
--- php-src/main/streams/php_stream_transport.h:1.17Wed Dec 31 11:12:39 2008
+++ php-src/main/streams/php_stream_transport.h Mon Feb  2 09:49:41 2009
@@ -16,7 +16,11 @@
   +--+
 */
 
-/* $Id: php_stream_transport.h,v 1.17 2008/12/31 11:12:39 sebastian Exp $ */
+/* $Id: php_stream_transport.h,v 1.18 2009/02/02 09:49:41 pajoye Exp $ */
+#ifdef PHP_WIN32
+#include config.w32.h
+#include WS2tcpip.h
+#endif
 
 #if HAVE_SYS_SOCKET_H
 # include sys/socket.h



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /main/streams php_stream_transport.h

2007-02-04 Thread Andi Gutmans
andiMon Feb  5 05:15:49 2007 UTC

  Modified files:  
/php-src/main/streams   php_stream_transport.h 
  Log:
  - Make sure to be ANSI C compliant
  
  
http://cvs.php.net/viewvc.cgi/php-src/main/streams/php_stream_transport.h?r1=1.14r2=1.15diff_format=u
Index: php-src/main/streams/php_stream_transport.h
diff -u php-src/main/streams/php_stream_transport.h:1.14 
php-src/main/streams/php_stream_transport.h:1.15
--- php-src/main/streams/php_stream_transport.h:1.14Thu Jan 18 16:06:28 2007
+++ php-src/main/streams/php_stream_transport.h Mon Feb  5 05:15:49 2007
@@ -16,7 +16,7 @@
   +--+
 */
 
-/* $Id: php_stream_transport.h,v 1.14 2007/01/18 16:06:28 nlopess Exp $ */
+/* $Id: php_stream_transport.h,v 1.15 2007/02/05 05:15:49 andi Exp $ */
 
 #if HAVE_SYS_SOCKET_H
 # include sys/socket.h
@@ -133,7 +133,7 @@
unsigned int want_addr:1;
unsigned int want_textaddr:1;
unsigned int want_errortext:1;
-   stream_shutdown_t how:2;
+   unsigned int how:2;
 
struct {
char *name;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /main/streams php_stream_transport.h

2007-01-18 Thread Nuno Lopes
nlopess Thu Jan 18 16:06:29 2007 UTC

  Modified files:  
/php-src/main/streams   php_stream_transport.h 
  Log:
  MFB: use only 2 bits
  
http://cvs.php.net/viewvc.cgi/php-src/main/streams/php_stream_transport.h?r1=1.13r2=1.14diff_format=u
Index: php-src/main/streams/php_stream_transport.h
diff -u php-src/main/streams/php_stream_transport.h:1.13 
php-src/main/streams/php_stream_transport.h:1.14
--- php-src/main/streams/php_stream_transport.h:1.13Mon Jan  1 09:29:35 2007
+++ php-src/main/streams/php_stream_transport.h Thu Jan 18 16:06:28 2007
@@ -16,7 +16,7 @@
   +--+
 */
 
-/* $Id: php_stream_transport.h,v 1.13 2007/01/01 09:29:35 sebastian Exp $ */
+/* $Id: php_stream_transport.h,v 1.14 2007/01/18 16:06:28 nlopess Exp $ */
 
 #if HAVE_SYS_SOCKET_H
 # include sys/socket.h
@@ -133,7 +133,7 @@
unsigned int want_addr:1;
unsigned int want_textaddr:1;
unsigned int want_errortext:1;
-   stream_shutdown_t how:3;
+   stream_shutdown_t how:2;
 
struct {
char *name;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /main/streams php_stream_transport.h

2003-08-17 Thread Sascha Schumann
sas Sun Aug 17 09:49:52 2003 EDT

  Modified files:  
/php-src/main/streams   php_stream_transport.h 
  Log:
  One bit fields need to be unsigned, otherwise there is no storage for
  the sign bit

  A signed bit field has a length of 1 bit.
  
  
Index: php-src/main/streams/php_stream_transport.h
diff -u php-src/main/streams/php_stream_transport.h:1.5 
php-src/main/streams/php_stream_transport.h:1.6
--- php-src/main/streams/php_stream_transport.h:1.5 Tue Jul  1 21:35:39 2003
+++ php-src/main/streams/php_stream_transport.h Sun Aug 17 09:49:52 2003
@@ -16,7 +16,7 @@
   +--+
 */
 
-/* $Id: php_stream_transport.h,v 1.5 2003/07/02 01:35:39 wez Exp $ */
+/* $Id: php_stream_transport.h,v 1.6 2003/08/17 13:49:52 sas Exp $ */
 
 #if HAVE_SYS_SOCKET_H
 # include sys/socket.h
@@ -98,9 +98,9 @@
STREAM_XPORT_OP_GET_NAME,
STREAM_XPORT_OP_GET_PEER_NAME
} op;
-   int want_addr:1;
-   int want_textaddr:1;
-   int want_errortext:1;
+   unsigned int want_addr:1;
+   unsigned int want_textaddr:1;
+   unsigned int want_errortext:1;
 
struct {
char *name;



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php