mp@allegra.att.com (12/25/88)
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