Subject: misc/1949: stat(2) does not document S_IFWHT
To: None <gnats-bugs@gnats.netbsd.org>
From: Mike Long <mike.long@analog.com>
List: netbsd-bugs
Date: 01/15/1996 23:44:10
>Number:         1949
>Category:       misc
>Synopsis:       stat(2) does not document S_IFWHT
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 16 00:05:06 1996
>Last-Modified:
>Originator:     Mike Long <mike.long@analog.com>
>Organization:
	Snow-Haters Anonymous
>Release:        951220
>Environment:
System: NetBSD azathoth 1.1A NetBSD 1.1A (AZATHOTH) #1: Wed Dec 20 02:35:04 EST 1995 root@azathoth:/usr/src/sys/arch/i386/compile/AZATHOTH i386

>Description:
	The stat(2) manpage does not include any mention of S_IFWHT.
>How-To-Repeat:
	man stat
>Fix:
	Apply the diff below (matches contents of /sys/sys/stat.h):

*** /usr/src/lib/libc/sys/stat.2.orig   Fri Oct 13 20:55:03 1995
--- /usr/src/lib/libc/sys/stat.2        Wed Dec 20 01:14:57 1995
***************
*** 173,176 ****
--- 173,177 ----
  #define        S_IFLNK  0120000  /* symbolic link */
  #define        S_IFSOCK 0140000  /* socket */
+ #define        S_IFWHT  0160000  /* whiteout */
  #define S_ISUID 0004000  /* set user id on execution */
  #define S_ISGID 0002000  /* set group id on execution */

>Audit-Trail:
>Unformatted: