NetBSD-Bugs archive

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

bin/38047: bad prototype for function mbrlen



>Number:         38047
>Category:       bin
>Synopsis:       bad prototype for function mbrlen
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 17 17:05:01 +0000 2008
>Originator:     cheusov%tut.by@localhost
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD chen.chizhovka.net 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #2: 
Tue Dec 25 17:42:38 EET 2007 
cheusov%chen.chizhovka.net@localhost:/srv/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
mbrlen(3) says

     int
     mbrlen(const char * restrict s, size_t n, mbstate_t * restrict ps);

while SUSv3 defines mbrlen as

     size_t
     mbrlen(const char *restrict s, size_t n, mbstate_t *restrict ps);

Header file in NetBSD is valid.

>Fix:

Unknown


Home | Main Index | Thread Index | Old Index