<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.pchero21.com/index.php?action=history&amp;feed=atom&amp;title=Patch</id>
	<title>Patch - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.pchero21.com/index.php?action=history&amp;feed=atom&amp;title=Patch"/>
	<link rel="alternate" type="text/html" href="http://wiki.pchero21.com/index.php?title=Patch&amp;action=history"/>
	<updated>2026-04-19T01:19:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>http://wiki.pchero21.com/index.php?title=Patch&amp;diff=1282&amp;oldid=prev</id>
		<title>Pchero at 14:31, 25 July 2016</title>
		<link rel="alternate" type="text/html" href="http://wiki.pchero21.com/index.php?title=Patch&amp;diff=1282&amp;oldid=prev"/>
		<updated>2016-07-25T14:31:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:31, 25 July 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l32&quot;&gt;Line 32:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;linux&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;command/utility&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pchero</name></author>
	</entry>
	<entry>
		<id>http://wiki.pchero21.com/index.php?title=Patch&amp;diff=732&amp;oldid=prev</id>
		<title>Pchero: Created page with &quot;== Overview == Linux utility patch 사용법 정리.  == Basic == &lt;pre&gt;        patch [options] [originalfile [patchfile]]         but usually just         patch -pnum &lt;patchfi...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.pchero21.com/index.php?title=Patch&amp;diff=732&amp;oldid=prev"/>
		<updated>2016-02-23T10:33:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Overview == Linux utility patch 사용법 정리.  == Basic == &amp;lt;pre&amp;gt;        patch [options] [originalfile [patchfile]]         but usually just         patch -pnum &amp;lt;patchfi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Overview ==&lt;br /&gt;
Linux utility patch 사용법 정리.&lt;br /&gt;
&lt;br /&gt;
== Basic ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
       patch [options] [originalfile [patchfile]]&lt;br /&gt;
&lt;br /&gt;
       but usually just&lt;br /&gt;
&lt;br /&gt;
       patch -pnum &amp;lt;patchfile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== -p ==&lt;br /&gt;
-p 옵션은 패치 적용의 Depth 를 지정하는 옵션이다. 패치파일을 살펴보면 제일 윗줄에 다음과 같이 파일에 관한 정보가 나타나있다. 여기에 맞춰서 -p 옵션을 이용해여 Depth 를 조절하여 패치 파일을 적용하면 된다.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--- config/util/lndir.c     (revision 9)&lt;br /&gt;
+++ config/util/lndir.c     (working copy)&lt;br /&gt;
@@ -222,6 +222,8 @@ &lt;br /&gt;
                        continue;&lt;br /&gt;
                    if (!strcmp (dp-&amp;gt;d_name, &amp;quot;CVS.adm&amp;quot;))&lt;br /&gt;
                        continue;&lt;br /&gt;
+                   if (!strcmp (dp-&amp;gt;d_name, &amp;quot;.svn&amp;quot;))&lt;br /&gt;
+                       continue;&lt;br /&gt;
                }&lt;br /&gt;
                ocurdir = rcurdir;&lt;br /&gt;
                rcurdir = buf; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
만약 현재 디렉토리에서 적용시킨다면, 다음과 같이 한다.&lt;br /&gt;
&amp;lt;source lang=bash&amp;gt;&lt;br /&gt;
$ patch -p0 &amp;lt; /path/to/lndir.diff &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[category:linux]]&lt;/div&gt;</summary>
		<author><name>Pchero</name></author>
	</entry>
</feed>