It appears to be a typo. See
http://cvs.php.net/diff.php/php4/ext/standard/quot_print.c?r1=1.10&r2=1.11
The old code checked [i+1] and [i+2], while the new (rev. 1.11) code
checks [i+1] twice...
Sander
On Mon, Oct 07, 2002 at 09:35:53AM -0400, Dan Kalowsky wrote:
>
>
> Begin forwarded message:
>
> >From: [EMAIL PROTECTED]
> >Date: Mon Oct 7, 2002 8:24:14 AM US/Eastern
> >To: [EMAIL PROTECTED]
> >Subject: #19798 [NEW]: mistype in source
> >
> >From: [EMAIL PROTECTED]
> >Operating system: any
> >PHP version: 4.2.3
> >PHP Bug Type: Unknown/Other Function
> >Bug description: mistype in source
> >
> >php-4.2.3/ext/standard/quot_print.c
> >---
> > while ( str_in[i] )
> > {
> > switch (str_in[i])
> > {
> > case '=':
> > if (str_in[i+1] && str_in[i+2] &&
> > isxdigit((int)str_in[i+1]) &&
> > isxdigit((int)str_in[i+1]) )
> > {
> > str_out[j++] = (php_hex2int((int)str_in[i+1]) << 4 )
> > + php_hex2int((int)str_in[i+2]);
> > i += 3;
> > }
> >---
> >
> >may be lines above must looking like:
> >---
> > if (str_in[i+1] && str_in[i+2] &&
> > isxdigit((int)str_in[i+1]) &&
> > isxdigit((int)str_in[i+2]) )
> >---
> >???
> >
> >--
> >Edit bug report at http://bugs.php.net/?id=19798&edit=1
> >--
> >Try a CVS snapshot:
> >http://bugs.php.net/fix.php?id=19798&r=trysnapshot
> >Fixed in CVS:
> >http://bugs.php.net/fix.php?id=19798&r=fixedcvs
> >Fixed in release:
> >http://bugs.php.net/fix.php?id=19798&r=alreadyfixed
> >Need backtrace:
> >http://bugs.php.net/fix.php?id=19798&r=needtrace
> >Try newer version:
> >http://bugs.php.net/fix.php?id=19798&r=oldversion
> >Not developer issue:
> >http://bugs.php.net/fix.php?id=19798&r=support
> >Expected behavior:
> >http://bugs.php.net/fix.php?id=19798&r=notwrong
> >Not enough info:
> >http://bugs.php.net/fix.php?id=19798&r=notenoughinfo
> >Submitted twice:
> >http://bugs.php.net/fix.php?id=19798&r=submittedtwice
> >register_globals:
> >http://bugs.php.net/fix.php?id=19798&r=globals
> >PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19798&r=php3
> >Daylight Savings: http://bugs.php.net/fix.php?id=19798&r=dst
> >IIS Stability:
> >http://bugs.php.net/fix.php?id=19798&r=isapi
> >
> >---------------------------------------------------------------<
> Dan Kalowsky "I'll walk a thousand miles just
> http://www.deadmime.org/~dank to slip this skin."
> [EMAIL PROTECTED] - "Streets of Philadelphia",
> [EMAIL PROTECTED] Bruce Springsteen
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php