<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>KP Solutions &#187; patch</title>
	<atom:link href="http://www.kpsolution.com/blog/tag/patch/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kpsolution.com/blog</link>
	<description>Solutions for Day to Day Technical Problems</description>
	<lastBuildDate>Wed, 14 Sep 2011 19:05:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to generate a patch?</title>
		<link>http://www.kpsolution.com/blog/linux/how-to-generate-a-patch/29/</link>
		<comments>http://www.kpsolution.com/blog/linux/how-to-generate-a-patch/29/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 20:48:57 +0000</pubDate>
		<dc:creator>Ketan Patel</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://www.kpsolution.com/blog/?p=29</guid>
		<description><![CDATA[To generate a patch for your modified code. All you have to do is generate a diff between original and modified source files using the following command and save the output to the patch file. diff -rup /home/ketan/unmodified_source.c /home/ketan/modified_source.c &#62; &#8230; <a href="http://www.kpsolution.com/blog/linux/how-to-generate-a-patch/29/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>To generate a patch for your modified code. All you have to do is generate a diff between original and modified source files using the following command and save the output to the patch file.</p>
<blockquote><p>diff -rup /home/ketan/unmodified_source.c /home/ketan/modified_source.c &gt; patch.source.c</p></blockquote>
<p>Now to apply patch to the original unmodified source. Use the following command from the appropriate location (/home/ketan) in our example.</p>
<blockquote><p>patch -p0 &lt; patch.source.c</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.kpsolution.com/blog/linux/how-to-generate-a-patch/29/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

