Commit a227aec0 authored by claes's avatar claes

Adjusted to gcc 3.0

parent 391480d7
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
PROVIEW/R PROVIEW/R
Copyright (C) 1994 by Comator Process AB. */ Copyright (C) 1994 by Comator Process AB. */
#include <string.h>
#include "wb_pwrs.h" #include "wb_pwrs.h"
#include "wb_pwrs_msg.h" #include "wb_pwrs_msg.h"
#include "wb_ldh.h" #include "wb_ldh.h"
......
...@@ -553,9 +553,13 @@ void wb_erep::loadMeta( pwr_tStatus *status) ...@@ -553,9 +553,13 @@ void wb_erep::loadMeta( pwr_tStatus *status)
strcpy( vname, "$pwrp_db/directory.db"); strcpy( vname, "$pwrp_db/directory.db");
dcli_translate_filename( vname, vname); dcli_translate_filename( vname, vname);
sts = dcli_search_file( vname, found_file, DCLI_DIR_SEARCH_INIT);
dcli_search_file( vname, found_file, DCLI_DIR_SEARCH_END);
if ( ODD(sts)) {
wb_vrepdb *vrepdb = new wb_vrepdb( this, vname); wb_vrepdb *vrepdb = new wb_vrepdb( this, vname);
vrepdb->name("directory"); vrepdb->name("directory");
addDb( &sts, vrepdb); addDb( &sts, vrepdb);
}
if ( EVEN(sts)) if ( EVEN(sts))
*status = LDH__PROJCONFIG; *status = LDH__PROJCONFIG;
else if ( !vol_cnt) else if ( !vol_cnt)
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
#include "pwr.h" #include "pwr.h"
#include "wb_ldh.h" #include "wb_ldh.h"
using namespace std;
class wb_treeexport; class wb_treeexport;
class wb_adrep; class wb_adrep;
class wb_vrep; class wb_vrep;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment