History log of /openbsd-current/regress/lib/libc/locale/mbrtowc/test_mbrtowc.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.3 09-Mar-2020 dlg

cstyle in illumos noticed some weird syntax, which this fixes.

some errx lines in if statements were terminated with commas, which
caused the following statement to be considered part of the error
handling. while it is bad style, ingo points out it was also a bug
which which caused some tests in the code to be skipped.

this reminds me of a haiku that Chris Pascoe (cpascoe@) had behind
his desk:

Also, that comma
Should be a semi-colon.
Cherry blossoms fall.

this was found by Robert Mustacchi when porting the tests to illumos.
ok schwarze@ stsp@

thank you robert.


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.2 27-Jul-2017 bluhm

Fix all clang warnings in libc regress and cleanup some make files.


Revision tags: OPENBSD_6_1_BASE
# 1.1 03-Sep-2016 schwarze

test mbrtowc(3) in conjunction with mbsinit(3)


Revision tags: OPENBSD_6_2_BASE
# 1.2 27-Jul-2017 bluhm

Fix all clang warnings in libc regress and cleanup some make files.


Revision tags: OPENBSD_6_1_BASE
# 1.1 03-Sep-2016 schwarze

test mbrtowc(3) in conjunction with mbsinit(3)