On Wed, 26 Jan 2005, Steve Hay wrote:
> Ah. But if I call setlocale(LC_ALL, "C") first, then I do get -1.
>
> So this explains the difference: the Perl XS code was running in
> "English_United Kingdom.1252" locale by default, while the C program
> was running in "C" locale by default. (This can be
Reinhard Pagitsch wrote:
>Hello Steve,
>Steve Hay wrote:
>
>
>
>>Bizarre. What locale were you using before when you got -1?
>>
>>
>>
>>
>>
>I did not used setloale in the XS code or in the .pm file or test.pl.
>
>
I'm not sure why you get -1 by default and I get -25 by default. Maybe
Hello Steve,
Steve Hay wrote:
Bizarre. What locale were you using before when you got -1?
I did not used setloale in the XS code or in the .pm file or test.pl.
If I call setlocale(LC_ALL, "German") (which returns
"German_Germany.1252") then I still get -25.
I am too.
Try to set ret = setloc
Steve Hay wrote:
>Reinhard Pagitsch wrote:
>
>
>
>>Hello Steve,
>>
>>Steve Hay wrote:
>>
>>
>>
>>
>>
>>>Reinhard Pagitsch wrote:
>>>
>>>
>>>
>>>
>>>
Sisyphus wrote:
>Reinhard Pagitsch wrote:
>
>
>
>
>>
Reinhard Pagitsch wrote:
>Hello Steve,
>
>Steve Hay wrote:
>
>
>
>>Reinhard Pagitsch wrote:
>>
>>
>>
>>>Sisyphus wrote:
>>>
>>>
>>>
>>>
>>>
Reinhard Pagitsch wrote:
>Hello Steve,
>
>Steve Hay wrote:
>
>
>
>
Hello Steve,
Steve Hay wrote:
Reinhard Pagitsch wrote:
Sisyphus wrote:
Reinhard Pagitsch wrote:
Hello Steve,
Steve Hay wrote:
why is it that the following XS code outputs -25:
[code sniped]
On my system (Windows 2000) the output is -1, as expected.
I'm also on Windows 2000 but
On Jan 26, 2005, at 5:08 AM, Nicholas Clark wrote:
On Wed, Jan 26, 2005 at 09:19:26AM +0100, Reinhard Pagitsch wrote:
Hello Steve,
Steve Hay wrote:
why is it that the following XS code outputs -25:
[code sniped]
On my system (Windows 2000) the output is -1, as expected.
What's it documented to be?
Reinhard Pagitsch wrote:
>Sisyphus wrote:
>
>
>
>>Reinhard Pagitsch wrote:
>>
>>
>>
>>>Hello Steve,
>>>
>>>Steve Hay wrote:
>>>
>>>
>>>
why is it that the following XS code outputs -25:
>>>[code sniped]
>>>
>>>On my system (Windows 2000) the output is -
Sisyphus wrote:
Reinhard Pagitsch wrote:
Hello Steve,
Steve Hay wrote:
why is it that the following XS code outputs -25:
[code sniped]
On my system (Windows 2000) the output is -1, as expected.
I'm also on Windows 2000 but I'm getting the same weird behaviour as
Steve - wrt to each of MinGW (gc
Nicholas Clark wrote:
>On Wed, Jan 26, 2005 at 09:19:26AM +0100, Reinhard Pagitsch wrote:
>
>
>>Hello Steve,
>>
>>Steve Hay wrote:
>>
>>
>>
>>>why is it that the following XS code outputs -25:
>>>
>>>
>>>
>>>
>>[code sniped]
>>
>>On my system (Windows 2000) the output is -1, as expecte
On Wed, Jan 26, 2005 at 09:19:26AM +0100, Reinhard Pagitsch wrote:
> Hello Steve,
>
> Steve Hay wrote:
>
> >why is it that the following XS code outputs -25:
> >
> >
> [code sniped]
>
> On my system (Windows 2000) the output is -1, as expected.
What's it documented to be? stricmp() doesn't see
Reinhard Pagitsch wrote:
Hello Steve,
Steve Hay wrote:
why is it that the following XS code outputs -25:
[code sniped]
On my system (Windows 2000) the output is -1, as expected.
I'm also on Windows 2000 but I'm getting the same weird behaviour as
Steve - wrt to each of MinGW (gcc) *and* MSVC++
Hello Steve,
Steve Hay wrote:
why is it that the following XS code outputs -25:
[code sniped]
On my system (Windows 2000) the output is -1, as expected.
mit freundlichen Grüßen,
with my best regards,
Reinhard
13 matches
Mail list logo