apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Bowsher <ma...@ukf.net>
Subject Re: [PATCH] Do not include <uuid.h> and <uuid/uuid.h> in same file
Date Sun, 26 Feb 2006 23:03:30 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

William A. Rowe, Jr. wrote:
> Max Bowsher wrote:
>> I have one question: if *both* uuid implemenations are available, which
>> one should we prefer? The options are:
>>
>> DCE/BSD <uuid.h> uuid_create() libc
>> e2fsprogs <uuid/uuid.h> uuid_generate() libuuid
>>
>> I'm inclined to prefer the one in libc, in order to minimize
>> dependencies.
> 
> +++1; my only question is how long has it been available, e.g., was
> it slipped in midstream on BSD or if we say (for example) it's a BSD
> 4.4 binary, we know it's available in libc throughout that release?
> I'd think libuuid would be a fallthough for platforms where it's
> available, and uuid_create is not. But like our long history with
> libexpat, detecting and rolling with it can prove troublesome when
> the resulting package is installed on a box without the lib.

- From the tags in FreeBSD cvsweb, it looks like:

uuid_create() in libc added in 5.0
e2fsprogs port added in 4.4

Max.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)

iD8DBQFEAjPCfFNSmcDyxYARAhp8AJ4vfv7fkoi3dSdkZKDEq9hJwIbm7QCfc4Ai
6bDizIwBipReRkrq5LocZ9Q=
=e27+
-----END PGP SIGNATURE-----

Mime
View raw message