Re: Re: cvs: php4 /ext/standard file.c /ext/standard/tests/strings strtoupper.phpt

From: Date: Thu, 24 Oct 2002 20:10:46 +0000
Subject: Re: Re: cvs: php4 /ext/standard file.c /ext/standard/tests/strings strtoupper.phpt
References: 1 2  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-15398@lists.php.net to get a copy of this message
The lower/upper code uses libc's tolower/toupper functions, as long as the specified locale is supported and the entered text is considered to be alphabetic based on the entered locale the code will and does work correctly. Ilia On October 24, 2002 03:50 pm, Melvyn Sopacua wrote: > At 21:27 24-10-2002, Marcus Börger wrote: > >The test PASSES on my system. So the question is why should it > >be skipped on BSD or if not why does it fail? > > It shouldn't be skipped, that's why I added the locale for FreeBSD. > > The other question I can't answer - all I know is, that 4.2.3 handles it > correctly and 4.3.0 doesn't . > > I can try and trace this through all the commits on string.c, but will > have to wait until the weekend. > > > http://cvs.php.net/diff.php/php4/ext/standard/string.c?r1=1.263.2.6&r2=1.32 >8&ty=h > > Then again - it may related to completely different settings :( > > If there are volunteers for the job, with BSD systems - be my guest :) > > >It seems that the skip logic is done well. > > > >marcus > > > >At 21:17 24.10.2002, Melvyn Sopacua wrote: > >>msopacua Thu Oct 24 15:17:09 2002 EDT > >> > >> Modified files: > >> /php4/ext/standard file.c > >> /php4/ext/standard/tests/strings strtoupper.phpt > >> Log: > >> - Add locale string for FreeBSD > >> ATTN: Test nog longer skips, but fails. So whatever has changed since > >> 4.2.3 > >> affects BSD systems. > > > >(...) > > Met vriendelijke groeten / With kind regards, > > Webmaster IDG.nl > Melvyn Sopacua

« previous php.cvs (#15398) next »