Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!udel!mmdf From: archer%segin4.segin.fr@prime.com (Vincent Archer) Newsgroups: comp.os.minix Subject: Re: check_crc.c Message-ID: <23037@nigel.udel.EDU> Date: 28 Jun 90 07:03:06 GMT Sender: mmdf@udel.EDU Lines: 21 "Scott A. Sharkey" writes: > I've been trying to compile the check_crc.c program that I got off > plains.nodak.edu and keep getting an undefined reference - _S_ISDIR. This is > under 1.3. Is this a 1.5 program? No, it is not (a program). S_ISDIR is a macro define in /usr/include/sys/stat.h as something like: #define S_ISDIR(m) (m.st_mode & 'somevalue') (don't have the exact file around to check) Basically, you can replace it with a test that check if the given file is a directory. Vincent Vincent Archer | Email:archer%segin4.segin.fr@prime.com "People that are good at finding excuses are never good at anything else"