Log of /trunk/core/base/src/TUUID.cxx
Parent Directory
Revision
34557 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 22 15:12:01 2010 UTC (4 years, 6 months ago) by
rdm
File length: 23511 byte(s)
Diff to
previous 32142
fix cases in ROOT code where we would truncate the TTime (to avoid the
new error messages in TTime operator long on 32-bit platforms).
Revision
22961 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 3 13:32:57 2008 UTC (6 years, 9 months ago) by
rdm
File length: 23445 byte(s)
Diff to
previous 22419
move the directories:
base clib cont meta metautils newdelete pcre rint thread unix utils
winnt zip
under the new core meta directory.
Revision
22419 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Mar 3 00:25:01 2008 UTC (6 years, 10 months ago) by
rdm
Original Path:
trunk/base/src/TUUID.cxx
File length: 23445 byte(s)
Diff to
previous 20877
From Andrew Savchenko:
ROOT can not be compiled with gcc-4.3.
Some ROOT source files doesn't contain required #include directives,
for example, they use strlen(), but #include <string.h> is missed or
malloc() is used and #include <stdlib.h> is missed.
Earlier versions of gcc allowed some headers to be included implicitly,
but issued a warning (-Wimplicit-function-declaration). Newer one,
gcc-4.3 denies such silly behaviour: all required headers must be explicitly
included.
Attached patch fixes this. Also it fixes another issue, which disallows
ROOT to compile under gcc-4.3: C functions don't belong to namespace std,
so expressions like std::memcpy() are no longer valid and plain memcpy()
should be used instead.
Revision
17851 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Feb 10 12:21:05 2007 UTC (7 years, 11 months ago) by
brun
Original Path:
trunk/base/src/TUUID.cxx
File length: 23339 byte(s)
Diff to
previous 13483
Do not use TRandom in TUUID. The posix rand and srand functions are
perfectly ok for TUUID, that requires only a random number between 0 and 65536.
We still keep the initialisation of the random number (via srand) dependent
of the process id.
Revision
7155 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 26 11:03:34 2003 UTC (11 years, 5 months ago) by
brun
Original Path:
trunk/base/src/TUUID.cxx
File length: 22258 byte(s)
Diff to
previous 6421
Fix a problem reported by Stephan Heising:
In TUUID.cxx the call to GetComputerName for the win plattform should be:
r.tc = GetTickCount();
r.l = MAX_COMPUTERNAME_LENGTH + 1; // + 1 added.
GetComputerName(r.hostname, &r.l);
The size of the buffer is correctly allocated to MAX_..._LENGTH + 1 but in the
function call the buffer length spezified doesn't include this byte.
Revision
6421 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Apr 11 11:48:11 2003 UTC (11 years, 9 months ago) by
rdm
Original Path:
trunk/base/src/TUUID.cxx
File length: 22255 byte(s)
Diff to
previous 6358
Big (unsigned) long long support patch. Following provided:
- basic typedefs in Rtypes.h: Long64_t and ULong64_t
- basic Long64 I/O support in TBuffer
- automatic Long64 I/O support in TStreamerInfo
- Long64 byteswap in Bytes.h
- Long64 type handling in classes like TDataMember, TDataType, TCint,
TROOT, etc
- Removal of obsolete Long64_t typedefs in many PROOF classes
No changes for non-Long64 data types (no backward incompatibilies).
I/O tested for Long64 basic type, and static and dynamic arrays using
handcoded streamers, rootcint generated streamers and automatic StreamerInfo
streamers.
Revision
5045 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 2 18:54:37 2002 UTC (12 years, 5 months ago) by
rdm
Original Path:
trunk/base/src/TUUID.cxx
File length: 22696 byte(s)
Diff to
previous 4896
In root v3.03/07 the following simple commands fail:
root [] TFile f("f.root","recreate","",0); f.mkdir("d"); f.Write();
root [] TFile f("f.root","","",0); f.cd("d");
Error in <TObjArray::At>: index -22985 out of bounds (size: 13, this: 0x0877cbc0)
Error in <TObjArray::AddAt>: out of bounds at -22985 in 877cbc0
Error in <TBuffer::CheckByteCount>: object of class TUUID read too few bytes: 18 instead of 934433390
Warning in <TBuffer::CheckByteCount>: TUUID::Streamer() not in sync with data on file, fix Streamer()
It basically means that most files with a sub-directories are not readable
(with the current version of root, but will be readable with this fix).
This is due to the fact that while writing ROOT uses TUUID::FillBuffer(),
which does NOT save the TUUID::Class_Version and while reading ROOT
uses TUUID::Streamer() which tries to read a version number!
The fix is to add the writing of the version number to TUUID::FillBuffer(),
to increase the version number of TDirectory, to use TDirectory's old
version number (i.e. 2) to provoke reading TUUID without version number,
and for higher version number TDirectory read the full TUUID.
Fix by Philippe, modified slightly by me.
Revision
3719 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Jan 20 14:23:53 2002 UTC (13 years ago) by
rdm
Original Path:
trunk/base/src/TUUID.cxx
File length: 20966 byte(s)
Diff to
previous 3000
Mega patch by Christian Holm concerning the configure, build and
Debian and RedHat packaging scripts. The configure script has been
rationalized (introduction of two shell functions to find package
headers and libraries). Extensive update of the INSTALL writeup,
including description of all new packages (SapDB, PgSql, etc.).
More options to the root-config script. Man page for memprobe.
Big overhaul of the Debian and RedHat packaging scripts, supporting
the new libraries.
Revision
2993 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Oct 6 13:12:15 2001 UTC (13 years, 3 months ago) by
rdm
Original Path:
trunk/base/src/TUUID.cxx
File length: 20839 byte(s)
Diff to
previous 2957
new method GetTime(), returns a TDatime that contains the time the UUID
was created. Also correction in time calculation (long long cast was missing
so an long got truncated before being stored in a long long).
Revision
2916 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Mon Oct 1 14:39:14 2001 UTC (13 years, 3 months ago) by
rdm
Original Path:
trunk/base/src/TUUID.cxx
File length: 17350 byte(s)
This class defines a UUID (Universally Unique IDentifier), also
known as GUIDs (Globally Unique IDentifier). A UUID is 128 bits
long, and if generated according to this algorithm, is either
guaranteed to be different from all other UUIDs/GUIDs generated
until 3400 A.D. or extremely likely to be different. UUIDs were
originally used in the Network Computing System (NCS) and
later in the Open Software Foundation's (OSF) Distributed Computing
Environment (DCE).
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.