cvs: php4 /ext/sysvmsg config.m4
| From: | Ilia Alshanetsky | Date: | Thu, 19 Sep 2002 20:14:58 +0000 |
| Subject: | cvs: php4 /ext/sysvmsg config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-14102@lists.php.net to get a copy of this message | ||
iliaa Thu Sep 19 16:14:58 2002 EDT
Modified files:
/php4/ext/sysvmsg config.m4
Log:
Fixed bug #19504
Alligned 'Enable sysvmsg support' message.
Index: php4/ext/sysvmsg/config.m4
diff -u php4/ext/sysvmsg/config.m4:1.2 php4/ext/sysvmsg/config.m4:1.3
--- php4/ext/sysvmsg/config.m4:1.2 Tue Sep 10 09:04:07 2002
+++ php4/ext/sysvmsg/config.m4 Thu Sep 19 16:14:58 2002
@@ -1,7 +1,7 @@
-dnl $Id: config.m4,v 1.2 2002/09/10 13:04:07 wez Exp $
+dnl $Id: config.m4,v 1.3 2002/09/19 20:14:58 iliaa Exp $
PHP_ARG_ENABLE(sysvmsg,whether to enable System V IPC support,
-[ --enable-sysvmsg Enable sysvmsg support])
+[ --enable-sysvmsg Enable sysvmsg support])
if test "$PHP_SYSVMSG" != "no"; then
AC_MSG_CHECKING([whether sys/msg.h defines struct msgbuf or mymsg])
@@ -11,7 +11,7 @@
#include <sys/msg.h>],
[struct msgbuf *foo;
- foo = (struct msgbuf *) malloc(sizeof(struct msgbuf) +1);
+ foo = (struct msgbuf *) malloc(sizeof(struct msgbuf*) +1);
return 1;],
[AC_MSG_RESULT(msgbuf)],
[AC_TRY_COMPILE(
@@ -21,7 +21,7 @@
],
[struct mymsg *foo;
- foo = (struct mymsg *) malloc(sizeof(struct mymsg) +1);
+ foo = (struct mymsg *) malloc(sizeof(struct mymsg*) +1);
return 1;
],
[AC_DEFINE(msgbuf, mymsg, [msgbuf is called mymsg])