Ignore:
Timestamp:
2004-05-21T11:03:12+12:00 (20 years ago)
Author:
kjdon
Message:

plugin read functions now return 'undef' - didn't recognise, '-1' - recognised but had an error during processing, '0' - blocked or didn't process but don't pass it on to other plugins, or 'num_docs' processed. this emables a bit better error reporting about what has happened to each file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/RecPlug.pm

    r7353 r7362  
    228228    if (!opendir (DIR, $dirname)) {
    229229    print $outhandle "RecPlug: WARNING - couldn't read directory $dirname\n";
    230     return undef;
     230    return -1; # error in processing
    231231    }
    232232    @dir = readdir (DIR);
Note: See TracChangeset for help on using the changeset viewer.