comparison 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
comparison
equal deleted inserted replaced
556:f9eaf0a9872d 557:862863033fdd
1285 #endif 1285 #endif
1286 { 1286 {
1287 /* 1287 /*
1288 * try to open the file 1288 * try to open the file
1289 */ 1289 */
1290 flags |= O_EXTRA; 1290 flags |= O_EXTRA | O_NOFOLLOW;
1291 #ifdef WIN32 1291 #ifdef WIN32
1292 /* Prevent handle inheritance that cause problems with Cscope 1292 /* Prevent handle inheritance that cause problems with Cscope
1293 * (swap file may not be deleted if cscope connection was open after 1293 * (swap file may not be deleted if cscope connection was open after
1294 * the file) */ 1294 * the file) */
1295 flags |= O_NOINHERIT; 1295 flags |= O_NOINHERIT;