<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/lib/libc/uuid, branch stable/7</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=stable%2F7</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=stable%2F7'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2012-03-08T09:56:07Z</updated>
<entry>
<title>MFC r232339:</title>
<updated>2012-03-08T09:56:07Z</updated>
<author>
<name>Andrey V. Elsukov</name>
<email>ae@FreeBSD.org</email>
</author>
<published>2012-03-08T09:56:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=2942ccb76a17465517d09c6cf25b29ec021ce4e2'/>
<id>urn:sha1:2942ccb76a17465517d09c6cf25b29ec021ce4e2</id>
<content type='text'>
  Note that memory should be freed after uuid_to_string(3) call.

PR:		docs/161808
</content>
</entry>
<entry>
<title>MFC r183058</title>
<updated>2009-02-10T21:09:54Z</updated>
<author>
<name>Maksim Yevmenkin</name>
<email>emax@FreeBSD.org</email>
</author>
<published>2009-02-10T21:09:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=8d74ab9244a1d37f48e1313ae777e114258fe4a9'/>
<id>urn:sha1:8d74ab9244a1d37f48e1313ae777e114258fe4a9</id>
<content type='text'>
Add uuid_enc,dec_le,be() functions to Symbol.map
Pointy hat goes to me.

MFC r183192

Move uuid_enc_le, uuid_dec_le, uuid_enc_be and uuid_dec_be symbols
into FBSD_1.1 section where they should be (as Pointed out by: kib,
deischen)
</content>
</entry>
<entry>
<title>MFC SVN rev 181743</title>
<updated>2008-08-28T21:32:07Z</updated>
<author>
<name>Maksim Yevmenkin</name>
<email>emax@FreeBSD.org</email>
</author>
<published>2008-08-28T21:32:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=5e1dd46603a778b8de74111a9ea9ce7a7bc8400c'/>
<id>urn:sha1:5e1dd46603a778b8de74111a9ea9ce7a7bc8400c</id>
<content type='text'>
Import the uuid_enc_le(), uuid_dec_le(), uuid_enc_be() and
uuid_dec_be() functions. These routines are not part of the
DCE RPC API. They are provided for convenience.

Reviewed by:	marcel
Obtained from:	NetBSD
</content>
</entry>
<entry>
<title>Use C comments since we now preprocess these files with CPP.</title>
<updated>2007-04-29T14:05:22Z</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>2007-04-29T14:05:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=5f864214bbb2612cbb8b1b69d124036711b73946'/>
<id>urn:sha1:5f864214bbb2612cbb8b1b69d124036711b73946</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid using intermediate variables by just comparing between</title>
<updated>2007-04-05T02:07:33Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2007-04-05T02:07:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=77fbf8f24633510fa1caf2adc72a0d72d41256b9'/>
<id>urn:sha1:77fbf8f24633510fa1caf2adc72a0d72d41256b9</id>
<content type='text'>
two values, the latter does not tend to have sign extension
and/or overflow bugs, and makes the code more obvious.

While I'm there, make use of a macro which is derived from
bin/ps/ps.c: ps_compat() to improve the readability of the
code.

Suggested by:	bde
MFC after:	1 week
</content>
</entry>
<entry>
<title>In DCE 1.1, the time_low value is defined as an unsigned 32-bit</title>
<updated>2006-08-03T03:34:36Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2006-08-03T03:34:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=da4ab3aa26255af5ee62b5cf725dbbec9e4cd8c3'/>
<id>urn:sha1:da4ab3aa26255af5ee62b5cf725dbbec9e4cd8c3</id>
<content type='text'>
integer.  Presently, our implementation employs an approach that
converts the value to int64_t, then back to int, unfortunately,
this approach can be problematic when the the difference between
the two time_low is larger than 0x7fffffff, as the value is then
truncated to int.

To quote the test case from the original PR, the following is
true with the current implementation:

865e1a56-b9d9-11d9-ba27-0003476f2e88 &lt; 062ac45c-b9d9-11d9-ba27-0003476f2e88

However, according to the DCE specification, the expected result
should be:

865e1a56-b9d9-11d9-ba27-0003476f2e88 &gt; 062ac45c-b9d9-11d9-ba27-0003476f2e88

This commit adds a new intermediate variable which uses int64_t
to store the result of subtraction between the two time_low values,
which would not introduce different semantic of the MSB found in
time_low value.

PR:		83107
Submitted by:	Steve Sears &lt;sjs at acm dot org&gt;
MFC After:	1 month
</content>
</entry>
<entry>
<title>Add each directory's symbol map file to SYM_MAPS.</title>
<updated>2006-03-13T01:15:01Z</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>2006-03-13T01:15:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=6fad3aaf157b3ab3d64b99ca7c14751124c044dd'/>
<id>urn:sha1:6fad3aaf157b3ab3d64b99ca7c14751124c044dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add symbol maps and initial symbol version definitions to libc.</title>
<updated>2006-03-13T00:53:21Z</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>2006-03-13T00:53:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=cce72e8860e207b5be84acb82c75f0e644a60e29'/>
<id>urn:sha1:cce72e8860e207b5be84acb82c75f0e644a60e29</id>
<content type='text'>
Reviewed by:	davidxu
</content>
</entry>
<entry>
<title>Keep up with const poisoning in uuid.h,v 1.3.</title>
<updated>2005-11-24T07:04:20Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-11-24T07:04:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=6eee8269011983ab8ab93513793a9c162cea496b'/>
<id>urn:sha1:6eee8269011983ab8ab93513793a9c162cea496b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid (unnecessarily) casting away const within uuid_is_nil.</title>
<updated>2005-05-11T13:18:10Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2005-05-11T13:18:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=f57a875fa04d4531b602d536e3c543ae6eb9564c'/>
<id>urn:sha1:f57a875fa04d4531b602d536e3c543ae6eb9564c</id>
<content type='text'>
</content>
</entry>
</feed>
