Wierd patch problem + simple fix

Uwe H. Steinfeld usteinfeld@gmx.net
Mon May 22 09:41:00 GMT 2000


----- Original Message -----
From: Chris Faylor <cgf@cygnus.com>
To: <cygwin@sourceware.cygnus.com>
Sent: Monday, May 22, 2000 12:34 AM
Subject: Re: Wierd patch problem + simple fix


> On Sun, May 21, 2000 at 02:57:25PM +0200, Corinna Vinschen wrote:
> >I'm completely unable to reproduce that problem...
> >
> >...as far as the $TMP directory is on the same drive
> >   as the patched file!
> >
>
> But I really can't believe that this is a generic patch bug.
> /tmp is often located on a different partition than a 'src'
> directory and it is hard to believe that this could be broken
> in patch.
>
> Is it possible that some stat (st_dev maybe?) field has changed
> recently?
>
> cgf
>

The following worked for me when I had the same problem with /tmp on a
different drive:

   Include the file rename.c in the building process.

or as a patch for Makefile.in

--- Makefile.in Thu Jul 10 11:20:52 1997
+++ Makefile.in
@@ -57,9 +57,9 @@
 SHELL = /bin/sh

 LIBSRCS = getopt.c getopt1.c memchr.c rename.c
-SRCS = addext.c argmatch.c backupfile.c basename.c inp.c maketime.c \
+SRCS = addext.c argmatch.c backupfile.c basename.c inp.c maketime.c
rename.c \
  partime.c patch.c pch.c quotearg.c util.c version.c $(LIBSRCS)
-OBJS = addext.o argmatch.o backupfile.o basename.o inp.o maketime.o \
+OBJS = addext.o argmatch.o backupfile.o basename.o inp.o maketime.o
rename.o \
  partime.o patch.o pch.o quotearg.o util.o version.o $(LIBOBJS)
 HDRS = argmatch.h backupfile.h common.h getopt.h \
  inp.h maketime.h partime.h pch.h quotearg.h util.h version.h

Greetings
Uwe



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list