Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!sunic!unikla!jan From: jan@unikla.ASK.SE (Jan S{ll) Newsgroups: comp.sources.d Subject: Re: Problems with Patch not creating new files Message-ID: <208@unikla.ASK.SE> Date: 30 Apr 91 05:50:33 GMT References: <1991Apr27.150844.5719@telesys.cts.com> Organization: Administration & Systemkonsult AB, Kumla, Sweden Lines: 26 In article <1991Apr27.150844.5719@telesys.cts.com> kreed@telesys.cts.com (Kevin W. Reed) writes: [Text deleted] >But seem to have problems when a patch file attempts to create a new >file (compared against /dev/null). After scanning the sources, it seems >that the code to handle this type of occurance is either missing or >been obliterated. When a new file is encountered, the program simply >asks for "Filename to Patch: " instead of creating the new module. > [Text deleted] I had the same problems a time ago. Then I installed RCS 5.5 and had to get my hand on a GNU diff (version 1.15). I Installed this on all my system and continued to work. Then one day I made a misstake whan I applied patches to one om my programs. I Guess that it is the Gnu diff that create the right format of diffs for the patch program to creat a new file. -- ======================================================================= Jan Saell, ASK (Administration & SystemKonsult AB), Kumla, Sweden Voice: INT+46 19 82515 jan@ask.se or mcvax!sunic!unikla!jan FAX: INT+46 19 60651