NetBSD-Bugs archive

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

bin/51806: [PATCH] tests/lib/libc/gen/t_vis.c: only run strvis_locale test cases if VIS_NOLOCALE is defined



>Number:         51806
>Category:       bin
>Synopsis:       [PATCH] tests/lib/libc/gen/t_vis.c: only run strvis_locale test cases if VIS_NOLOCALE is defined
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 10 09:05:00 +0000 2017
>Originator:     Ngie Cooper
>Release:        7.0.2
>Organization:
>Environment:
n/a
>Description:
I discovered (when porting the test case to FreeBSD ^/stable/10) that tests/lib/libc/gen/t_vis.c wouldn't compile because it lacked a copy of strvis which supported strvis_locale. In order to compensate for this, I added appropriate #ifdefs for VIS_NOLOCALE around strvis_locale.

This seems to affect NetBSD 7.0.2 as well when testing the build there (it fails before my patch).
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index