Mail Archives: djgpp/2000/08/30/10:50:27
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 -