Author Topic: Patching files  (Read 4211 times)

Offline matt2minger

  • Newbie
  • *
  • Posts: 7
Patching files
« on: September 05, 2006, 11:54:48 AM »
Hi Guys,

i am a noob to this patching thing, i was wondering if anyone can recomend any software to use so that i can apply the password change patch to roundcube,

Cheers
Wellsy

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: Patching files
« Reply #1 on: September 07, 2006, 02:04:33 PM »
Don't know of any Windows programs that would do this, but the patch file isn't that difficult to navigate. Here's some light reading on the file: How to patch a file in Linux

Here's the quick down and dirty information:
--- The original file to be patched (modified) [ may have version information ]
+++ The new file name after patching [ typically the same name ]
@@ Designates a "chunk" to be patched (helps in locating proper placement in file)
- Removal of that specific line
+ Addition of that specific line

***Note: An empty column (i.e. no + or - sign) means that the line doesn't change***

I'm working on something to write out steps for patch files so people can use them on non-linux systems. So far, I've got some of it working, not all of it. If I get it working (as I want) I'll upload it for those to use.