OSDN Git Service
(root)
/
winmerge-jp
/
winmerge-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11770c7
)
Fix a bug in ConflictFileParser - it created extra EOL chars as it opened files in...
author
Kimmo Varis
<kimmov@gmail.com>
Tue, 22 Jan 2008 14:26:00 +0000
(14:26 +0000)
committer
Kimmo Varis
<kimmov@gmail.com>
Tue, 22 Jan 2008 14:26:00 +0000
(14:26 +0000)
Src/ConflictFileParser.cpp
patch
|
blob
|
history
diff --git
a/Src/ConflictFileParser.cpp
b/Src/ConflictFileParser.cpp
index
94793fe
..
aa19d64
100644
(file)
--- a/
Src/ConflictFileParser.cpp
+++ b/
Src/ConflictFileParser.cpp
@@
-56,8
+56,8
@@
bool ParseConflictFile(const String &conflictFileName,
BOOL success = conflictFile.OpenReadOnly(conflictFileName.c_str());
// Create output files
- BOOL success2 = workingCopy.Open(workingCopyFileName.c_str(), _T("w"));
- BOOL success3 = newRevision.Open(newRevisionFileName.c_str(), _T("w"));
+ BOOL success2 = workingCopy.Open(workingCopyFileName.c_str(), _T("w
b
"));
+ BOOL success3 = newRevision.Open(newRevisionFileName.c_str(), _T("w
b
"));
state = 0;
BOOL linesToRead = TRUE;