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
9d65e164
Commit
9d65e164
authored
Nov 10, 2008
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix in Sev node distribution
parent
8115da80
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
14 deletions
+19
-14
wb/lib/wb/src/wb_pkg.cpp
wb/lib/wb/src/wb_pkg.cpp
+19
-14
No files found.
wb/lib/wb/src/wb_pkg.cpp
View file @
9d65e164
/*
* Proview $Id: wb_pkg.cpp,v 1.
19 2008-09-05 09:07:44
claes Exp $
* Proview $Id: wb_pkg.cpp,v 1.
20 2008-11-10 08:05:47
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -249,11 +249,11 @@ void wb_pkg::readConfig()
}
else
if
(
strcmp
(
cdh_Low
(
line_item
[
0
]),
"boot"
)
==
0
)
{
// A Sev node, only node and bootfile
try
{
if
(
!
(
num
==
2
))
throw
wb_error_str
(
"File corrupt "
load_cNameDistribute
);
pkg_node
&
n
=
getNode
(
line_item
[
1
]);
// Add ld_node file
sprintf
(
fname
,
load_cNameNode
,
load_cDirectory
,
n
.
name
(),
n
.
bus
());
pkg_pattern
pnode
(
fname
,
""
,
'E'
);
...
...
@@ -263,6 +263,11 @@ void wb_pkg::readConfig()
sprintf
(
fname
,
load_cNameBoot
,
load_cDirectory
,
n
.
name
(),
n
.
bus
());
pkg_pattern
pboot
(
fname
,
""
,
'E'
);
n
.
push_back
(
pboot
);
}
catch
(
wb_error
&
e
)
{
if
(
e
.
what
()
==
string
(
"No such node"
))
continue
;
throw
wb_error_str
(
e
.
what
());
}
}
}
...
...
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