Page MenuHomeFreeBSD

Create libstand version of uuid_from_string and uuid_to_string.
ClosedPublic

Authored by imp on Dec 13 2015, 7:12 AM.
Tags
None
Referenced Files
F106169988: D4540.id11465.diff
Thu, Dec 26, 1:11 PM
F106167866: D4540.id11188.diff
Thu, Dec 26, 12:22 PM
F106137251: D4540.diff
Thu, Dec 26, 12:32 AM
Unknown Object (File)
Wed, Nov 27, 10:34 PM
Unknown Object (File)
Nov 25 2024, 7:30 PM
Unknown Object (File)
Oct 2 2024, 8:15 AM
Unknown Object (File)
Sep 27 2024, 12:00 AM
Unknown Object (File)
Sep 24 2024, 2:33 PM
Subscribers
None

Details

Summary

Create libstand version of uuid_from_string and uuid_to_string. The
normal libc versions of these functions use asprintf and sscanf, both
of which aren't available in the libstand world. It's easier to
rewrite these than to try to claw those functions into libstand.
Also include uuid_create_nil, since it's safe to include. These were
written from scratch, except for bits of comments that I got from the
libc version, which are acknowledged in the source.

Bonus question: maybe I should just replace the libc versions with
this, eh? I believe they are compatible.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp retitled this revision from to Create libstand version of uuid_from_string and uuid_to_string..
imp updated this object.
imp edited the test plan for this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.