IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13053


Ignore:
Timestamp:
Apr 26, 2007, 3:50:34 PM (19 years ago)
Author:
jhoblitt
Message:

remove now unessicary unlocks

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/scripts/ptest.pl

    r12974 r13053  
    2626
    2727        close $fh;
    28         $neb->unlock( $fname, 'write' );
    2928
    3029        $fh = $neb->open( $fname, 'read' ) or die "can't open file";
    3130        close $fh;
     31
     32        $neb->lock( $fname, 'read' );
    3233        $neb->unlock( $fname, 'read' );
    33 
    3434        $neb->replicate( $fname );
    3535        $neb->cull( $fname );
  • trunk/Nebulous/scripts/ptest.pl

    r12974 r13053  
    2626
    2727        close $fh;
    28         $neb->unlock( $fname, 'write' );
    2928
    3029        $fh = $neb->open( $fname, 'read' ) or die "can't open file";
    3130        close $fh;
     31
     32        $neb->lock( $fname, 'read' );
    3233        $neb->unlock( $fname, 'read' );
    33 
    3434        $neb->replicate( $fname );
    3535        $neb->cull( $fname );
Note: See TracChangeset for help on using the changeset viewer.