Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!mailrus!ames!umd5!purdue!decwrl!hplabs!hpda!hpsemc!bd From: bd@hpsemc.HP.COM (bob desinger) Newsgroups: comp.emacs Subject: Re: Suspending GNU 18.51 on HP s800 Message-ID: <690018@hpsemc.HP.COM> Date: 30 May 88 02:53:06 GMT References: <690015@hpsemc.HP.COM> Organization: HP Technology Access Center, Cupertino, CA Lines: 22 Another m-hp9000s800.h note. Near line 171 appears the comment: > /* In hpux, for unknown reasons, S_IFLNK is defined even though > symbolic links do not exist. > Make sure our conditionals based on S_IFLNK are not confused. Then it #undefs S_IFLNK on line 178. Well, at revision 2.0 of HP-UX on the Series 800, symbolic links exist. So this undef should be commented out if you're running 2.0 or later. One way to do this semi-portably would be by imitating the scheme used in m-hp9000s300.h: allowing a #define of HPUX_1 and keeping the #undef on line 178 only if HPUX_1 was defined. I'd be satisfied with merely commenting out the #undef, and cloning the comment in m-hp9000s300.h about symlinks not existing on version 1 of HP-UX. Now you know why S_IFLNK was defined even though symlinks didn't exist. The code was in the kernel---HP-UX started from a Berkeley kernel---but was just #ifdef'ed out until there was enough demand to justify the extra resources that it would take to support it. -- bd