This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
does patch.exe work different than other unx patch tools?
- To: cygwin at cygwin dot com
- Subject: does patch.exe work different than other unx patch tools?
- From: Armin Theissen <Armin dot Theissen at Sun dot COM>
- Date: 2001年7月17日 10:40:12 +0100 (BST)
- Reply-To: Armin Theissen <Armin dot Theissen at Sun dot COM>
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
*** ./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 <cstdarg>
+
#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 <cstdarg>
+
#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@
--
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/