delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/30/12:45:52

Date: Wed, 30 Aug 2000 16:13:54 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Magnus Lewis-Smith <magnus DOT lewis-smith AT pace DOT co DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: DJGPP perl port vs ActivePerl line length
In-Reply-To: <8oilke$ns4$1@nh.pace.co.uk>
Message-ID: <Pine.SUN.3.91.1000830161213.9951F-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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