From: <ta...@us...> - 2007-05-09 13:44:17
|
Revision: 3717 http://gfarm.svn.sourceforge.net/gfarm/?rev=3717&view=rev Author: tatebe Date: 2007-05-09 06:44:18 -0700 (Wed, 09 May 2007) Log Message: ----------- fix a trivial bug, but it is critical for gfchmod to really work. Modified Paths: -------------- gfarm/branches/gfarm_v2/gftool/gfchmod/gfchmod.c Modified: gfarm/branches/gfarm_v2/gftool/gfchmod/gfchmod.c =================================================================== --- gfarm/branches/gfarm_v2/gftool/gfchmod/gfchmod.c 2007-05-03 15:10:38 UTC (rev 3716) +++ gfarm/branches/gfarm_v2/gftool/gfchmod/gfchmod.c 2007-05-09 13:44:18 UTC (rev 3717) @@ -81,7 +81,7 @@ s = gfarm_stringlist_elem(&paths, i); #else n = argc; - for (i = 0; i < n; i++) { + for (i = 1; i < n; i++) { s = argv[i]; #endif e = gfs_chmod(s, (gfarm_mode_t)mode); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |