🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.bugs
Article #352

Re: Pathalias Problem

#352
From: Dave Hammond
Date: Wed, 09 May 1990 00:30
21 lines
1294 bytes
In article <6145@ucrmath.UCR.EDU> gumby@ucrmath.ucr.edu (john donahue) writes:
>/usr/lib/uucp/pathalias -i /usr/spool/uucp/Maps/* > /tmp/paths
>It complains that the "arg list too long" and terminates.
>So, do I need a better version of "getopt ()" than the one supplied
>by SCO?

This message is generated by the shell (not getopt), when the number of
characters in the argument vector to some program exceeds the limit
imposed by execv() -- around 5000 characters, as I recall.  Try changing
to /usr/spool/uucp/Maps before running the command, as in:

cd /usr/lib/uucp/Maps
/usr/lib/uucp/pathalias -i * > /tmp/paths

This will reduce the number of chars passed to getopt by 18 (the length
of /usr/lib/uucp/Maps) for each file to be processed.

--
Dave Hammond
daveh@marob.masa.com
uunet!masa.com!marob!daveh
Technical Details
Message-ID: <2647649C.7478@marob.masa.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uwm.edu!rpi!sci.ccny.cuny.edu!phri!marob!daveh
References: <6145@ucrmath.UCR.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uwm.edu!rpi!sci.ccny.cuny.edu!phri!marob!daveh
From: daveh@marob.masa.com (Dave Hammond)
Newsgroups: comp.sources.bugs,comp.unix.xenix
Subject: Re: Pathalias Problem
Message-ID: <2647649C.7478@marob.masa.com>
Date: 9 May 90 00:30:20 GMT
References: <6145@ucrmath.UCR.EDU>
Reply-To: daveh@marob.masa.com (Dave Hammond)
Distribution: usa
Organization: ESCC,  New York City
Lines: 21