[Pvfs2-cvs] commit by bligon in pvfs2/src/client/sysint: sys-set-eattr.sm

CVS commit program cvs at parl.clemson.edu
Thu Jun 25 12:56:01 EDT 2009


Update of /projects/cvsroot/pvfs2/src/client/sysint
In directory parlweb1:/tmp/cvs-serv7317/src/client/sysint

Modified Files:
      Tag: Orange-Branch
	sys-set-eattr.sm 
Log Message:
Merged ORANGE-BECKY-BRANCH - Last of mirror changes.


Index: sys-set-eattr.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/sys-set-eattr.sm,v
diff -p -u -r1.13 -r1.13.10.1
--- sys-set-eattr.sm	20 Nov 2008 01:16:50 -0000	1.13
+++ sys-set-eattr.sm	25 Jun 2009 16:56:01 -0000	1.13.10.1
@@ -71,16 +71,19 @@ PVFS_error PVFS_isys_seteattr_list(
     if(gossip_debug_enabled(GOSSIP_SETEATTR_DEBUG))
     {
         int i = 0;
-        gossip_debug(GOSSIP_SETEATTR_DEBUG,
-                     "Setting extended attributes:\n");
+        int j; char *valBuf = (char *)val_array[i].buffer;
+        gossip_debug(GOSSIP_SETEATTR_DEBUG,"Setting extended attributes:\n");
         for(; i < nkey; ++i)
         {
-            gossip_debug(GOSSIP_SETEATTR_DEBUG,
-                         "eattr[%d]: key=%s val=%.*s\n",
-                         i, (char *)key_array[i].buffer,
-                         val_array[i].buffer_sz, (char *)val_array[i].buffer);
-        }
-    }
+            gossip_debug(GOSSIP_SETEATTR_DEBUG,"eattr[%d]: key=%s\n"
+                                              , i
+                                              ,(char *)key_array[i].buffer);
+            for (j=0; j<val_array[i].buffer_sz; j++)
+                gossip_debug(GOSSIP_SETEATTR_DEBUG,"          val[%d]=%#x\n"
+                                                  ,j
+                                                  ,(unsigned int)valBuf[j]);
+        }/*end for*/
+    } /*end if*/
 
     if ((ref.handle == PVFS_HANDLE_NULL) ||
        (ref.fs_id == PVFS_FS_ID_NULL))



More information about the Pvfs2-cvs mailing list