updated for version 7.1-265
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 50c8f58..d5692c2 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -3346,6 +3346,7 @@
 #endif
 		    ))
 	    {
+		len = 0;  /* avoid getting stuck when space is in 'isfname' */
 		while (*p != NUL)
 		{
 #ifdef FEAT_MBYTE