🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #66

finger 1.37 -- S_IF vs. S_IS

#66
From: Karl Berry
Date: Wed, 04 Nov 1992 11:22
11 lines
924 bytes
finger 1.37 lib/os.c doesn't compile on Interactive Unix 2.2.1, because
it uses S_IFCHR:

		if ((finfo.st_mode & S_IFCHR) &&
		    (stat (ACCT_FILE, &finfo) == 0) &&
		    ((file = open (ACCT_FILE, O_RDONLY)) >= 0))
		  {

ISC doesn't define the S_IF... bits in its POSIX mode; it only defines
the S_IS... macros.  I think the S_IF bits might be used in other places
in the source as well; perhaps a grep is in order.
Technical Details
Message-ID: <199211042122.AA01488@claude.cs.umb.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!claude.cs.umb.edu!karl

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!claude.cs.umb.edu!karl
From: karl@claude.cs.umb.edu (Karl Berry)
Subject: finger 1.37 -- S_IF vs. S_IS
Message-ID: <199211042122.AA01488@claude.cs.umb.edu>
Sender: gnulists@ai.mit.edu
Reply-To: karl@cs.umb.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 4 Nov 1992 11:22:55 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 12