From garys@opusnet.com  Fri Jul 29 04:21:51 2005
Return-Path: <garys@opusnet.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3F9BC16A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 29 Jul 2005 04:21:51 +0000 (GMT)
	(envelope-from garys@opusnet.com)
Received: from opusnet.com (mail.opusnet.com [209.210.200.6])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EECAF43D45
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 29 Jul 2005 04:21:50 +0000 (GMT)
	(envelope-from garys@opusnet.com)
Received: from localhost.localhost [70.98.246.232] by opusnet.com with ESMTP
  (SMTPD32-8.05) id AEDB412D00A2; Thu, 28 Jul 2005 21:21:47 -0700
Received: from localhost.localhost (localhost.localhost [127.0.0.1])
	by localhost.localhost (8.13.3/8.13.3) with ESMTP id j6T4MnBI082677
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 28 Jul 2005 21:22:49 -0700 (PDT)
	(envelope-from garys@opusnet.com)
Received: (from jojo@localhost)
	by localhost.localhost (8.13.3/8.13.3/Submit) id j6T4MhEe082676;
	Thu, 28 Jul 2005 21:22:43 -0700 (PDT)
	(envelope-from garys@opusnet.com)
Message-Id: <k6ack6b5rg.ck6@mail.opusnet.com>
Date: Thu, 28 Jul 2005 21:22:43 -0700
From: "Gary W. Swearingen" <garys@opusnet.com>
Reply-To: garys@opusnet.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: compress(1) doesn't warn about nasty link handling
X-GNATS-Notify:

>Number:         84271
>Category:       docs
>Synopsis:       [patch] compress(1) doesn't warn about nasty link handling
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 29 04:30:26 GMT 2005
>Closed-Date:    
>Last-Modified:  Fri Jan 30 19:25:07 UTC 2009
>Originator:     Gary W. Swearingen
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
none
>Environment:
n/a
>Description:
See synopsis.

>How-To-Repeat:
n/a

>Fix:
Apply patch with new paragraph at end of DESCRIPTION
and a new BUGS section:

--- /pr/work/compress..orig.1	Thu Jul 28 21:01:24 2005
+++ /pr/work/compress.1	Thu Jul 28 21:19:35 2005
@@ -152,6 +152,16 @@
 coding (as used in the historical command pack), or adaptive Huffman
 coding (as used in the historical command compact), and takes less
 time to compute.
+.Pp
+If
+.Ar file
+is a soft or hard link
+.Nm compress
+will replace it with a compressed copy of the linked-to file,
+leaving that file uncompressed.
+If
+.Ar file
+is hard linked, it will 
 .Sh DIAGNOSTICS
 .Ex -std compress uncompress
 .Pp
@@ -188,3 +198,5 @@
 .Nm
 command appeared in
 .Bx 4.3 .
+.Sh BUGS
+The program doesn't handle links well and has no link-handling options.
>Release-Note:
>Audit-Trail:

From: Ceri Davies <ceri@submonkey.net>
To: garys@opusnet.com
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: docs/84271: compress(1) doesn't warn about nasty link handling
Date: Sun, 31 Jul 2005 14:29:38 +0100

 On 29 Jul 2005, at 05:22, Gary W. Swearingen wrote:
 > Apply patch with new paragraph at end of DESCRIPTION
 > and a new BUGS section:
 >
 > --- /pr/work/compress..orig.1    Thu Jul 28 21:01:24 2005
 > +++ /pr/work/compress.1    Thu Jul 28 21:19:35 2005
 > @@ -152,6 +152,16 @@
 >  coding (as used in the historical command pack), or adaptive Huffman
 >  coding (as used in the historical command compact), and takes less
 >  time to compute.
 > +.Pp
 > +If
 > +.Ar file
 > +is a soft or hard link
 > +.Nm compress
 > +will replace it with a compressed copy of the linked-to file,
 > +leaving that file uncompressed.
 > +If
 > +.Ar file
 > +is hard linked, it will
 >  .Sh DIAGNOSTICS
 >  .Ex -std compress uncompress
 >  .Pp
 
 This patch looks like it adds half of a sentence?
 i.e:
 
    If file is hard linked, it will
 
 Ceri
 -- 
 Only two things are infinite, the universe and human stupidity, and I'm
 not sure about the former.                        -- Einstein (attrib.)
 
 

From: garys@opusnet.com (Gary W. Swearingen)
To: FreeBSD-gnats-submit@FreeBSD.org
Cc: Ceri Davies <ceri@submonkey.net>
Subject: Re: docs/84271: compress(1) doesn't warn about nasty link handling
Date: Sun, 31 Jul 2005 08:52:20 -0700

 Ceri Davies <ceri@submonkey.net> writes:
 
 > This patch looks like it adds half of a sentence?
 
 I didn't delete enough and apparently didn't review it with
 my "manfile" command as I normally do.  Sorry.
 
 
 --- compress..orig.1	Thu Jul 28 21:01:24 2005
 +++ compress.1	Sun Jul 31 08:32:13 2005
 @@ -152,6 +152,13 @@
  coding (as used in the historical command pack), or adaptive Huffman
  coding (as used in the historical command compact), and takes less
  time to compute.
 +.Pp
 +If
 +.Ar file
 +is a soft or hard link
 +.Nm compress
 +will replace it with a compressed copy of the linked-to file,
 +leaving that file uncompressed.
  .Sh DIAGNOSTICS
  .Ex -std compress uncompress
  .Pp
 @@ -188,3 +195,5 @@
  .Nm
  command appeared in
  .Bx 4.3 .
 +.Sh BUGS
 +The program does not handle links well and has no link-handling options.
Responsible-Changed-From-To: freebsd-doc->ceri 
Responsible-Changed-By: ceri 
Responsible-Changed-When: Mon Aug 1 22:15:49 GMT 2005 
Responsible-Changed-Why:  
Thanks for the patch.  I'll try this out on a few other systems to see 
whether this behaviour is "normal" or a bug.  If the current behaviour 
is consistent with other systems then I'll commit this (otherwise it 
becomes documented behaviour that we then can't fix without a 
deprecation period). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84271 
Responsible-Changed-From-To: ceri->freebsd-bugs 
Responsible-Changed-By: ceri 
Responsible-Changed-When: Sun Nov 2 22:43:17 UTC 2008 
Responsible-Changed-Why:  
I don't really belong in the FreeBSD project any more, so sorry for  
sitting on this for so long. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=84271 
Responsible-Changed-From-To: freebsd-bugs->freebsd-doc 
Responsible-Changed-By: tabthorpe 
Responsible-Changed-When: Fri Jan 30 19:25:06 UTC 2009 
Responsible-Changed-Why:  
doc PR 

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