diff src/memfile.c @ 557:862863033fdd v7.0158

updated for version 7.0158
author vimboss
date Wed, 23 Nov 2005 21:25:05 +0000
parents 3fc0f57ecb91
children 52c87a746f4a
line wrap: on
line diff
--- a/src/memfile.c
+++ b/src/memfile.c
@@ -1287,7 +1287,7 @@ mf_do_open(mfp, fname, flags)
 	/*
 	 * try to open the file
 	 */
-	flags |= O_EXTRA;
+	flags |= O_EXTRA | O_NOFOLLOW;
 #ifdef WIN32
 	/* Prevent handle inheritance that cause problems with Cscope
 	 * (swap file may not be deleted if cscope connection was open after