faqts : Computers : Programming : Languages : PHP : Not Quite PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

7 of 12 people (58%) answered Yes
Recently 3 of 6 people (50%) answered Yes

Entry

Why is my source code patch file rejected?
What is the patch program?

Mar 28th, 2008 17:28
ha mo, Nathan Wallace, Kim Shrier


The patch program looks at the patch file and makes sure that it matches
the file being patched.  

For example, a patch file might contain 2 changes where the first one
changes a CVS revision ID line, and the second one deletes a line
containing "free(field_name);".

The lines that change are preceeded by a + or - to indicate if the
specified line should be inserted or deleted.

If your source code patch file is being rejected, you should look at the
patch file and then look at the source file and see if they match up.



http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com