Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!decvax!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.unix-wizards Subject: Re: 4.2 source compatibility Message-ID: <2703@sun.uucp> Date: Sat, 24-Aug-85 19:06:17 EDT Article-I.D.: sun.2703 Posted: Sat Aug 24 19:06:17 1985 Date-Received: Tue, 27-Aug-85 01:19:39 EDT References: <427@azure.UUCP> <1353@umcp-cs.UUCP> <929@brl-tgr.ARPA> Distribution: net Organization: Sun Microsystems, Inc. Lines: 11 > Hey! People who need to use the directory access library routines > should not be using old-style direct reading of directory structures. > The two dir.h files are not interchangeable. I'd delete the clause "who need to use the directory access library routines" from that statement. Versions of the library routines which work with pre-4.2BSD directories are available from several sources. (And if any code out there is assuming that directory entries read from a pre-4.2BSD directory have null-terminated file names - as does some version of the S5R2 "ls", for instance - get fixed for free by being changed to use the directory library.)