Xref: utzoo comp.sources.bugs:2386 comp.unix.xenix:11440 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cis.ohio-state.edu!karl_kleinpaste From: karl_kleinpaste@cis.ohio-state.edu Newsgroups: comp.sources.bugs,comp.unix.xenix Subject: Re: Pathalias Problem Message-ID: Date: 8 May 90 18:51:52 GMT References: <6145@ucrmath.UCR.EDU> Sender: news@tut.cis.ohio-state.edu Followup-To: comp.sources.bugs Distribution: usa Organization: Ohio State Computer Science Lines: 17 gumby@ucrmath.UCR.EDU writes: ...pathalias is run with: /usr/lib/uucp/pathalias -i /usr/spool/uucp/Maps/* > /tmp/paths It complains that the "arg list too long" and terminates. The problem is not with getopt(3). The problem is that the number of files is simply too large, for each to be a complete pathname not less than 30 or so characters long -- the limit on how many things can be passed to a program from the shell via argv[] is too small. Change the way that pathalias is invoked, so that pathalias is invoked from within the directory where the map files live: cd /usr/spool/uucp/Maps /usr/lib/uucp/pathalias -i * > /tmp/paths and it'll probably work just fine again. --karl