Grokbase
Topics Posts Groups | in
x
[ help ]

RE: Smoke [5.11.0] 34874 FAIL(F) MSWin32 WinXP/.Net SP3 (x86/2 cpu)

View PostFlat  Thread  Threaded | < Prev - Next >
Steve Hay RE: Smoke [5.11.0] 34874 FAIL(F) MSWin32 WinXP/.Net SP3 (x86/2 cpu)
| +1 vote
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Nicholas Clark wrote:
> On Tue, Nov 18, 2008 at 09:37:50AM -0000, Steve Hay wrote:
>> The deparse.t failures were:
>>
>> not ok 63 - tests for deparsing imported constants
>> # Failed test 'tests for deparsing imported constants'
>> #   at ../ext/B/t/deparse.t line 94.
>> #                   '{
>> #     warn &O_NONBLOCK();
>> # }'
>> # doesn't match '(?-xism:^\{\s*\s+warn\s+O_NONBLOCK\;\s*\}$)'
>>
>> not ok 65 - tests for deparsing imported constants that got deleted
>> from the original namespace # Failed test 'tests for deparsing
>> imported constants that got deleted from the original namespace' #
>> at ../ext/B/t/deparse.t line 94. # '{
>> #     warn &O_SYNC();
>> # }'
>> # doesn't match '(?-xism:^\{\s*\s+warn\s+O_SYNC\;\s*\}$)'
>
> On Win32 both POSIX::O_NONBLOCK and POSIX::O_SYNC are actually
> subroutines that croak() with a "not defined" if you call them?

Yes, I think so:

C:\p5p\bleadperl>.\perl -MPOSIX -e "POSIX::O_NONBLOCK()"
Your vendor has not defined Fcntl macro O_NONBLOCK, used at -e line 1.

C:\p5p\bleadperl>.\perl -MPOSIX -e "POSIX::O_SYNC()"
O_SYNC is not a valid POSIX macro at -e line 1


> If "yes" - can you suggest two Fcntl constants re-exported by POSIX
> that are defined on Win32?

These are all okay: O_APPEND, O_CREAT, O_EXCL, O_TRUNC.

Thread : Smoke [5.11.0] 34874 FAIL(F) MSWin32 WinXP/.Net SP3 (x86/2 cpu)
1)
Steve Hay Automated smoke report for 5.11.0 patch 34874 maldoror.bath.planit.group: Intel(R) Core(TM)2 CPU...
2)
Steve Hay Only one of those (deparse.t) actually failed. The other two are TODO passed. Why do they show up...
3)
Nicholas Clark Odd. I don't know how to fix that. that croak() with a "not defined" if you call them? If "yes" -...
4)
Steve Hay Yes, I think so: C:\p5p\bleadperl>.\perl -MPOSIX -e "POSIX::O_NONBLOCK()" Your vendor has not...
5)
Nicholas Clark Should be fixed with change 34909 Nicholas Clark Change 34909 by nicholas@nicholas-saigo on...
6)
Steve Hay Yes, working now, but... has. ...is it intentional that you have O_EXCEL twice in the above line?...
7)
Nicholas Clark No. Well spotted. Now updated. Nicholas Clark Change 34914 by nicholas@nicholas-saigo on 2008/11/25...
spacer
View PostFlat  Thread  Threaded | < Prev - Next >