Author Topic: How do I actually install patch after I download it?  (Read 4669 times)

Offline cgm225

  • Newbie
  • *
  • Posts: 2
How do I actually install patch after I download it?
« on: May 05, 2007, 09:27:30 AM »
I am having the problem that mail forwarded from my groupwise account at school has a blank body (though when click "show source" the body of the message does appear in there). Therefore, I was going to install the "Patch for incorrect HTML message display" to see if that helped, but when I downloaded the patch file from sourceforge it had no extension or instructions on how to install.

My questions: (1) How do I install the "Patch for incorrect HTML message display?" (2) Why do some e-mails forwarded to me have a blank body even though the body is present in the source?

 

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: How do I actually install patch after I download it?
« Reply #1 on: May 05, 2007, 05:10:10 PM »
If you open the patch file, it should show something like the following:

Code: [Select]
--- some/path/to/some/file.ext
+++ some/path/to/some/file.ext

- if($var)
- {
-  echo $val;
- }
+ if($var && ($var & $var2))
+ {
+  if($val != '')
+   echo $val;
+
+  echo $var2
+ }

Essentially, it tells you that you need to (-) remove or (+) add lines to the specified file.

Hope that helps. If that's not it, try opening the file in a text editor, and viewing its contents. If you don't understand it, paste the code here.