1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-14 20:45:22 +02:00

[206642] dstore bug fixes merged to open rse

This commit is contained in:
David McKnight 2007-10-17 16:18:54 +00:00
parent 9b3d89b110
commit 17fc645844
2 changed files with 9 additions and 6 deletions

View file

@ -3962,8 +3962,8 @@ public final class DataStore
{ {
// dy: the call to flush deletes all the elements in the tree // dy: the call to flush deletes all the elements in the tree
// which causes havoc for iSeries caching when switching between offline / online // which causes havoc for iSeries caching when switching between offline / online
if (isVirtual()) //if (isVirtual())
flush(); // flush();
if (_tracingOn) if (_tracingOn)

View file

@ -293,11 +293,14 @@ public class ServerLauncher extends Thread {
_errReader = new BufferedReader(new InputStreamReader(_serverProcess.getErrorStream())); _errReader = new BufferedReader(new InputStreamReader(_serverProcess.getErrorStream()));
BufferedWriter inWriter = new BufferedWriter(new OutputStreamWriter(_serverProcess.getOutputStream())); BufferedWriter inWriter = new BufferedWriter(new OutputStreamWriter(_serverProcess.getOutputStream()));
// write password // write password
inWriter.write(password); if (password != null)
inWriter.newLine(); {
inWriter.flush(); inWriter.write(password);
inWriter.newLine();
inWriter.flush();
launchStatus = _outReader.readLine(); launchStatus = _outReader.readLine();
}
} }
else else
{ {