Re: How to redirect STDERR under WIN32

2004-08-12 Thread Nick Ing-Simmons
Steve Hay <[EMAIL PROTECTED]> writes: >>>I just tried this (using VC++ / nmake) with bleadperl (normally all >>>tests OK). Seemingly every test fails, many saying "FAILED before any >>>test output arrived" and many producing popup application error windows, >>>or hanging. I soon gave up and ki

Re: How to redirect STDERR under WIN32

2004-08-10 Thread Nick Ing-Simmons
Nicholas Clark <[EMAIL PROTECTED]> writes: >On Mon, Aug 09, 2004 at 07:55:18PM +0100, Nick Ing-Simmons wrote: > >> Hmm, that is a pipe interface and possibly fork. >> If I remember my history it is possible that :win32 layer's >> Dup() hook isn't up to final spec of that entry point. > >You wanted

Re: How to redirect STDERR under WIN32

2004-08-10 Thread Steve Hay
Nick Ing-Simmons wrote: >Steve Hay <[EMAIL PROTECTED]> writes: > > >>Nick Ing-Simmons wrote: >> >> >> >>>The source for the native Win32 layer is in perforce. >>>I think the layer even gets built one can do >>> >>>set PERLIO=:win32:crlf >>>dmake test >>> >>> >>> >>I just tried this

Re: How to redirect STDERR under WIN32

2004-08-09 Thread Nicholas Clark
On Mon, Aug 09, 2004 at 07:55:18PM +0100, Nick Ing-Simmons wrote: > Hmm, that is a pipe interface and possibly fork. > If I remember my history it is possible that :win32 layer's > Dup() hook isn't up to final spec of that entry point. You wanted a pipe interface implemented in sockets for some

Re: How to redirect STDERR under WIN32

2004-08-09 Thread Nick Ing-Simmons
Steve Hay <[EMAIL PROTECTED]> writes: >Nick Ing-Simmons wrote: > >>The source for the native Win32 layer is in perforce. >>I think the layer even gets built one can do >> >>set PERLIO=:win32:crlf >>dmake test >> >I just tried this (using VC++ / nmake) with bleadperl (normally all >tests OK). S

Re: How to redirect STDERR under WIN32

2004-08-09 Thread Steve Hay
Nick Ing-Simmons wrote: >The source for the native Win32 layer is in perforce. >I think the layer even gets built one can do > >set PERLIO=:win32:crlf >dmake test > I just tried this (using VC++ / nmake) with bleadperl (normally all tests OK). Seemingly every test fails, many saying "FAILED b

Re: How to redirect STDERR under WIN32

2004-08-09 Thread Nick Ing-Simmons
Nicholas Clark <[EMAIL PROTECTED]> writes: >On Sun, Aug 08, 2004 at 09:50:49PM +0100, Nick Ing-Simmons wrote: > >> I suspect is one of mine, but I don't remember what it does exactly. >> I was about 80% done on a "native" Win32 layer (which is still there) >> when the NTFS partition on that machine

Re: How to redirect STDERR under WIN32

2004-08-08 Thread Nicholas Clark
On Sun, Aug 08, 2004 at 09:50:49PM +0100, Nick Ing-Simmons wrote: > I suspect is one of mine, but I don't remember what it does exactly. > I was about 80% done on a "native" Win32 layer (which is still there) > when the NTFS partition on that machine became useless. One day I may > get back to it

RE: How to redirect STDERR under WIN32

2004-08-08 Thread Nick Ing-Simmons
PROTECTED] >Cc: [EMAIL PROTECTED]; 'Nick Ing-Simmons' >Subject: RE: How to redirect STDERR under WIN32 > >Gopakumar Ambat <[EMAIL PROTECTED]> writes: >>Thanks for your response. >>I have got around the problem doing this (checked on Win32): >> >>

RE: How to redirect STDERR under WIN32

2004-08-05 Thread Gopakumar Ambat
: Thursday, August 05, 2004 10:03 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; 'Nick Ing-Simmons' Subject: RE: How to redirect STDERR under WIN32 Gopakumar Ambat <[EMAIL PROTECTED]> writes: >Thanks for your response. >I have got around the problem doing this (checked o

RE: How to redirect STDERR under WIN32

2004-08-05 Thread Nick Ing-Simmons
Gopakumar Ambat <[EMAIL PROTECTED]> writes: >Thanks for your response. >I have got around the problem doing this (checked on Win32): > > //first close the stderr opened by PERL > //open it again, and dup it... > int code = PerlIO_close(PerlIO_stderr()); >if(code == 0) >{ > PerlIO* newprlIO = Pe

RE: How to redirect STDERR under WIN32

2004-08-05 Thread Gopakumar Ambat
ROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: How to redirect STDERR under WIN32 Gopakumar Ambat <[EMAIL PROTECTED]> writes: >>From the Perl source code, I gathered that "Perl_debug_log" is set to >stderr; all calls to perl_printf etc.. are sent to Perl_debug_log. >Tried #defi

RE: How to redirect STDERR under WIN32

2004-08-05 Thread Nick Ing-Simmons
is PerlIO_openn() which has a very complicated interface to handle all the possible ways perl can call it. > >Thanks, >Gopa > >-Original Message- >From: Gopakumar Ambat [mailto:[EMAIL PROTECTED] >Sent: Tuesday, July 27, 2004 6:19 PM >To: 'muppet' >C

RE: How to redirect STDERR under WIN32

2004-07-28 Thread Gopakumar Ambat
her...:( HELP! Thanks, Gopa -Original Message- From: Gopakumar Ambat [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 6:19 PM To: 'muppet' Cc: [EMAIL PROTECTED] Subject: RE: How to redirect STDERR under WIN32 I can't set stderr = fopen(..) since stderr cannot be an

RE: How to redirect STDERR under WIN32

2004-07-27 Thread Gopakumar Ambat
pa -Original Message- From: muppet [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 5:43 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: How to redirect STDERR under WIN32 On Jul 27, 2004, at 6:09 AM, Gopakumar Ambat wrote: > ##perl script: > ##test.p

Re: How to redirect STDERR under WIN32

2004-07-27 Thread muppet
On Jul 27, 2004, at 6:09 AM, Gopakumar Ambat wrote: ##perl script: ##test.pl use my_test.pm that should be either "use my_test;" or "require 'my_test.pm';". either way, it needs a semicolon, or you get the syntax error you saw. you also are responsible for making sure this file