[Gnucash-changes] Whitespace
Joshua Sled
jsled at cvs.gnucash.org
Mon May 31 10:22:12 EDT 2004
Log Message:
-----------
Whitespace
Tags:
----
gnucash-gnome2-dev
Modified Files:
--------------
gnucash/src/engine:
guid.c
Revision Data
-------------
Index: guid.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/engine/guid.c,v
retrieving revision 1.25.4.5
retrieving revision 1.25.4.6
diff -Lsrc/engine/guid.c -Lsrc/engine/guid.c -u -r1.25.4.5 -r1.25.4.6
--- src/engine/guid.c
+++ src/engine/guid.c
@@ -467,16 +467,16 @@
init_from_time();
/* Make it a little extra salty. I think init_from_time was buggy,
- * or something, since duplicate id's actually happened. Or something
- * like that. I think this is because init_from_time kept returning
- * the same values too many times in a row. So we'll do some 'block
- * chaining', and feed in the old guid as new random data.
- *
- * Anyway, I think the whole fact that I saw a bunch of duplicate
- * id's at one point, but can't reproduce the bug is rather alarming.
- * Something must be broken somewhere, and merely adding more salt
- * is just hiding the problem, not fixing it.
- */
+ * or something, since duplicate id's actually happened. Or something
+ * like that. I think this is because init_from_time kept returning
+ * the same values too many times in a row. So we'll do some 'block
+ * chaining', and feed in the old guid as new random data.
+ *
+ * Anyway, I think the whole fact that I saw a bunch of duplicate
+ * id's at one point, but can't reproduce the bug is rather alarming.
+ * Something must be broken somewhere, and merely adding more salt
+ * is just hiding the problem, not fixing it.
+ */
init_from_int (433781*counter);
init_from_buff (guid->data, 16);
More information about the gnucash-changes
mailing list