tony2001                Wed Dec 27 15:22:46 2006 UTC

  Modified files:              
    /php-src/main       php_streams.h 
  Log:
  fix php_stream_u_get_line() macro
  
  
http://cvs.php.net/viewvc.cgi/php-src/main/php_streams.h?r1=1.118&r2=1.119&diff_format=u
Index: php-src/main/php_streams.h
diff -u php-src/main/php_streams.h:1.118 php-src/main/php_streams.h:1.119
--- php-src/main/php_streams.h:1.118    Thu Nov  9 01:06:45 2006
+++ php-src/main/php_streams.h  Wed Dec 27 15:22:46 2006
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php_streams.h,v 1.118 2006/11/09 01:06:45 tony2001 Exp $ */
+/* $Id: php_streams.h,v 1.119 2006/12/27 15:22:46 tony2001 Exp $ */
 
 #ifndef PHP_STREAMS_H
 #define PHP_STREAMS_H
@@ -335,7 +335,7 @@
 
 
 PHPAPI UChar *_php_stream_u_get_line(php_stream *stream, UChar *buf, int32_t 
*pmax_bytes, int32_t *pmax_chars, int *pis_unicode TSRMLS_DC);
-#define php_stream_u_get_line(stream, buf, maxlen_buf, maxlen_chars, buf_type) 
_php_stream_u_get_line((stream), (buf), (maxlen_buf), (maxlen_chars), 
(buf_type) TSRMLS_CC)
+#define php_stream_u_get_line(stream, buf, maxlen_buf, maxlen_chars, retlen)   
_php_stream_get_line((stream), IS_UNICODE, (buf), (maxlen_buf), (maxlen_chars), 
(retlen) TSRMLS_CC)
 
 /* CAREFUL! this is equivalent to puts NOT fputs! */
 PHPAPI int _php_stream_puts(php_stream *stream, char *buf TSRMLS_DC);

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

Reply via email to