s on eg. linux-*, and not *-linux*. It's not
often I have code that runs on _all_ powerpc's, no matter which OS.
Just my .02 Euro,
Morten
--
Morten Poulsen <[EMAIL PROTECTED]>
http://www.afdelingp.dk/
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
orten
PS. Thanks to mbn for whining :-)
--
Morten Poulsen <[EMAIL PROTECTED]>
http://www.afdelingp.dk/
Index: ext/standard/formatted_print.c
===
RCS file: /repository/php4/ext/standard/formatted_print.c,v
retrieving revision 1
Hi,
I discovered a bug in sprintf()'s argument swapping code. It accepts an
argument number of zero, which is invalid. It is handled in different
ways in different libcs, but i figured the best way to handle it in PHP
was to make the functioncall fail. Patch is attached.
Best regards,
Morten
PS
Hi,
Rasmus Lerdorf <[EMAIL PROTECTED]> said:
> Would you mind writing a test case or two to go along with this patch?
> See the tests/README file for help on how to write these.
no, of cause. The attached patch also contains four more tests for
printf (tests/strings/002.phpt), which tests the ad
Morten Poulsen <[EMAIL PROTECTED]> said:
> i'll fix it and send a new patch, sorry..
Allright, here is the new patch. Sorry about all the fuzz.
Greetings,
Morten
--
mortenp
Thus spake the master programmer: "Let the programmers be many and the
managers few -- then all
Morten Poulsen <[EMAIL PROTECTED]> said:
> I hope it's usefull :-)
is's not! i just found a bug.. i'll fix it and send a new patch, sorry..
--
mortenp
Thus spake the master programmer: "Let the programmers be many and the
managers few -- then all will be prod
Hi PHP Team,
I have made a patch, so PHP can support swapping of arguments to printf
(and friends), the way libc do it. This is especialy usefull when doing
internationalization (see
http://www.gnu.org/manual/gettext/html_mono/gettext.html#SEC17 for
example), but it is also usefull when you need