[Pvfs2-cvs] commit by pcarns in pvfs2-1/src/client/sysint:
sys-lookup.sm
CVS commit program
cvs at parl.clemson.edu
Mon Jan 21 16:09:38 EST 2008
Update of /projects/cvsroot/pvfs2-1/src/client/sysint
In directory parlweb1:/tmp/cvs-serv20808/src/client/sysint
Modified Files:
sys-lookup.sm
Log Message:
committing sys-lookup/rm/ncache bug fix
- path segment parsing needs to use strchr rather than strrchr
- see this thread:
http://www.beowulf-underground.org/pipermail/pvfs2-developers/2008-January/003783.html
Index: sys-lookup.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/client/sysint/sys-lookup.sm,v
diff -p -u -r1.74 -r1.75
--- sys-lookup.sm 8 Jan 2008 18:38:00 -0000 1.74
+++ sys-lookup.sm 21 Jan 2008 21:09:37 -0000 1.75
@@ -365,7 +365,7 @@ static int initialize_context(
slash_str = orig_pathname;
for (i = 0; i < cur_seg_index; i++) {
- slash_str = strrchr(slash_str, '/');
+ slash_str = strchr(slash_str, '/');
if (slash_str == NULL) {
break;
}
More information about the Pvfs2-cvs
mailing list