Linefeed symbols appear in notepad
Bug #110901 reported by
Matthew Steeples
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Alexander Belchenko |
Bug Description
On Win32 0.16rc1:
In a branch, make some changes and then run bzr --commit
In the notepad window that pops up, the entire file is on one line and the squares appear where CR+LF would usually be. I don't know if this is an actual problem for checking in (I'm guessing not) but it doesn't look too pretty.
Windows XP SP2
This used to work in 0.14 and before (didn't get chance to try 0.15)
Related branches
lp:~bialix/bzr/win32.fixes
(Merged)
To post a comment you must log in.
Confirmed. This is regression.
Actually bug in the code that write commit template to the file. Now it use unix line-endings (LF-only), but notepad don't understand this. It requires CRLF.
To fix problem need to change code that open file before write: mode should be 'w' not 'wb'.