Xref: utzoo comp.sources.d:1919 comp.sources.bugs:892 Path: utzoo!utgpu!jarvis.csri.toronto.edu!me!ip From: ip@mill.me.uucp (Bevis Ip) Date: Wed Apr 6 21:19:52 EDT 1988 Message-ID: <28083.1988Apr6.21:19:52@mill.me.uucp> Newsgroups: comp.sources.d,comp.sources.bugs Subject: Re: bsd version of arc References: <4395@b-tech.UUCP> Reply-To: ip@mill.me.UUCP (Bevis Ip) Organization: University of Toronto Mechanical Engineering In article <4395@b-tech.UUCP> zeeff@b-tech.UUCP (Jon Zeeff) writes: >Subject: bsd version of arc >Newsgroups: comp.sources.d > >After running lint on this thing, I find it amazing that it works for >anyone. Does anyone have diffs for a lint free version or a version >with the bugs removed? (yes, some nasty ones did turn up) You'e right, the code is quite dirty. I have BSD version of arc running on DEC (BSD4.3), SUN (SUN3.4) and MIPS (UMIPS-BSD) machines; they all works fine for extracting files, but only the one running on DEC works for creating/updating archives. (BTW, I tried all posted versions, from the first working BSD version to the latest squashing patch.) If any one has a fully working version running on either SUN or MIPS, I will appreciate it if one could send me a copy. >Moral of the story: "lint *.c" isn't hard to do. Always use it on >any code you work on. I think the morale for people in this case is to get it to work first, and then worry about lint's complains about other people's code. It is sometimes easier and more enjoyable to rewrite stuff from scratch than to do 2nd or 3rd hand hacking, like here. /bevis -- Bevis Ip Univ. of Toronto, Dept. of Mechanical Engineering UUCP : {ihnp4,allegra,decwrl,decvax}!utcsri!me!ip {pyramid,uunet}!utai!me!ip ARPA : ip%me.toronto.edu@csnet-relay.arpa BitNet: ip@me.UTORONTO CSNet : ip@me.toronto.edu