This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: does patch.exe work different than other unx patch tools?



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 <cygwin@cygwin.com>
> 
> 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@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]