www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/05/12:15:40

Date: Mon, 5 Jan 1998 19:12:42 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Robert Hoehne <robert DOT hoehne AT gmx DOT net>
cc: Myknees <myknees AT aol DOT com>, djgpp AT delorie DOT com
Subject: Re: LD looks at zip drive
In-Reply-To: <34AFD926.4539DE16@gmx.net>
Message-ID: <Pine.SUN.3.91.980105190959.768D-100000@is>
MIME-Version: 1.0

On Sun, 4 Jan 1998, Robert Hoehne wrote:

> But now, after I rebuild the binutils, I got (like Ed too) an other
> problem. When I made the port, I had patch version 2.1 or so installed
> which worked ok, but with the current patch version 2.5 it will not
> work, except you give on commandline the "-p 0" switch. This might be
> a bug in patch or feature of it.

It's a feature.  POSIX requires `patch' to behave so that you need to use 
-p0 whenever you want it to use the exact file name, including any 
leading directories, that the diff mentions.  Versions of `patch' before 
2.4 were non-POSIX.

> And as a last note: The next time I will try to make a port which is
> ready to compile, but this will need more work.
                        ^^^^^^^^^^^^^^^^^^^^^^^^
Boy, do I know about that!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019