/[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 15 by dpavlin, Mon Jul 9 13:33:13 2007 UTC revision 17 by dpavlin, Mon Jul 9 13:45:53 2007 UTC
# Line 204  sub x_write { Line 204  sub x_write {
204          return -ENOSYS() unless open($fh,'+<',$pending->{$file}->{path});          return -ENOSYS() unless open($fh,'+<',$pending->{$file}->{path});
205          if($rv = seek( $fh ,$off,SEEK_SET)) {          if($rv = seek( $fh ,$off,SEEK_SET)) {
206                  $rv = print( $fh $buf );                  $rv = print( $fh $buf );
207                  warn "## ", $pending->{$file}->{path}, " $off ",length( $buf ), "\n" if $debug;                  warn "## write ", $pending->{$file}->{path}, " $off ",length( $buf ), "\n" if $debug;
208          }          }
209          $rv = -ENOSYS() unless $rv;          $rv = -ENOSYS() unless $rv;
210          close($fh);          close($fh);

Legend:
Removed from v.15  
changed lines
  Added in v.17

  ViewVC Help
Powered by ViewVC 1.1.26