summaryrefslogtreecommitdiff
path: root/src/tests/tstfuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/tstfuncs.cpp')
-rwxr-xr-xsrc/tests/tstfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/tstfuncs.cpp b/src/tests/tstfuncs.cpp
index d9b108d..377b199 100755
--- a/src/tests/tstfuncs.cpp
+++ b/src/tests/tstfuncs.cpp
@@ -415,7 +415,7 @@ xbInt16 SetCmd( xbXBase &x, const xbString &sFileName, const xbString &sCmd, con
#ifdef HAVE__FSOPEN_F
// 0x40 is SH_DENYNO or _SH_DENYNO
- if(( f = _fsopen( sFileName.Str(), "r", 0x40 )) == NULL){
+ if(( f = _fsopen( sFileName.Str(), "w", 0x40 )) == NULL){
x.xbSleep( 250 );
iTryCnt++;
}