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
0333f326
Commit
0333f326
authored
May 17, 2006
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build node always rebuilt if nodeconfig name didn't equal nodename
parent
90db386f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
wb/lib/wb/src/wb_build.cpp
wb/lib/wb/src/wb_build.cpp
+7
-3
No files found.
wb/lib/wb/src/wb_build.cpp
View file @
0333f326
/*
* Proview $Id: wb_build.cpp,v 1.
1 2006-03-31 14:24:34
claes Exp $
* Proview $Id: wb_build.cpp,v 1.
2 2006-05-17 06:04:29
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -89,6 +89,7 @@ void wb_build::node( char *nodename, void *volumelist, int volumecnt)
printf
(
"Build node %s
\n
"
,
nodename
);
if
(
!
opt
.
manual
)
{
// Check if there is any new dbsfile
rebuild
=
0
;
...
...
@@ -107,13 +108,13 @@ void wb_build::node( char *nodename, void *volumelist, int volumecnt)
}
sprintf
(
fname
,
load_cNameBoot
,
load_cDirectory
,
nodename
,
bussid
);
load_cDirectory
,
vlist
[
i
].
p2
,
bussid
);
cdh_ToLower
(
fname
,
fname
);
dcli_translate_filename
(
fname
,
fname
);
status
=
lfu_ReadBootFile
(
fname
,
&
btime
,
systemname
,
systemgroup
,
&
vl
,
&
vnl
,
&
vcnt
,
pname
);
if
(
EVEN
(
status
))
{
rebuild
=
1
;
break
;
}
}
...
...
@@ -130,6 +131,9 @@ void wb_build::node( char *nodename, void *volumelist, int volumecnt)
m_sts
=
dcli_file_time
(
fname
,
&
vtime
);
if
(
evenSts
())
{
// Dbs file is missing
char
msg
[
200
];
sprintf
(
msg
,
"Loadfile for volume %s not created"
,
vname
);
MsgWindow
::
message
(
'E'
,
msg
,
msgw_ePop_Yes
);
return
;
}
if
(
vtime
.
tv_sec
>
btime
.
tv_sec
)
...
...
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