Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
fbb8eaf8
Commit
fbb8eaf8
authored
Sep 17, 2007
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nodename converted to lower
parent
cd8b7e40
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
wb/lib/wb/src/wb_gcg.cpp
wb/lib/wb/src/wb_gcg.cpp
+5
-5
wb/lib/wb/src/wb_lfu.cpp
wb/lib/wb/src/wb_lfu.cpp
+5
-4
No files found.
wb/lib/wb/src/wb_gcg.cpp
View file @
fbb8eaf8
/*
* Proview $Id: wb_gcg.cpp,v 1.
3 2007-05-28 14:52:1
3 claes Exp $
* Proview $Id: wb_gcg.cpp,v 1.
4 2007-09-17 07:09:2
3 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -4769,7 +4769,7 @@ static int gcg_get_rtnode_plcthread(
if
(
EVEN
(
sts
))
return
sts
;
/* Check that the class of the node object is correct */
if
(
cid
==
pwr_cClass_NodeHier
)
{
if
(
cid
==
pwr_cClass_NodeHier
||
cid
==
pwr_cClass_Node
)
{
/* Check if the children is a thread */
sts
=
gcg_get_child_plcthread
(
gcgctx
,
objdid
,
rtnode
,
os
,
thread_count
,
threadlist
);
...
...
@@ -5331,7 +5331,7 @@ int gcg_comp_rtnode(
if
(
IS_VMS_OR_ELN
(
os
))
{
sprintf
(
fullfilename
,
"%splc_%s_%4.4d.opt"
,
"pwrp_tmp:"
,
nodename
,
bus
);
sprintf
(
fullfilename
,
"%splc_%s_%4.4d.opt"
,
"pwrp_tmp:"
,
cdh_Low
(
nodename
)
,
bus
);
dcli_translate_filename
(
fullfilename
,
fullfilename
);
if
((
files
[
1
]
=
fopen
(
fullfilename
,
"w"
))
==
NULL
)
{
...
...
@@ -5448,7 +5448,7 @@ int gcg_comp_rtnode(
if
(
IS_VMS_OR_ELN
(
os
))
{
sprintf
(
plcfilename
,
"pwrp_exe:plc_%s_%4.4d_%5.5ld.exe"
,
nodename
,
bus
,
plc_version
);
cdh_Low
(
nodename
)
,
bus
,
plc_version
);
sprintf
(
fullfilename
,
"%s%s_%4.4d"
,
gcgmn_filenames
[
0
],
nodename
,
bus
);
gcg_cc
(
GCG_RTNODE
,
fullfilename
,
plcfilename
,
NULL
,
os
,
GCG_NOSPAWN
);
...
...
@@ -5456,7 +5456,7 @@ int gcg_comp_rtnode(
else
{
sprintf
(
plcfilename
,
"plc_%s_%4.4d_%5.5ld"
,
nodename
,
bus
,
plc_version
);
cdh_Low
(
nodename
)
,
bus
,
plc_version
);
sprintf
(
fullfilename
,
"%s%s_%4.4d"
,
gcgmn_filenames
[
0
],
nodename
,
bus
);
gcg_cc
(
GCG_RTNODE
,
fullfilename
,
plcfilename
,
plclib_frozen
,
os
,
GCG_NOSPAWN
);
...
...
wb/lib/wb/src/wb_lfu.cpp
View file @
fbb8eaf8
/*
* Proview $Id: wb_lfu.cpp,v 1.
6 2007-06-05 12:21:45
claes Exp $
* Proview $Id: wb_lfu.cpp,v 1.
7 2007-09-17 07:09:23
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -298,7 +298,7 @@ pwr_tStatus lfu_create_bootfile(
sts
=
lfu_IncrementAndGetVersion
(
filename
,
&
plc_version
);
if
(
EVEN
(
sts
))
return
sts
;
sprintf
(
plcname
,
load_cNamePlc
,
""
,
nodename
,
bus
,
(
int
)
plc_version
);
sprintf
(
plcname
,
load_cNamePlc
,
""
,
cdh_Low
(
nodename
)
,
bus
,
(
int
)
plc_version
);
printf
(
" %s
\n
"
,
plcname
);
sts
=
gcg_comp_rtnode
(
nodename
,
os
,
...
...
@@ -310,7 +310,7 @@ pwr_tStatus lfu_create_bootfile(
/* Open the file and print boot data */
sprintf
(
filename
,
load_cNameBoot
,
load_cDirectory
,
nodename
,
bus
);
load_cDirectory
,
cdh_Low
(
nodename
)
,
bus
);
dcli_translate_filename
(
filename
,
filename
);
file
=
fopen
(
filename
,
"w"
);
if
(
!
file
)
{
...
...
@@ -1332,7 +1332,8 @@ pwr_tStatus lfu_SaveDirectoryVolume(
if
(
!
found
)
return
0
;
sprintf
(
filename
,
load_cNameNode
,
load_cDirectory
,
nodevect
[
idx
].
nodename
,
bus_number
);
sprintf
(
filename
,
load_cNameNode
,
load_cDirectory
,
cdh_Low
(
nodevect
[
idx
].
nodename
),
bus_number
);
dcli_translate_filename
(
fname
,
filename
);
fp
=
fopen
(
fname
,
"w"
);
if
(
fp
==
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment