NetBSD-Bugs archive

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

misc/39381: missing line break in BITS(3) source



>Number:         39381
>Category:       misc
>Synopsis:       missing line break in BITS(3) source
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 19 21:25:00 +0000 2008
>Originator:     Taylor R Campbell <campbell%mumble.net@localhost>
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD smalltalk.localdomain 4.0_STABLE NetBSD 4.0_STABLE 
(RIAXEN3_DOM0) #2: Fri Jul 18 23:32:56 UTC 2008 
riastradh@smalltalk:/home/riastradh/netbsd/4/obj/sys/arch/i386/compile/RIAXEN3_DOM0
 i386
Architecture: i386
Machine: i386
>Description:

        A missing line break in src/share/man/man3/bits.3 causes
        BITS(3) to contain the peculiar sentence
        
                Note that __SHIFTOUT_MASK(m, =) __SHIFTOUT(m, m).
        
        Clearly this should be
        
                Note that __SHIFTOUT_MASK(m) = __SHIFTOUT(m, m).

>How-To-Repeat:

        Type `man BITS'.

>Fix:

        Apply the following patch:

--- bits.3      03 Sep 2006 00:04:02 +0000      1.2
+++ bits.3      19 Aug 2008 21:14:41 +0000      
@@ -103,7 +103,8 @@
 bitfield can hold.
 No side-effects.
 Note that
-.Fn __SHIFTOUT_MASK "m" =
+.Fn __SHIFTOUT_MASK "m"
+=
 .Fn __SHIFTOUT "m" "m" .
 .El
 .Sh EXAMPLES



Home | Main Index | Thread Index | Old Index