Xref: utzoo unix-pc.bugs:83 comp.sys.att:6591 Path: utzoo!utgpu!watmath!uunet!shelby!rutgers!tut.cis.ohio-state.edu!unmvax!indri!polyslo!csun!srhqla!kosman!kevin From: kevin@kosman.UUCP (Kevin O'Gorman) Newsgroups: unix-pc.bugs,comp.sys.att Subject: Re: Patch #1 to bf Summary: This does not work Message-ID: <782@kosman.UUCP> Date: 1 Jun 89 17:40:50 GMT References: <479@manta.pha.pa.us> Followup-To: unix-pc.bugs Organization: K.O.'s Manor - Vital Computer Systems, Oxnard, CA 93035 Lines: 71 In article <479@manta.pha.pa.us>, brant@manta.pha.pa.us (Brant Cheikes) writes: > Peter Fales (psfales@ihlpb.att.com) found and fixed a bug in bf, the > block->inode mapping utility that I posted some months back. Herewith > is a patch file correcting that bug and making a few other minor > source tweaks. I have bf, archived back in February. I tried applying the patch, and only part of it took. Some with big offsets and fuzz factors > > *** bf.c-old Tue May 23 20:38:27 1989 > --- bf.c Wed May 24 00:54:34 1989 The last two hunks fail completely > *************** > *** 114,126 > /* > * Verify that we still have blocks to look for. > */ > ! if (nblk == 0) > ! barf("feh! no blocks",0); > ! > ! /* > ! * Scan the allocated block list. > ! */ > ! (void) done(scan_ilist(fsdev,&superblk,nblk,bitmap)); > } > > /* > > --- 121,128 ----- > /* > * Look for all blocks that remain. > */ > ! if (nblk) > ! (void) done(scan_ilist(fsdev,&superblk,nblk,bitmap)); > } > > /*