Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
Patch utitilities and applying patches
ollydbg:
--- Quote from: ollydbg on July 07, 2012, 05:19:18 pm ---
--- Quote from: oBFusCATed on July 07, 2012, 05:15:56 pm ---ollydbg:
What patch executable are you using?
All I've tried crashed badly when used with linux generated patches.
--- End quote ---
I use the patch command shipped with MSYS.
I always download the MSYS zip file from mingw64 site(some one has maintain a full msys environment which contains everything), see:MSYS-20111123.zip
--- End quote ---
I have one issue about this patch utility in msys:
After applying any patches by this patch utility, all the changed files are having the "LF" EOL, this is not desired, I need to manually change those files to "CR LF" by Notepad++ or other tools.
Jenna:
--- Quote from: ollydbg on August 13, 2012, 05:37:42 pm ---After applying any patches by this patch utility, all the changed files are having the "LF" EOL, this is not desired, I need to manually change those files to "CR LF" by Notepad++ or other tools.
--- End quote ---
Why do you not use C::B for this?
Set line-ending to cr-lf and check "Make EOLs consistent", works best with editor-tweaks-plugin, but should also work with plain editor, if I remember correctly.
ollydbg:
--- Quote from: jens on August 13, 2012, 06:54:41 pm ---
--- Quote from: ollydbg on August 13, 2012, 05:37:42 pm ---After applying any patches by this patch utility, all the changed files are having the "LF" EOL, this is not desired, I need to manually change those files to "CR LF" by Notepad++ or other tools.
--- End quote ---
Why do you not use C::B for this?
Set line-ending to cr-lf and check "Make EOLs consistent", works best with editor-tweaks-plugin, but should also work with plain editor, if I remember correctly.
--- End quote ---
C::B can do this, but I need to open the configure dialog to do this, in notepad++, it is just a menu item, then I can quickly convert the EOL to any types.
I'm not familiar with editor-tweaks-plugin(with the latest nightly build), but I see its dialog only contains one item: see the image below:
I don't know how any other editor-tweak plugin's feature. :)
I think the final solution is patch the "patch utility", and let it handle CR LF correctly. I will report this to their maillist.
Jenna:
Look into "Edit->Editor Tweaks" .
ollydbg:
--- Quote from: jens on August 17, 2012, 06:24:31 am ---Look into "Edit->Editor Tweaks" .
--- End quote ---
Ha, thanks, I would like to suggest adding some sub-menus like:
--- Code: ---Convert to LF(Linux)
Convert to CRLF(Windows)
Convert to CR(Mac)
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version