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: <200107170940.KAA15755@ireserver.Ireland.Sun.COM> Date: Tue, 17 Jul 2001 10:40:12 +0100 (BST) From: Armin Theissen Reply-To: Armin Theissen Subject: does patch.exe work different than other unx patch tools? To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: MULTIPART/mixed; BOUNDARY=Band_of_Gorillas_652_000 X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc --Band_of_Gorillas_652_000 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: p1zlDNTor9ir/steJe6/eA== 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? thanks armin ----------------------------------------------------------------- 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 ----------------------------------------------------------------- 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 --Band_of_Gorillas_652_000 Content-Type: TEXT/plain; name="db-3.2.9.patch"; charset=us-ascii; x-unix-mode=0644 Content-Description: db-3.2.9.patch Content-MD5: C1n7XEjvsrwjFhhlNAoysQ== *** ./unxsols3.pro/misc/db-3.2.9/cxx/cxx_app.cpp Thu Jan 11 19:28:22 2001 --- build/unxsols3.pro/db-3.2.9/cxx/cxx_app.cpp Mon Jun 11 15:50:55 2001 *************** *** 7,12 **** --- 7,14 ---- #include "db_config.h" + #include + #ifndef lint static const char revid[] = "$Id: cxx_app.cpp,v 11.38 2000/12/21 20:30:18 dda Exp $"; #endif /* not lint */ *** ./unxsols3.pro/misc/db-3.2.9/cxx/cxx_table.cpp Thu Jan 11 19:28:22 2001 --- build/unxsols3.pro/db-3.2.9/cxx/cxx_table.cpp Mon Jun 11 15:51:59 2001 *************** *** 7,12 **** --- 7,14 ---- #include "db_config.h" + #include + #ifndef lint static const char revid[] = "$Id: cxx_table.cpp,v 11.35 2001/01/11 18:19:49 bostic Exp $"; #endif /* not lint */ *** ./unxsols3.pro/misc/db-3.2.9/dist/Makefile.in Fri Dec 1 00:07:33 2000 --- build/unxsols3.pro/db-3.2.9/dist/Makefile.in Mon Jun 11 15:39:41 2001 *************** *** 8,14 **** ################################################## CPPFLAGS= -I$(builddir) -I$(srcdir)/include @CPPFLAGS@ CFLAGS= -c $(CPPFLAGS) @CFLAGS@ ! CXXFLAGS= -c $(CPPFLAGS) @CXXFLAGS@ CC= @MAKEFILE_CC@ CCLINK= @MAKEFILE_CCLINK@ --- 8,14 ---- ################################################## CPPFLAGS= -I$(builddir) -I$(srcdir)/include @CPPFLAGS@ CFLAGS= -c $(CPPFLAGS) @CFLAGS@ ! CXXFLAGS= -c $(SOLARINC) $(CPPFLAGS) @CXXFLAGS@ CC= @MAKEFILE_CC@ CCLINK= @MAKEFILE_CCLINK@ --Band_of_Gorillas_652_000 Content-Type: text/plain; charset=us-ascii -- 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/ --Band_of_Gorillas_652_000--