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
379f1fa6
Commit
379f1fa6
authored
Apr 01, 2008
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix, ldhses not found for directory db, if directory db didn't exist
parent
e8e4ce67
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
wb/exe/wb_cmd/src/wb_cmd_main.cpp
wb/exe/wb_cmd/src/wb_cmd_main.cpp
+3
-4
No files found.
wb/exe/wb_cmd/src/wb_cmd_main.cpp
View file @
379f1fa6
/*
/*
* Proview $Id: wb_cmd_main.cpp,v 1.
1 2007-01-04 07:29:0
2 claes Exp $
* Proview $Id: wb_cmd_main.cpp,v 1.
2 2008-04-01 10:35:3
2 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
* Copyright (C) 2005 SSAB Oxelsund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -118,10 +118,9 @@ int Cmd::attach_volume_cb( void *ctx,
...
@@ -118,10 +118,9 @@ int Cmd::attach_volume_cb( void *ctx,
{
{
if
(
cmd_volume_p
!=
0
)
{
if
(
cmd_volume_p
!=
0
)
{
// Attach argument volume
// Attach argument volume
ldh_VolumeNameToId
(
cmd
->
wbctx
,
cmd_volume_p
,
&
volid
);
sts
=
ldh_VolumeNameToId
(
cmd
->
wbctx
,
cmd_volume_p
,
&
volid
);
if
(
EVEN
(
sts
))
return
sts
;
}
}
else
{
if
(
cmd_volume_p
==
0
||
EVEN
(
sts
))
{
// Attach first rootvolume, or if no rootvolume exist some other volume
// Attach first rootvolume, or if no rootvolume exist some other volume
sts
=
ldh_GetVolumeList
(
cmd
->
wbctx
,
&
vid
);
sts
=
ldh_GetVolumeList
(
cmd
->
wbctx
,
&
vid
);
while
(
ODD
(
sts
))
{
while
(
ODD
(
sts
))
{
...
...
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