cvs: /php4 php.h
| From: | Zeev Suraski | Date: | Sat, 04 Sep 1999 22:13:41 +0000 |
| Subject: | cvs: /php4 php.h | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4103@lists.php.net to get a copy of this message | ||
zeev Sat Sep 4 18:13:41 1999 EDT
Modified files:
/php4 php.h
Log:
This was actually intentional... put it back in and improve
Index: php4/php.h
diff -u php4/php.h:1.29 php4/php.h:1.30
--- php4/php.h:1.29 Sat Sep 4 18:06:12 1999
+++ php4/php.h Sat Sep 4 18:13:41 1999
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php.h,v 1.29 1999/09/04 22:06:12 rasmus Exp $ */
+/* $Id: php.h,v 1.30 1999/09/04 22:13:41 zeev Exp $ */
#ifndef _PHP_H
#define _PHP_H
@@ -314,7 +314,7 @@
#include "output.h"
#define PHPWRITE(str, str_len) zend_body_write((str), (str_len))
#define PUTS(str) zend_body_write((str), strlen((str)))
-#define PUTC(c) zend_body_write(&(c), 1)
+#define PUTC(c) (zend_body_write(&(c), 1), (c))
#define PHPWRITE_H(str, str_len) zend_header_write((str), (str_len))
#define PUTS_H(str) zend_header_write((str), strlen((str)))
#define PUTC_H(c) zend_header_write(&(c), 1)