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
9385b417
Commit
9385b417
authored
Aug 24, 2007
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dir_list was too short
parent
40d6dcfe
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
wb/lib/wb/src/wb_erep.cpp
wb/lib/wb/src/wb_erep.cpp
+5
-1
wb/lib/wb/src/wb_erep.h
wb/lib/wb/src/wb_erep.h
+2
-2
No files found.
wb/lib/wb/src/wb_erep.cpp
View file @
9385b417
/*
/*
* Proview $Id: wb_erep.cpp,v 1.5
0 2007-04-25 13:40:20
claes Exp $
* Proview $Id: wb_erep.cpp,v 1.5
1 2007-08-24 13:39:43
claes Exp $
* Copyright (C) 2005 SSAB Oxelösund AB.
* Copyright (C) 2005 SSAB Oxelösund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -610,6 +610,7 @@ void wb_erep::loadMeta( pwr_tStatus *status, char *db)
...
@@ -610,6 +610,7 @@ void wb_erep::loadMeta( pwr_tStatus *status, char *db)
}
}
else
{
else
{
// Imported loadfile
// Imported loadfile
bool
found
=
false
;
for
(
i
=
0
;
i
<
m_dir_cnt
;
i
++
)
{
for
(
i
=
0
;
i
<
m_dir_cnt
;
i
++
)
{
strcpy
(
vname
,
m_dir_list
[
i
]);
strcpy
(
vname
,
m_dir_list
[
i
]);
strcat
(
vname
,
vol_array
[
0
]);
strcat
(
vname
,
vol_array
[
0
]);
...
@@ -618,6 +619,7 @@ void wb_erep::loadMeta( pwr_tStatus *status, char *db)
...
@@ -618,6 +619,7 @@ void wb_erep::loadMeta( pwr_tStatus *status, char *db)
dcli_search_file
(
vname
,
found_file
,
DCLI_DIR_SEARCH_END
);
dcli_search_file
(
vname
,
found_file
,
DCLI_DIR_SEARCH_END
);
if
(
ODD
(
sts
))
{
if
(
ODD
(
sts
))
{
// Load...
// Load...
found
=
true
;
try
{
try
{
vrep
=
new
wb_vrepdbs
(
this
,
vname
);
vrep
=
new
wb_vrepdbs
(
this
,
vname
);
vrep
->
load
();
vrep
->
load
();
...
@@ -634,6 +636,8 @@ void wb_erep::loadMeta( pwr_tStatus *status, char *db)
...
@@ -634,6 +636,8 @@ void wb_erep::loadMeta( pwr_tStatus *status, char *db)
break
;
break
;
}
}
}
}
if
(
!
found
)
MsgWindow
::
message
(
'E'
,
"Volume snapshotfile not found"
,
vname
);
}
}
}
}
else
{
else
{
...
...
wb/lib/wb/src/wb_erep.h
View file @
9385b417
/*
/*
* Proview $Id: wb_erep.h,v 1.2
3 2006-02-08 13:53:57
claes Exp $
* Proview $Id: wb_erep.h,v 1.2
4 2007-08-24 13:39:43
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
...
@@ -49,7 +49,7 @@ class wb_erep
...
@@ -49,7 +49,7 @@ class wb_erep
vector
<
wb_vrep
*>
m_vrepbuffer
;
vector
<
wb_vrep
*>
m_vrepbuffer
;
map
<
string
,
wb_tMethod
>
m_methods
;
map
<
string
,
wb_tMethod
>
m_methods
;
char
m_dir_list
[
10
][
200
];
char
m_dir_list
[
25
][
200
];
int
m_dir_cnt
;
int
m_dir_cnt
;
int
m_volatile_idx
;
int
m_volatile_idx
;
int
m_buffer_max
;
int
m_buffer_max
;
...
...
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