Changeset 14246


Ignore:
Timestamp:
2007-07-12T11:11:30+12:00 (17 years ago)
Author:
xiao
Message:

modification in write_build_cfg_xml sub to pass the disable_OAI flag to cfgread4gs3::write_cfg_file instead of using the structure to prevent from generating perl regular expression compilation warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/colcfg.pm

    r14115 r14246  
    100100}
    101101sub write_build_cfg_xml {
    102     my ($buildoutfile, $buildcfg, $collectcfg) = @_;
     102    my ($buildoutfile, $buildcfg, $collectcfg, $disable_OAI) = @_;
    103103
    104     return &cfgread4gs3::write_cfg_file ($buildoutfile, $buildcfg, $collectcfg);
     104    return &cfgread4gs3::write_cfg_file ($buildoutfile, $buildcfg, $collectcfg, $disable_OAI);
    105105}
    106106
     
    148148
    149149    return &cfgread::read_cfg_file ($filename,
    150            q/^(builddate|buildtype|numdocs|numsections|numwords|numbytes|maxnumeric|textlevel|indexstem|stemindexes)$/, 
     150           q/^(builddate|buildtype|numdocs|numsections|numwords|numbytes|maxnumeric|textlevel|indexstem|stemindexes)$/,
    151151           q/^(indexmap|subcollectionmap|languagemap|notbuilt|indexfields|indexfieldmap|indexlevels|levelmap)$/);
    152152                   
     
    157157
    158158    &cfgread::write_cfg_file($filename, $data,
    159            q/^(builddate|buildtype|numdocs|numsections|numwords|numbytes|maxnumeric|textlevel|indexstem|stemindexes)$/, 
     159           q/^(builddate|buildtype|numdocs|numsections|numwords|numbytes|maxnumeric|textlevel|indexstem|stemindexes)$/,
    160160           q/^(indexmap|subcollectionmap|languagemap|notbuilt|indexfields|indexfieldmap|indexlevels|levelmap)$/);           
    161161}
Note: See TracChangeset for help on using the changeset viewer.