Re: [PATCH] translate capitalized functions in create_stubs
| From: | Rasmus Lerdorf | Date: | Tue, 03 Sep 2002 20:58:32 +0000 |
| Subject: | Re: [PATCH] translate capitalized functions in create_stubs | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-87878@lists.php.net to get a copy of this message | ||
I have committed your patch. As for the Windows issue. It works pretty
well under a regular cygwin setup, which is required for building PHP
anyway, so I don't think there is much of a problem here.
-Rasmus
On Tue, 3 Sep 2002, David Viner wrote:
> Hi
> When we use prototype files for ext_skel, we noticed that a function name
> with capital letters doesn't work properly since php extension must have
> lowercase function names. However, ext_skel doesn't warn or fix an
> erroneous prototype file. Here's a small patch to the create_stubs file
> which will both warn users that a function name from the prototype file
> contains capital letters, and it will lowercase the function name.
> Out of curiosity, why ext_skel/create_stubs a shell/awk script? Were it
> written in perl, Windows users could use it too. Is there a design reason
> for shell/awk or is it just historical?
>
> dave
>
>