+2004-05-04 Theodore Ts'o <tytso@mit.edu>
+
+ * gen_uuid.c (uuid_generate_time): Mask off the timestamp to avoid
+ a Y8.8888K problem.
+
2004-04-03 Theodore Ts'o <tytso@mit.edu>
* Makefile.in: Update the modtime even if subst doesn't need to
get_clock(&clock_mid, &uu.time_low, &uu.clock_seq);
uu.clock_seq |= 0x8000;
uu.time_mid = (uint16_t) clock_mid;
- uu.time_hi_and_version = (clock_mid >> 16) | 0x1000;
+ uu.time_hi_and_version = ((clock_mid >> 16) & 0x0FFF) | 0x1000;
memcpy(uu.node, node_id, 6);
uuid_pack(&uu, out);
}