Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
662ae2f
)
command "rm -f" is replaced with a version "del /F" if WNT is defined (running on...
author
asv
<asv@opencascade.com>
Mon, 31 Jul 2006 12:54:21 +0000
(12:54 +0000)
committer
asv
<asv@opencascade.com>
Mon, 31 Jul 2006 12:54:21 +0000
(12:54 +0000)
src/SMESH_I/SMESH_Gen_i.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Gen_i.cxx
b/src/SMESH_I/SMESH_Gen_i.cxx
index 142a908957ffe65d5505d79b0f5904820ddb1d6c..e8ecf556d08f06137bf2e80ea2e96df6b8a5da13 100644
(file)
--- a/
src/SMESH_I/SMESH_Gen_i.cxx
+++ b/
src/SMESH_I/SMESH_Gen_i.cxx
@@
-1261,7
+1261,12
@@
SALOMEDS::TMPFile* SMESH_Gen_i::Save( SALOMEDS::SComponent_ptr theComponent,
//Remove the files if they exist: BugID: 11225
+#ifndef WNT /* unix functionality */
TCollection_AsciiString cmd("rm -f \"");
+#else /* windows */
+ TCollection_AsciiString cmd("del /F \"");
+#endif
+
cmd+=filename;
cmd+="\" \"";
cmd+=meshfile;