Commit 647216f2 authored by Claes Sjofors's avatar Claes Sjofors

Version check at package generation of detached classvolume disabled

parent 5ff20a88
...@@ -135,4 +135,5 @@ ...@@ -135,4 +135,5 @@
090518 cs wb Advanced user set as default in wb. 090518 cs wb Advanced user set as default in wb.
090630 cs wb Directory database changed from BerkeleyDb to wb_load format. 090630 cs wb Directory database changed from BerkeleyDb to wb_load format.
090701 cs plc Env variable PWR_EXT_INC added to plc compile command. Replaces pwrp_cmn. 090701 cs plc Env variable PWR_EXT_INC added to plc compile command. Replaces pwrp_cmn.
090803 cs wb Bugfix in loading wbload file with objects containing object attributes. 090803 cs wb Bugfix in loading wbload file with objects containing object attributes.
\ No newline at end of file 090804 cs wb Version check at package generation disabled for detached classvolumes.
...@@ -305,6 +305,10 @@ void pkg_node::checkVolume( char *filename) ...@@ -305,6 +305,10 @@ void pkg_node::checkVolume( char *filename)
sts = lfu_GetVolume( filename, vol_name, &vol_vid, &vol_cid, &vol_time); sts = lfu_GetVolume( filename, vol_name, &vol_vid, &vol_cid, &vol_time);
if ( EVEN(sts)) throw wb_error(sts); if ( EVEN(sts)) throw wb_error(sts);
if ( vol_cid == pwr_eClass_DetachedClassVolume)
// No check
return;
found = false; found = false;
for ( int i = 0; i < (int)m_volumelist.size(); i++) { for ( int i = 0; i < (int)m_volumelist.size(); i++) {
if ( m_volumelist[i].m_vid == vol_vid) { if ( m_volumelist[i].m_vid == vol_vid) {
......
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