NetBSD-Bugs archive

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

misc/45595: libmagic documentation error and fix.



>Number:         45595
>Category:       misc
>Synopsis:       libmagic manpage error w/ fix.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 10 08:35:00 +0000 2011
>Originator:     bch%methodlogic.net@localhost
>Release:        NetBSD 5.99.56
>Organization:
        Method Logic Digital (http://methodlogic.net/)
>Environment:
System: NetBSD kamloops 5.99.56 NetBSD 5.99.56 (kamloops) #87: Wed Nov 9 
12:21:39 PST 2011 root@kamloops:/usr/obj/sys/arch/amd64/compile/kamloops amd64
Architecture: x86_64
Machine: amd64
>Description:
        MAGIC_NO_CHECK_ENCODING flag is incorrectly listed as NO_CHECK_ENCODING
>How-To-Repeat:
        observe libmagic(3).
>Fix:
diff
======

--- /usr/src/external/bsd/file/dist/doc/libmagic.3      2011-10-03 
08:55:07.000000000 -0700
+++ ./libmagic.3        2011-11-10 00:26:27.000000000 -0800
@@ -128,7 +128,7 @@
 Don't look inside compressed files.
 .It Dv MAGIC_NO_CHECK_ELF
 Don't print ELF details.
-.It Dv NO_CHECK_ENCODING
+.It Dv MAGIC_NO_CHECK_ENCODING
 Don't check text encodings.
 .It Dv MAGIC_NO_CHECK_SOFT
 Don't consult magic files.



Home | Main Index | Thread Index | Old Index