Commit 508e0a3f authored by Claes Sjofors's avatar Claes Sjofors

Merge branch 'develop'

parents 280357ee d60cbad2
...@@ -68,7 +68,7 @@ public class GrowFrame implements GraphApplIfc { ...@@ -68,7 +68,7 @@ public class GrowFrame implements GraphApplIfc {
public int command(String cmd) { public int command(String cmd) {
if ( appl != null) if ( appl != null)
return appl.command(cmd); return appl.command(cmd, this);
return 0; return 0;
} }
......
...@@ -194,7 +194,7 @@ static void AddTransports() ...@@ -194,7 +194,7 @@ static void AddTransports()
{ {
sts = gdh_ObjidToPointer(objid, &objref); sts = gdh_ObjidToPointer(objid, &objref);
sprintf(tp[tpcount].path, "rs_remote_qcom"); sprintf(tp[tpcount].path, "rs_remote_qcom");
tp[tpcount].id = ((pwr_sClass_RemnodeQCom *) objref)->MyQueue; tp[tpcount].id = ((pwr_sClass_RemnodeQCom *) objref)->ReceiveQueue;
tp[tpcount].disable = &((pwr_sClass_RemnodeQCom *) objref)->Disable; tp[tpcount].disable = &((pwr_sClass_RemnodeQCom *) objref)->Disable;
tp[tpcount].restart_limit = &((pwr_sClass_RemnodeQCom *) objref)->RestartLimit; tp[tpcount].restart_limit = &((pwr_sClass_RemnodeQCom *) objref)->RestartLimit;
tp[tpcount].restarts = &((pwr_sClass_RemnodeQCom *) objref)->RestartCount; tp[tpcount].restarts = &((pwr_sClass_RemnodeQCom *) objref)->RestartCount;
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</table> </table>
<h2 id="mainmenu">Upgrading</h2> <h2 id="mainmenu">Upgrading</h2>
<table id="mainmenu" border="1" cellspacing="0" width="100%"> <table id="mainmenu" border="1" cellspacing="0" width="100%">
<tr><td id="mainmenu"><a id="mainmenu" href="upgrade53.pdf" target="right">Upgrading from V5.2</a></td></tr> <tr><td id="mainmenu"><a id="mainmenu" href="upgrade54.pdf" target="right">Upgrading from V5.3</a></td></tr>
</table> </table>
<br> <br>
<h2 id="mainmenu">Changelog</h2> <h2 id="mainmenu">Changelog</h2>
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
</table> </table>
<h2 id="mainmenu">Uppgradering</h2> <h2 id="mainmenu">Uppgradering</h2>
<table id="mainmenu" border="1" cellspacing="0" width="100%"> <table id="mainmenu" border="1" cellspacing="0" width="100%">
<tr><td id="mainmenu"><a id="mainmenu" href="../en_us/upgrade53.pdf" target="right">Uppgradering frn V5.2</a></td></tr> <tr><td id="mainmenu"><a id="mainmenu" href="../en_us/upgrade54.pdf" target="right">Uppgradering frn V5.3</a></td></tr>
</table> </table>
<br> <br>
<h2 id="mainmenu">ndringslogg</h2> <h2 id="mainmenu">ndringslogg</h2>
......
...@@ -611,7 +611,7 @@ int ccm_varname_parse( ...@@ -611,7 +611,7 @@ int ccm_varname_parse(
} }
sscanf( elementstr, "%d", element); sscanf( elementstr, "%d", element);
*s = '\0'; *s = '\0';
if ( (*element < 0) || (*element > 1000) ) if ( (*element < 0) || (*element > 5000) )
{ {
return 0; return 0;
} }
......
This diff is collapsed.
...@@ -1765,7 +1765,9 @@ pwr_tStatus lfu_SaveDirectoryVolume( ...@@ -1765,7 +1765,9 @@ pwr_tStatus lfu_SaveDirectoryVolume(
MsgWindow::message( 'E', msg, msgw_ePop_Default); MsgWindow::message( 'E', msg, msgw_ePop_Default);
syntax_error = 1; syntax_error = 1;
} }
if ( strcmp( nodevect[i].address, nodevect[j].address) == 0) { if ( strcmp( nodevect[i].address, "0.0.0.0") != 0 &&
strcmp( nodevect[i].address, "127.0.0.1") != 0 &&
strcmp( nodevect[i].address, nodevect[j].address) == 0) {
char msg[200]; char msg[200];
pwr_tOName oname1, oname2; pwr_tOName oname1, oname2;
sts = ldh_ObjidToName( ldhses, nodevect[i].oid, ldh_eName_Hierarchy, sts = ldh_ObjidToName( ldhses, nodevect[i].oid, ldh_eName_Hierarchy,
...@@ -2371,7 +2373,7 @@ pwr_tStatus lfu_SaveDirectoryVolume( ...@@ -2371,7 +2373,7 @@ pwr_tStatus lfu_SaveDirectoryVolume(
nodename_ptr, nodename_ptr); nodename_ptr, nodename_ptr);
if ( *components_ptr & pwr_mDistrComponentMask_ApplFile) if ( *components_ptr & pwr_mDistrComponentMask_ApplFile)
fprintf( file, "appl %s W "pwr_cNameAppl" $pwrp_load/\n", fprintf( file, "appl %s W "pwr_cNameAppl" $pwrp_load/\n",
nodename_ptr, "$pwrp_cnf/", nodename_ptr, *bus_number_ptr); nodename_ptr, "$pwrp_load/", nodename_ptr, *bus_number_ptr);
if ( *components_ptr & pwr_mDistrComponentMask_PwrpAliasFile) if ( *components_ptr & pwr_mDistrComponentMask_PwrpAliasFile)
fprintf( file, "appl %s W $pwrp_load/pwrp_alias.dat $pwrp_load/pwrp_alias.dat\n", fprintf( file, "appl %s W $pwrp_load/pwrp_alias.dat $pwrp_load/pwrp_alias.dat\n",
nodename_ptr); nodename_ptr);
...@@ -2382,7 +2384,7 @@ pwr_tStatus lfu_SaveDirectoryVolume( ...@@ -2382,7 +2384,7 @@ pwr_tStatus lfu_SaveDirectoryVolume(
if ( *components_ptr & pwr_mDistrComponentMask_XMLFiles) if ( *components_ptr & pwr_mDistrComponentMask_XMLFiles)
fprintf( file, "appl %s W $pwrp_load/*.xml\n", nodename_ptr); fprintf( file, "appl %s W $pwrp_load/*.xml\n", nodename_ptr);
if ( *components_ptr & pwr_mDistrComponentMask_XttHelpFile) { if ( *components_ptr & pwr_mDistrComponentMask_XttHelpFile) {
fprintf( file, "appl %s W $pwrp_cnf/%s/xtt_help.dat:$pwrp_cnf/xtt_help.dat $pwrp_load/xtt_help.dat\n", fprintf( file, "appl %s W $pwrp_load/%s/xtt_help.dat:$pwrp_load/xtt_help.dat $pwrp_load/xtt_help.dat\n",
nodename_ptr, nodename_ptr); nodename_ptr, nodename_ptr);
} }
if ( *components_ptr & pwr_mDistrComponentMask_XttResourceFile) { if ( *components_ptr & pwr_mDistrComponentMask_XttResourceFile) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment