Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!snorkelwacker!mit-eddie!uw-beaver!zephyr.ens.tek.com!tektronix!psueea!!kirkenda From: kirkenda@.cs.pdx.edu (Steve Kirkendall) Newsgroups: comp.os.minix Subject: Re: (ST1.5.0) test6 fixed, Patch 24 breaks fsck, ls broken Message-ID: <2357@psueea.UUCP> Date: 9 Feb 90 19:01:19 GMT References: <10543@nigel.udel.EDU> <829@dftsrv.gsfc.nasa.gov> Sender: news@psueea.UUCP Reply-To: kirkenda@eecs.UUCP (Steve Kirkendall) Organization: /etc/organization Lines: 20 In article <829@dftsrv.gsfc.nasa.gov> stailey@iris613.UUCP (Ken Stailey) writes: >In article <10543@nigel.udel.EDU> eo@ansa.co.uk (Ed Oskiewicz) writes: >> >>BTW, also under 1.5.0/24 ls core dumps when it hits an empty directory. > >I get this too, but "ls -a" works on an empty directory. >Mdb says that it crashes in the routine "owner()". To fix that bug in ls, add the following line at the beginning of the sortfiles() function: if (nfiles < 2) return; It works for me, although I don't see what this has to do with the owner() function. Now, does anybody have a fix for the getcwd() function? I would very much like to have a working `pwd` command again. -------------------------------------------------------------------------------- Steve Kirkendall, kirkenda@cs.pdx.edu, uunet!tektronix!psueea!jove!kirkenda