Skip to content

Commit

Permalink
Import of version 3.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
j0r1 committed Dec 3, 2016
1 parent e77dcc7 commit 5a0df19
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 12 deletions.
7 changes: 6 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
September 30, 2010
October 8, 2010


JRTPLIB ChangeLog

-----------

3.8.1 (October 2010)
* Initialization of the RTPRandomRandS class didn't work as
intended, causing the fall-back class RTPRandomRand48 always
being used on the Win32 platform.

3.8.0 (September 2010)
* Fixed bug in RTPSources implementation. An incorrect
'GotoNextElement' call was replaced by a 'GotoPreviousElement'
Expand Down
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ PROJECT_NAME = jrtplib
# This could be handy for archiving the generated documentation or
# if some version control system is used.

PROJECT_NUMBER = 3.8.0
PROJECT_NUMBER = 3.8.1

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
Expand Down
4 changes: 2 additions & 2 deletions README.TXT
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
------------------------------------------------------------------------------
September 30, 2010
October 8, 2010


JRTPLIB (v3.8.0)
JRTPLIB (v3.8.1)


Developed at the The Expertise Centre for
Expand Down
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -2260,7 +2260,7 @@ fi

# Define the identity of the package.
PACKAGE=jrtplib
VERSION=3.8.0
VERSION=3.8.1


cat >>confdefs.h <<_ACEOF
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AC_INIT(configure.in)
AM_INIT_AUTOMAKE(jrtplib,3.8.0)
AM_INIT_AUTOMAKE(jrtplib,3.8.1)

RTP_FILIO="// Don't have <sys/filio.h>"
RTP_SOCKIO="// Don't have <sys/sockio.h>"
Expand Down
2 changes: 1 addition & 1 deletion src/rtplibraryversion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

RTPLibraryVersion RTPLibraryVersion::GetVersion()
{
return RTPLibraryVersion(3,8,0);
return RTPLibraryVersion(3,8,1);
}

std::string RTPLibraryVersion::GetVersionString() const
Expand Down
6 changes: 1 addition & 5 deletions src/rtprandomrands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@
// Windows Server 2003, and later, so we'll do a run-time check to see if we can
// use it (it won't work on Windows 2000 SP4 for example).
#define RTP_SUPPORT_RANDS
#define QUOTEPROCNAME(x) #x
#ifndef RtlGenRandom
#define RtlGenRandom SystemFunction036
#endif
#endif

#include "rtpdebug.h"
Expand Down Expand Up @@ -108,7 +104,7 @@ int RTPRandomRandS::Init()
HMODULE hAdvApi32 = LoadLibrary("ADVAPI32.DLL");
if(hAdvApi32 != NULL)
{
if(NULL != GetProcAddress( hAdvApi32, QUOTEPROCNAME( RtlGenRandom ) ))
if(NULL != GetProcAddress( hAdvApi32, "SystemFunction036" )) // RtlGenRandom
{
initialized = true;
}
Expand Down

0 comments on commit 5a0df19

Please sign in to comment.