[llvm-commits] CVS: llvm-test/MultiSource/Applications/oggenc/oggenc.c
Chris Lattner
sabre at nondot.org
Tue Dec 12 10:23:54 PST 2006
Changes in directory llvm-test/MultiSource/Applications/oggenc:
oggenc.c updated: 1.3 -> 1.4
---
Log message:
this code is dead when the -s option is passed (which llvm-test does), but
it is dangerous, remove it.
---
Diffs of the changes: (+1 -1)
oggenc.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm-test/MultiSource/Applications/oggenc/oggenc.c
diff -u llvm-test/MultiSource/Applications/oggenc/oggenc.c:1.3 llvm-test/MultiSource/Applications/oggenc/oggenc.c:1.4
--- llvm-test/MultiSource/Applications/oggenc/oggenc.c:1.3 Sun Jan 22 12:41:05 2006
+++ llvm-test/MultiSource/Applications/oggenc/oggenc.c Tue Dec 12 12:23:39 2006
@@ -790,7 +790,7 @@
if(opt.serial == 0)
{
/* We randomly pick a serial number. This is then incremented for each file */
- srand(time(NULL));
+ srand(0);
opt.serial = rand();
}
More information about the llvm-commits
mailing list