Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!apple!amdahl!fai!paulr From: paulr@fai.UUCP (Paul Rasmussen) Newsgroups: comp.os.mach Subject: seekdir & telldir in 2.5 libc source Message-ID: <3047@fai.UUCP> Date: 3 May 91 23:27:51 GMT Reply-To: paulr@fai.fai.com (Paul Rasmussen) Organization: Fujitsu America, Inc Lines: 17 We are working on porting Mach 2.5 to new Fujitsu hardware. In the libc source that is distributed with Mach 2.5, if "CMU" is defined, there is code purposely inserted to make "seekdir" and "telldir" not work and huge warnings of the form "Don't use telldir under MACH !!!". We are assuming we should be building our library with "CMU" defined. Is this wrong? If not, what is wrong with using seekdir and telldir under MACH? Some BSD utilities (du and tar are the ones we have noticed so far) make calls to telldir and seekdir so we can't build the BSD versions of these with our current libc. Does CMU have it's own version of these utilities? If so, they aren't included in the 2.5 vax or rt source trees we have. Any information on this would be appreciated. Thanks, paul r. BTW, this is for the "non-parallel" library so we don't think multi-thread issues should be a concern for routines in this library.