*BSD News Article 92456


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!newsfeed.internetmci.com!news-was.dfn.de!news-fra1.dfn.de!news-ber1.dfn.de!news-lei1.dfn.de!news.urz.tu-dresden.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ftpd -U -- illegal option?
Date: 31 Mar 1997 19:10:50 GMT
Organization: Private BSD site, Dresden
Lines: 25
Message-ID: <5hp27q$b82@uriah.heep.sax.de>
References: <5h97jp$i1b@muenchen.photogrammetrie.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38171

mehldau@photogrammetrie.de (Gerhard Mehldau) wrote:

> When I tried to ftp to the machine, ftpd quit with an error
> message along the lines of '-U:  illegal option'.  Looking
> at the source code quickly showed the problem:  there's a
> compile-time option which allows either the '-S' or the '-U'
> option, but not both.  That was easy enough to fix, but I'm
> still wondering whether there's a reasoning behind this
> (and if so, what it is).

That's clearly an error.  After 2.1.5, somebody tried to backport the
-R option to the 2.1 branch, and now it's even more broken...  (`R' is
mentioned twice, while `U' is still missing).

Things are better in 2.2 and -current, the getopt list is now
completely re-sorted.

I'll fix it in the 2.1 branch, just in case.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)