Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 30 Sep 2005 11:25:34 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: A problem with the patch utility and windows paths. In-Reply-To: <20050930150119.GA13432@trixie.casa.cgf.cx> Message-ID: References: <0MKoyl-1ELLn227mi-00028n AT mrelay DOT perfora DOT net> <20050930150119 DOT GA13432 AT trixie DOT casa DOT cgf DOT cx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 30 Sep 2005, Christopher Faylor wrote: > [Ugh. Duplicate response. Duly noted.] Yes, it is. And within 5.5 minutes, no less. Shouldn't there be a grace period? :-) > On Fri, Sep 30, 2005 at 10:36:55AM -0400, Christopher Faylor wrote: ^^^^^^^^ > >If you're attempting to have patch interpret the paths in the patch > >file then, as Eric said, you need to specify the "-p" option. In the > >above case, specifying "patch -p0 <1.tm" will cause old/file to be > >patched. This is the case on both linux and cygwin. > > On Fri, Sep 30, 2005 at 10:42:13AM -0400, Igor Pechtchanski wrote: ^^^^^^^^ > >You need to use "patch -p0 <1.tm". FWIW, my response did ask the OP why he thought Windows paths were an issue, as well as having a thinly veiled RTFM... :-) Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. /DA -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/