NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/42349: libmagic/magic man page cross-ref. errors



The following reply was made to PR misc/42349; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: misc/42349: libmagic/magic man page cross-ref. errors
Date: Thu, 3 Dec 2009 04:57:22 +0000

 On Tue, Nov 24, 2009 at 02:10:05PM +0000, Thomas Klausner wrote:
  >>>Synopsis: libmagic, file manpages have inconsistent ref. to magic(4|5).
  >>[...]
  >  I haven't looked at 5.0, since I don't have one running.
 
 Candidate patch for netbsd-5:
 
 Index: file.1
 ===================================================================
 RCS file: /cvsroot/src/dist/file/doc/Attic/file.1,v
 retrieving revision 1.17
 diff -u -r1.17 file.1
 --- file.1     30 Aug 2008 12:16:51 -0000      1.17
 +++ file.1     3 Dec 2009 04:56:02 -0000
 @@ -339,7 +339,7 @@
  .Fl h
  options.
  .Sh SEE ALSO
 -.Xr magic 4 ,
 +.Xr magic 5 ,
  .Xr strings 1 ,
  .Xr od 1 ,
  .Xr hexdump 1,
 Index: libmagic.3
 ===================================================================
 RCS file: /cvsroot/src/dist/file/doc/Attic/libmagic.3,v
 retrieving revision 1.10
 diff -u -r1.10 libmagic.3
 --- libmagic.3 30 Aug 2008 12:16:51 -0000      1.10
 +++ libmagic.3 3 Dec 2009 04:56:02 -0000
 @@ -26,7 +26,7 @@
  .\" SUCH DAMAGE.
  .\"
  .Dd November 15, 2006
 -.Dt MAGIC 3
 +.Dt LIBMAGIC 3
  .Os
  .Sh NAME
  .Nm magic_open ,
 @@ -68,7 +68,7 @@
  operate on the magic database file
  which is described
  in
 -.Xr magic 4 .
 +.Xr magic 5 .
  .Pp
  The function
  .Fn magic_open
 @@ -132,7 +132,7 @@
  The
  .Fn magic_close
  function closes the
 -.Xr magic 4
 +.Xr magic 5
  database and deallocates any resources used.
  .Pp
  The
 @@ -249,7 +249,7 @@
  .El
  .Sh SEE ALSO
  .Xr file 1 ,
 -.Xr magic 4 
 +.Xr magic 5
  .Sh AUTHORS
  Måns Rullgård Initial libmagic implementation,
  and configuration.
 
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index