ID:               24314
 Updated by:       [EMAIL PROTECTED]
 Reported By:      anzenews at volja dot net
-Status:           Open
+Status:           Closed
 Bug Type:         Zend Engine 2 problem
 Operating System: Linux
 PHP Version:      4CVS-2003-06-24 (stable)
 Assigned To:      hholzgra
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2003-06-25 00:40:40] anzenews at volja dot net

OK, that works! :)

Thanks for help, really appreciate it!

Enjoy!

------------------------------------------------------------------------

[2003-06-24 09:41:22] [EMAIL PROTECTED]

please try to change ext/skeleton/create_stubs line 156 from

    gobble("\\]* *)")

to

   gobble("\\]* *\\)")


------------------------------------------------------------------------

[2003-06-24 09:20:13] anzenews at volja dot net

My version is of gawk is 3.1.0-3 (Debian stable). 
I tried to test with newer one (3.1.2-4 - 
testing/unstable), but I don't have the right 
libc6 (2.3.1 or above) - which means I should 
download libc6, libc6-dev and probably some other 
packages too... I wouldn't like to upgrade unless 
necessary, especially as it is not in stable yet.

------------------------------------------------------------------------

[2003-06-24 08:56:01] [EMAIL PROTECTED]

works fine for me

what is your awk version?

(mine is "GNU Awk 3.1.1")

------------------------------------------------------------------------

[2003-06-24 07:53:28] anzenews at volja dot net

Description:
------------
Hi! 

When I try to create my extension skelet using ext_skel like this:
/home/tmp/php/ext$ ./ext_skel --extname=myext --proto=myext.proto

I get this output:
------------
Creating directory myext
awk: run time error: regular expression compile failed (missing '(')
^(\]* *))
        FILENAME="-" FNR=1 NR=1
Creating basic files: config.m4 .cvsignore myext.c php_myext.h CREDITS
EXPERIMENTAL tests/001.phpt 
myext.phprm: cannot remove `function_entries': No such file or
directory
rm: cannot remove `function_declarations': No such file or directory
rm: cannot remove `function_stubs': No such file or directory
 [done].

To use your new extension, you...
...
------------

Extension is created, but not the function I specified in myext.proto.
It worked in 4.0.3.pl1, it didn't work in 4.3.2 and it doesn't work in
current CVS version.


Reproduce code:
---------------
myext.phproto (taken from README.EXT_SKEL):
bool my_drawtext(resource image, string text, resource font, int x, int
y [, int color])



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24314&edit=1

Reply via email to