HomeFreeBSD

swprintf() and apparently wcsftime() want the their output buffer size

Description

swprintf() and apparently wcsftime() want the their output buffer size
specified in terms of the the number of wide characters and not
sizeof(buffer).

Reported by: Coverity
CID: 1007605, 1007606
MFC after: 1 week

Details

Provenance
truckmanAuthored on
Parents
rS300004: MFC r298769, r299315
Branches
Unknown
Tags
Unknown