/[fuse-comp]/fuse-comp.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /fuse-comp.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 35 by dpavlin, Mon Jul 16 08:24:08 2007 UTC revision 36 by dpavlin, Mon Jul 16 08:34:47 2007 UTC
# Line 10  require 'syscall.ph'; # for SYS_mknod an Line 10  require 'syscall.ph'; # for SYS_mknod an
10  use PerlIO::gzip;  use PerlIO::gzip;
11  use File::Path;  use File::Path;
12  use Data::Dump qw/dump/;  use Data::Dump qw/dump/;
13  use Carp qw/confess/;  use Carp qw/confess cluck/;
14  use IO::File;  use IO::File;
15  use Getopt::Long;  use Getopt::Long;
16    
# Line 47  my $pending; Line 47  my $pending;
47  sub real_name {  sub real_name {
48          my ( $dir, $name ) = @_;          my ( $dir, $name ) = @_;
49          if ( -e "$dir/${name}.gz" ) {          if ( -e "$dir/${name}.gz" ) {
50                  confess "ASSERT: unexpected $dir/$name exists" if -e "$dir/$name";                  cluck "ASSERT: unexpected $dir/$name exists" if -e "$dir/$name";
51                  return "${name}.gz";                  return "${name}.gz";
52          }          }
53          if ( $name =~ m/\.gz$/ ) {          if ( $name =~ m/\.gz$/ ) {

Legend:
Removed from v.35  
changed lines
  Added in v.36

  ViewVC Help
Powered by ViewVC 1.1.26