Bug 61654 - Add wcslcpy() and wcslcat()
Summary: Add wcslcpy() and wcslcat()
Status: RESOLVED FIXED
Alias: None
Product: libbsd
Classification: Unclassified
Component: libbsd (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Guillem Jover
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-01 06:28 UTC by Nathan Phillip Brink (binki)
Modified: 2013-05-27 19:14 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Phillip Brink (binki) 2013-03-01 06:28:11 UTC
BSD systems implement wide-character versions of the small strl* family of functions. There are (few) programs out there which ship their own implementations of wcslcpy() and wcslcat(). Being one of the distinguishing sets of functions available on BSD, it would be great if the wide-character versions could be shipped with libbsd. Then, when programs move to using libbsd, they can drop their bundled wcsl* function at the same time as when they clean out their strl* implementations.

I assume that these implementations can just be copied out from the existing implementations in the openbsd libc with little change like the strl* functions. I might attempt to make such a patch that does such if I have time.
Comment 1 Guillem Jover 2013-03-01 10:48:36 UTC
I actually have those locally, pending a push, in addition to fgetwln().

Thanks for the report.
Comment 2 Guillem Jover 2013-05-27 19:14:45 UTC
Fixed in libbsd 0.5.0.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.