Changeset 1756


Ignore:
Timestamp:
2000-12-07T11:46:39+13:00 (23 years ago)
Author:
say1
Message:

added detection and handling of unreadable files

File:
1 edited

Legend:

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

    r1720 r1756  
    261261    my ($filename, $textref) = @_;
    262262
     263    if (!-r $filename)
     264    {
     265    print STDERR "Read permission denied for $filename\n";
     266    return;
     267    }
     268
    263269    $$textref = "";
    264270
Note: See TracChangeset for help on using the changeset viewer.