IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 21, 2008, 9:57:19 AM (18 years ago)
Author:
jhoblitt
Message:

fix Nebulous::Server::setxattr_object() so that creating a new xattr with the "replace" flag works

Location:
trunk/Nebulous-Server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/Changes

    r17757 r17761  
    11Revision history for Nebulous
     2
     30.12
     4    - fix Nebulous::Server::setxattr_object() so that creating a new xattr with
     5      the "replace" flag works
    26
    370.11 Tue May 20 10:54:50 HST 2008
  • trunk/Nebulous-Server/lib/Nebulous/Server.pm

    r17753 r17761  
    11# Copyright (c) 2004-2008  Joshua Hoblitt
    22#
    3 # $Id: Server.pm,v 1.73 2008-05-20 01:47:08 jhoblitt Exp $
     3# $Id: Server.pm,v 1.74 2008-05-21 19:57:19 jhoblitt Exp $
    44
    55package Nebulous::Server;
     
    674674            }
    675675        } else {
    676             unless ($rows == 2) {
     676            # replace_object_xattr can effect either 1 or 2 rows.  2 rows in
     677            # the case of a replace and 1 if the xattr didn't already exist.
     678            unless ($rows == 1 or $rows == 2) {
    677679                $log->logdie( "affected row count is $rows instead of 2" );
    678680            }
Note: See TracChangeset for help on using the changeset viewer.