docs/161808: Missing documentation critical to correct usage of uuid_to_string(3)

Niclas Zeising niclas.zeising at gmail.com
Wed Oct 19 18:50:12 UTC 2011


The following reply was made to PR docs/161808; it has been noted by GNATS.

From: Niclas Zeising <niclas.zeising at gmail.com>
To: Jim Carroll <jim at carroll.com>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: docs/161808: Missing documentation critical to correct usage
 of uuid_to_string(3)
Date: Wed, 19 Oct 2011 20:42:59 +0200

 This is a multi-part message in MIME format.
 --------------020509080204060605060408
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 Here is a patch that adds the mentioned notice.
 Regards!
 
 -- 
 Niclas Zeising
 
 --------------020509080204060605060408
 Content-Type: text/plain;
  name="uuid.3.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="uuid.3.diff"
 
 Index: lib/libc/uuid/uuid.3
 ===================================================================
 --- lib/libc/uuid/uuid.3	(revision 226521)
 +++ lib/libc/uuid/uuid.3	(working copy)
 @@ -80,6 +80,9 @@
  or
  .Fn uuid_from_string
  respectively.
 +Please note that it is up to the caller of
 +.Fn uuid_to_string
 +to release the memory allocated to hold the returned string.
  A 16-bit hash value can be obtained by calling
  .Fn uuid_hash .
  .Pp
 
 --------------020509080204060605060408--



More information about the freebsd-doc mailing list