RE: Producer Fixed relative path issue with license manager.

"Eric Hyche" <[email protected]>
Newsgroups gmane.comp.multimedia.helix.devel
Organization RealNetworks, Inc.
Message-ID <000d01c9f8c7$62468960$26d39c20$@com>
Looks good.

=======================================
Eric Hyche ([email protected])
Principal Engineer
RealNetworks, Inc.


>-----Original Message-----
>From: [email protected] [mailto:[email protected]]
>Sent: Sunday, June 28, 2009 8:51 PM
>To: [email protected]; [email protected]
>Subject: CR: Producer Fixed relative path issue with license manager.
>
>Synopsis
>========
>Fixed relative path issue with license manager.
>
>Branches: PRODUCER_13_0_RN and HEAD
>Suggested Reviewer: Anyone.
>
>
>Description
>===========
>Commandline producer was setting relative path for license directory.
>
>Fix was to make to handle license directory in same way as audience and
>server directory.
>
>Files Affected
>==============
>
>Testing Performed
>=================
>Tested with current directory different then producer installed directory.
>
>Performance Tests:
>- None
>
>Platforms Tested: win32-i386-vc7
>Build verified: win32-i386-vc7
>
>QA Hints
>========
>Please test licence manager feature.
>
>Index: hxtpreferenceshandler.cpp
>===================================================================
>RCS file: /cvsroot/producerapps/common/util/hxtpreferenceshandler.cpp,v
>retrieving revision 1.11.156.1
>diff -u -r1.11.156.1 hxtpreferenceshandler.cpp
>--- hxtpreferenceshandler.cpp	27 Jun 2009 07:19:30 -0000	1.11.156.1
>+++ hxtpreferenceshandler.cpp	28 Jun 2009 23:40:26 -0000
>@@ -620,7 +620,8 @@
> 	{
> 		if( 0 == strcmp(szAttribName, kszAudienceDefinitionDir) ||
> 				0 == strcmp(szAttribName, kszServerDefinitionDir) ||
>-				0 == strcmp(szAttribName, kszTempDir) )
>+				0 == strcmp(szAttribName, kszTempDir) ||
>+				0 == strcmp(szAttribName, kszLicenseDir))
> 		{
> 			return TRUE;
> 		}
>@@ -649,7 +650,9 @@
> 		// there are different locations depending on which setting it is.
>
> 		if( (0 == strcmp(szAttribName, kszAudienceDefinitionDir)) ||
>-			(0 == strcmp(szAttribName, kszServerDefinitionDir)))
>+			(0 == strcmp(szAttribName, kszServerDefinitionDir))||
>+			(0 == strcmp(szAttribName, kszLicenseDir))
>+			)
> 		{
> 			// audience or server def
> 			return m_pAudienceOrServerDefDirUtils->NormalizePath(szPref, sFullDir);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.