From: anzenews at volja dot net
Operating system: Linux
PHP version: 4CVS-2003-06-24 (stable)
PHP Bug Type: Zend Engine 2 problem
Bug description: ext_skel --proto=<file> doesn't work
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 bug report at http://bugs.php.net/?id=24314&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24314&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24314&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24314&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24314&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24314&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24314&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24314&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24314&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24314&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24314&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24314&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24314&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24314&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24314&r=gnused