Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <200107171249.NAA06357@ireserver.Ireland.Sun.COM> Date: Tue, 17 Jul 2001 13:49:00 +0100 (BST) From: Armin Theissen Reply-To: Armin Theissen Subject: Re: does patch.exe work different than other unx patch tools? To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: cWauI4UqTHA8VUhRtYP1tQ== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc Hi, the patch plainly fails: cd build\wntmsci7.pro && (type ..\..\db-3.2.9.patch | patch -b -p2) && C:\cygnus\CYGWIN~1\H-I586~1\bin\touch.exe so_patched patching file `db-3.2.9/cxx/cxx_app.cpp' Hunk #1 FAILED at 7. 1 out of 1 hunk FAILED -- saving rejects to db-3.2.9/cxx/cxx_app.cpp.rej patching file `db-3.2.9/cxx/cxx_table.cpp' Hunk #1 FAILED at 7. 1 out of 1 hunk FAILED -- saving rejects to db-3.2.9/cxx/cxx_table.cpp.rej patching file `db-3.2.9/dist/Makefile.in' Hunk #1 FAILED at 8. 1 out of 1 hunk FAILED -- saving rejects to db-3.2.9/dist/Makefile.in.rej dmake: Error code 129, while making 'build\wntmsci7.pro\so_patched' ---*TG_SLO.MK*--- a. > From: Corinna Vinschen > > On Tue, Jul 17, 2001 at 10:40:12AM +0100, Armin Theissen wrote: > > > > > > Hi, > > > > I searched the website for this problem, but cannot find anything > > so I want to ask you here. > > > > I have a patch (see attachment, supposed to patch three files down the > > directory tree) which won't work using the patch.exe tool provided with > > cygwin. However, it works perfectly with other patch.exe tools > > (UnxUtils from http://www.edv.agrar.tu-muenchen.de/~syring/win32/UnxUtils.html) > > and on unix systems itself. > > > > I wonder what could make the patch work with the cygwin patching > > tool. > > > > The patch command is 'patch -b -p2' > > > > Any ideas? > > Without details about the error you get from patch? No. > > Corinna > > -- > Corinna Vinschen Please, send mails regarding Cygwin to > Cygwin Developer mailto:cygwin AT cygwin DOT com > Red Hat, Inc. > ----------------------------------------------------------------- Armin dot Theissen at sun dot com phone +353 1 819 9080 SUN Microsystems Ireland (SUN intern 19080) East Point Business Park, Boole House Dublin 3, Rep. of Ireland -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/