🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #9889

Re: find and updatedb problems on sun-4

#9889
From: mp
Date: Sat, 24 Dec 1988 19:50
22 lines
1391 bytes
Not a SPARC compiler problem this time.  The reason "find filename"
doesn't work on the Sun-4 is because of an uninitialized variable in the
fastfind() routine in find.c.

Change
	int i, count = 0, globflag;
to
	int i, count = 0, globflag = NO;

If you don't have source code, Jay Plett's suggestion of always using
globbed expressions is a reasonable workaround.  It might also be nice to
rewrite things to get rid of the calls to putw() and getw(), to eliminate
problems caused by byte-order differences.  As to our moderator's comment
about the posters' being in the twilight zone about the syntax of the find
command, the problem is that Sun updated the find command to include the
4.3BSD "fast find" enhancements but didn't update the man page.

	"SPARC: where i*j can be evaluated twice as fast as j*i"

	Mark Plotnick
	allegra!mp
	mp@research.att.com
Technical Details
Message-ID: <8812161906.AA12210@rice.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!ucbvax!agate!bionet!csd4.milw.wisc.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!ucbvax!agate!bionet!csd4.milw.wisc.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: mp@allegra.att.com
Newsgroups: comp.sys.sun
Subject: Re: find and updatedb problems on sun-4
Message-ID: <8812161906.AA12210@rice.edu>
Date: 24 Dec 88 19:50:51 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 22
Approved: Sun-Spots@rice.edu
Original-Date: Fri, 16 Dec 88 13:40:41 EST
X-Sun-Spots-Digest: Volume 7, Issue 75, message 1 of 11