NetBSD Problem Report #262
From gnats Tue May 24 16:40:02 1994
Received: from forte (forte.mathematik.uni-Bremen.de [134.102.232.1]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id QAA00479 for <[email protected]>; Tue, 24 May 1994 16:38:49 -0700
Message-Id: <199405242251.AAA14618@forte>
Date: Wed, 25 May 1994 00:51:01 +0200
From: [email protected]
Reply-To: [email protected]
To: [email protected]
Subject: sys/stat.h S_ISFIFO and S_ISSOCK macros broken
X-Send-Pr-Version: 3.2
>Number: 262
>Category: lib
>Synopsis: sys/stat.h S_ISFIFO and S_ISSOCK macros broken
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 24 16:50:03 +0000 1994
>Closed-Date: Tue May 24 22:36:09 +0000 1994
>Last-Modified:
>Originator: Thomas Eberhardt
>Release:
>Organization:
CeVis, University of Bremen, Germany
>Environment:
System: NetBSD ed209 NetBSD 0.9B NetBSD 0.9B (ED209) #0: Fri May 20 21:20:05 MET DST 1994 thomas@ed209:/usr/src/sys/arch/i386/compile/ED209 i386
Machine: i386
>Description:
The macros:
#define S_ISFIFO(m) ((m & 0170000) == 0100000 || \
(m & 0170000) == 0140000) /* fifo or socket */
#define S_ISSOCK(m) ((m & 0170000) == 0100000 || \
(m & 0170000) == 0140000) /* fifo or socket */
in <sys/stat.h> use 0100000 as the fifo type, but in reality it is 0010000.
>How-To-Repeat:
>Fix:
See Description.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: jtc
State-Changed-When: Tue May 24 22:36:09 1994
State-Changed-Why:
Submitter's diagnosis was correct.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.