HomeFreeBSD

__setrunelocale: Fix asprintf(3) failure not returning an error.

Description

__setrunelocale: Fix asprintf(3) failure not returning an error.

Also fix the style of the asprintf(3) call in __collate_load_tables_l().
Both of these lines were modified away from snprintf(3) during the
import from DragonFly/Illumos.

Reviewed by: jilles (briefly over shoulder)
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon

Details

Provenance
bdreweryAuthored on Sep 29 2017, 4:30 PM
Parents
rG51bcc337dd04: netsmb: Fix buggy/racy smb_strdupin()
Branches
Unknown
Tags
Unknown

Event Timeline