Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2008-06-26 19:50:45 +0000
committereutarass2008-06-26 19:50:45 +0000
commit7ba260bae4d8f357d56a8810066fe089a5d26ba1 (patch)
tree2467a1edb7b95ab073ea29cd2f6619c91632cff8 /plugins/org.eclipse.tm.tcf.debug.ui
parent22448ad8dad9f5ef72c65700bfaf86913effb051 (diff)
downloadorg.eclipse.tcf-7ba260bae4d8f357d56a8810066fe089a5d26ba1.tar.gz
org.eclipse.tcf-7ba260bae4d8f357d56a8810066fe089a5d26ba1.tar.xz
org.eclipse.tcf-7ba260bae4d8f357d56a8810066fe089a5d26ba1.zip
Bug 232157: [tcf][api] FileSystem open flags: Add TCF_ prefix to TCF File System Service O_ flags to prevent a potential conflict with libc definitions
Diffstat (limited to 'plugins/org.eclipse.tm.tcf.debug.ui')
-rw-r--r--plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/launch/TCFSelfTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/launch/TCFSelfTest.java b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/launch/TCFSelfTest.java
index ea790e6a3..aedc05233 100644
--- a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/launch/TCFSelfTest.java
+++ b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/launch/TCFSelfTest.java
@@ -1364,7 +1364,7 @@ class TCFSelfTest {
}
else {
file_name = tmp_path + "/tcf-test-" + (file_count++) + ".tmp";
- files.open(file_name, IFileSystem.O_CREAT | IFileSystem.O_TRUNC | IFileSystem.O_WRITE, null, this);
+ files.open(file_name, IFileSystem.TCF_O_CREAT | IFileSystem.TCF_O_TRUNC | IFileSystem.TCF_O_WRITE, null, this);
}
}
@@ -1437,7 +1437,7 @@ class TCFSelfTest {
Protocol.invokeLater(new Runnable() {
public void run() {
state = STATE_INP;
- files.open(file_name, IFileSystem.O_READ, null, TestFileSystem.this);
+ files.open(file_name, IFileSystem.TCF_O_READ, null, TestFileSystem.this);
}
});
}
@@ -1505,11 +1505,11 @@ class TCFSelfTest {
}
else if (state == STATE_WRITE) {
state = STATE_READ;
- files.open(file_name, IFileSystem.O_READ, null, this);
+ files.open(file_name, IFileSystem.TCF_O_READ, null, this);
}
else if (state == STATE_READ) {
state = STATE_OUT;
- files.open(file_name, IFileSystem.O_WRITE, null, this);
+ files.open(file_name, IFileSystem.TCF_O_WRITE, null, this);
}
else {
assert false;

Back to the top