Bugzilla Bug 357015: it turns out the code is correct. it's the comment

that's wrong.


git-svn-id: svn://10.0.0.236/trunk@213830 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
wtchang%redhat.com
2006-10-18 23:45:32 +00:00
parent 09cdd614b0
commit 3763f46b7f

View File

@@ -323,10 +323,8 @@ ReadSystemFiles()
RNG_RandomUpdate(&dwNumFiles, sizeof(dwNumFiles));
// now read 10 files
// because of a programming error, the code actually reads the
// first 10 readable files, then 10 or 11 files spread throughout
// the system directory
// now read the first 10 readable files, then 10 or 11 files
// spread throughout the system directory
filesToRead = 10;
if (dwNumFiles == 0)
return;