latest changes from main rep

This commit is contained in:
Guenter Obiltschnig
2007-05-04 11:04:40 +00:00
parent 3580ad72cb
commit dcabc2befc
60 changed files with 1183 additions and 328 deletions

View File

@@ -1,7 +1,7 @@
//
// Random.cpp
//
// $Id: //poco/Main/Foundation/src/Random.cpp#13 $
// $Id: //poco/Main/Foundation/src/Random.cpp#14 $
//
// Library: Foundation
// Package: Crypt
@@ -68,7 +68,7 @@
#include "Poco/Random.h"
#include "Poco/RandomStream.h"
#include "time.h"
#include <ctime>
/*
@@ -172,7 +172,7 @@ Random::Random(int stateSize)
poco_assert (BREAK_0 <= stateSize && stateSize <= BREAK_4);
_pBuffer = new char[stateSize];
initState((UInt32) time(NULL), _pBuffer, stateSize);
initState((UInt32) std::time(NULL), _pBuffer, stateSize);
}