Ignore:
Timestamp:
2010-05-12T10:29:16+12:00 (14 years ago)
Author:
sjm84
Message:

Added error messages to these files that are printed when a write handle cannot be opened

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/dbutil/gdbmtxtgz.pm

    r21856 r22076  
    5353  if (!open($infodb_file_handle, "| gzip - > \"$infodb_file_path\""))
    5454  {
    55     return undef;
     55      print STDERR "Error: Failed to open pipe to gzip - > \"$infodb_file_path\"\n";
     56      print STDERR "       $!\n";
     57      return undef;
    5658  }
    5759
Note: See TracChangeset for help on using the changeset viewer.