NetBSD-Bugs archive

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

bin/49012: [patch] t_dup: missing stdbool.h #include for false/true per POSIX and has a redundant static declaration for check_mode



>Number:         49012
>Category:       bin
>Synopsis:       [patch] t_dup: missing stdbool.h #include for false/true per 
>POSIX and has a redundant static declaration for check_mode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 17 21:15:00 +0000 2014
>Originator:     Garrett Cooper
>Release:        n/a
>Organization:
EMC / Isilon Storage Division
>Environment:
n/a
>Description:
t_dup fails to compile on FreeBSD with clang for the following reasons:
- It doesn't #include stdbool.h, but references false/true (stdbool.h is 
required per POSIX to access these definitions).
- It has a duplicate static declaration for the check_mode function, which 
isn't required.
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index