Commit 8a1921d2 authored by Claes Sjofors's avatar Claes Sjofors

wb distributor, xtt_help and ld_appl distributed from $pwrp_load, and NodeConfig syntax fix

parent e6f24f94
......@@ -1765,7 +1765,9 @@ pwr_tStatus lfu_SaveDirectoryVolume(
MsgWindow::message( 'E', msg, msgw_ePop_Default);
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];
pwr_tOName oname1, oname2;
sts = ldh_ObjidToName( ldhses, nodevect[i].oid, ldh_eName_Hierarchy,
......@@ -2371,7 +2373,7 @@ pwr_tStatus lfu_SaveDirectoryVolume(
nodename_ptr, nodename_ptr);
if ( *components_ptr & pwr_mDistrComponentMask_ApplFile)
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)
fprintf( file, "appl %s W $pwrp_load/pwrp_alias.dat $pwrp_load/pwrp_alias.dat\n",
nodename_ptr);
......@@ -2382,7 +2384,7 @@ pwr_tStatus lfu_SaveDirectoryVolume(
if ( *components_ptr & pwr_mDistrComponentMask_XMLFiles)
fprintf( file, "appl %s W $pwrp_load/*.xml\n", nodename_ptr);
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);
}
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