delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/30/10:50:27

Message-ID: <44632C76B97BD211AF6B00805FADCAB2063331EF@exchange.saltaire.pace.co.uk>
From: Magnus Lewis-Smith <Magnus DOT Lewis-Smith AT pace DOT co DOT uk>
To: djgpp AT delorie DOT com
Subject: RE: DJGPP perl port vs ActivePerl line length
Date: Wed, 30 Aug 2000 15:50:04 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Reply-To: djgpp AT delorie DOT com

In the script I am using $command is defined as

    my $command = "cvs -fQq -d $repos co -r $tag $1";

where the CVS executable was installed as part of the WinCVS distribution.  However, some of our developers would be using "original" CVS 1.10, as obtained from www.cvshome.org.

I don't know much about perl, so I hope this answers your question -- if not, well, I'll try again.

--
Magnus Lewis-Smith

> -----Original Message-----
> From:	Eli Zaretskii [SMTP:eliz AT is DOT elta DOT co DOT il]
> Sent:	Wednesday, August 30, 2000 2:14 PM
> To:	Magnus Lewis-Smith
> Cc:	djgpp AT delorie DOT com
> Subject:	Re: DJGPP perl port vs ActivePerl line length
> 
> 
> On Wed, 30 Aug 2000, Magnus Lewis-Smith wrote:
> 
> >     system($command);
> >     die("$script: failed ($command)\n") if ($? >> 8);
> >   }
> > }
> > 
> > Under ActivePerl the script executes properly, but under the DJGPP port
> > lines longer than 127 characters get truncated, and $repos may often exceed
> > 127 characters alone.
> 
> If the program you invoke via `system' is not a DJGPP program, the 
> command line will be truncated at 126 (not 127) characters.
> 
> > Is there a solution or workaround, or will I have to live with this and use
> > ActivePerl?
> 
> The solution and/or workaround depend on what kind of program is invoked 
> via `system'.  Please tell what it is.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019