From rse@en1.engelschall.com  Wed Sep 20 11:51:23 2000
Return-Path: <rse@en1.engelschall.com>
Received: from slarti.muc.de (slarti.muc.de [193.149.48.10])
	by hub.freebsd.org (Postfix) with SMTP id D148F37B422
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 20 Sep 2000 11:51:22 -0700 (PDT)
Received: (qmail 2572 invoked by uid 66); 20 Sep 2000 18:59:43 -0000
Received: from en by slarti with UUCP; Wed Sep 20 18:59:43 2000 -0000
Received: by en1.engelschall.com (Sendmail 8.11.0+)
	id e8KInpb09730; Wed, 20 Sep 2000 20:49:51 +0200 (CEST)
Message-Id: <200009201849.e8KInpb09730@en1.engelschall.com>
Date: Wed, 20 Sep 2000 20:49:51 +0200 (CEST)
From: "Ralf S. Engelschall" <rse@en1.engelschall.com>
Reply-To: rse@engelschall.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: resurrect SF_ARCHIVED in chflags(2) manpage 
X-Send-Pr-Version: 3.2

>Number:         21428
>Category:       docs
>Synopsis:       resurrect SF_ARCHIVED in chflags(2) manpage
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 20 12:00:03 PDT 2000
>Closed-Date:    Fri Sep 22 00:19:31 PDT 2000
>Last-Modified:  Fri Sep 22 00:21:05 PDT 2000
>Originator:     Ralf S. Engelschall
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
Engelschall, Germany.
>Environment:

FreeBSD en1.engelschall.com 4.1-STABLE FreeBSD 4.1-STABLE #0: Sat Sep 16
18:53:52 CEST 2000     rse@en1.engelschall.com:/usr/src/sys/compile/EN1  i386

>Description:

Although FreeBSD supports the SF_ARCHIVED flag in cflags() and "arch" in
"cflags", only "arch" is documented in the corresponding manpage cflags(1)
while SF_ARCHIVED is missing from the manpage cflags(2). It is out-commented
there under the name "ARCHIVED". This part of the manpage was overtaken
directly from 4.4BSD. But for FreeBSD we should now resurrect the
stuff under the current name SF_ARCHIVED.

>How-To-Repeat:

$ man 2 chflags | grep SF_ARCHIVED

>Fix:

Here is a patch for 5.0-CURRENT's version of chflags.2:

Index: chflags.2
===================================================================
RCS file: /home/ncvs/src/lib/libc/sys/chflags.2,v
retrieving revision 1.13
diff -u -d -r1.13 chflags.2
--- chflags.2	2000/06/17 14:03:34	1.13
+++ chflags.2	2000/09/20 18:43:15
@@ -72,8 +72,8 @@
 The file may not be renamed or deleted.
 .It UF_OPAQUE
 The directory is opaque when viewed through a union stack.
-.\".It ARCHIVED
-.\"File is archived.
+.It SF_ARCHIVED
+The file may be archived.
 .It SF_IMMUTABLE
 The file may not be changed.
 .It SF_APPEND

>Release-Note:
>Audit-Trail:

From: Ben Smithurst <ben@FreeBSD.org>
To: rse@engelschall.com
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: docs/21428: resurrect SF_ARCHIVED in chflags(2) manpage
Date: Thu, 21 Sep 2000 17:04:04 +0100

 Ralf S. Engelschall wrote:
 
 > Although FreeBSD supports the SF_ARCHIVED flag in cflags() and "arch" in
 > "cflags", only "arch" is documented in the corresponding manpage cflags(1)
 > while SF_ARCHIVED is missing from the manpage cflags(2). It is out-commented
 > there under the name "ARCHIVED". This part of the manpage was overtaken
 > directly from 4.4BSD. But for FreeBSD we should now resurrect the
 > stuff under the current name SF_ARCHIVED.
 
 This seems reasonable to me.  You're a committer, go ahead. :-)
 
 -- 
 Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D
 
State-Changed-From-To: open->closed 
State-Changed-By: rse 
State-Changed-When: Fri Sep 22 00:19:31 PDT 2000 
State-Changed-Why:  
Change committed to 5.0-C/HEAD and 4.1-S/RELENG_4. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21428 
>Unformatted:
