Path: utzoo!utgpu!watmath!uunet!cs.utexas.edu!ut-emx!dell!raid.dell.com!james From: james@raid.dell.com (James Van Artsdalen) Newsgroups: gnu.utils.bug Subject: Re: GNU Make 3.56 vs Stellar & Convex Message-ID: <3489@dell.dell.com> Date: 2 Oct 89 06:03:34 GMT References: <8909291338.AA10355@sprite.crd.Ge.Com> Sender: news@dell.dell.com Reply-To: james@raid.dell.com (James Van Artsdalen) Distribution: gnu Organization: Institute for Applied Cosmology Lines: 39 In <8909291338.AA10355@sprite.crd.Ge.Com>,(Skip Montanaro) wrote: > #if defined(USGr3) || defined(DIRENT) > > #include > # if !defined(d_ino) && !defined(d_fileno) > #define d_ino d_fileno > ^^^^^^^^^^^^^^^^^^^^^^^^ this'n right here > # endif > Stellar uses d_ino as the inode field in a dirent struct, not d_fileno. I > have no other Sys V machines around to compare with, so I don't know if > Stellar is quirky or the #define is incorrect. The typo is in the #if, not the #define. Remove the bogus "!" before "defined(d_fileno)" as shown below: *** /tmp/,RCSt1a01675 Mon Oct 2 00:54:31 1989 --- glob.c Mon Oct 2 00:37:06 1989 *************** *** 24,30 **** #if defined(USGr3) || defined(DIRENT) #include ! # if !defined(d_ino) && !defined(d_fileno) #define d_ino d_fileno # endif #define direct dirent --- 24,30 ---- #if defined(USGr3) || defined(DIRENT) #include ! # if !defined(d_ino) && defined(d_fileno) #define d_ino d_fileno # endif #define direct dirent -- James R. Van Artsdalen james@raid.dell.com "Live Free or Die" DCC Corporation 9505 Arboretum Blvd Austin TX 78759 512-338-8789