Article View: comp.sources.bugs
Article #348Re: REPOST: patch 12u8 to patch, part 02 of 02
From: Chris Sherman
Date: Wed, 16 Sep 1992 03:25
Date: Wed, 16 Sep 1992 03:25
58 lines
2371 bytes
2371 bytes
The repost seems to have a problem too. Here is the error I get:
|diff -C2 -N patch-2.0.12u7/util.c patch-2.0.12u8/util.c
|*** patch-2.0.12u7/util.c Mon Jul 6 15:25:27 1992
|--- patch-2.0.12u8/util.c Mon Sep 14 22:04:46 1992
--------------------------
Patching file util.c using Plan A...
Hunk #1 succeeded at 5.
Hunk #2 succeeded at 40.
Hunk #3 succeeded at 55.
Hunk #4 succeeded at 64.
Hunk #5 succeeded at 76.
Hunk #6 succeeded at 99.
Hunk #7 succeeded at 105.
Hunk #8 succeeded at 123.
Hunk #9 succeeded at 129.
Malformed patch at line 637: ;
Line 637 is the one below that has just a ';' on the line...
I'm guessing that I should delete that line, and the one below it,
and everything will be cool... Is this correct?
***************
*** 136,146 ****
tofd = creat(to, 0666);
if (tofd < 0)
! fatal2("patch: can't create %s.\n", to);
fromfd = open(from, 0);
if (fromfd < 0)
! fatal2("patch: internal error, can't reopen %s\n", from);
while ((i=read(fromfd, buf, sizeof buf)) > 0)
if (write(tofd, buf, i) != i)
! fatal2("patch: write (%s) failed\n", to);
Close(fromfd);
Close(tofd);
--- 152,162 ----
tofd = creat(to, 0666);
if (tofd < 0)
! pfatal2("can't create %s", to);
fromfd = open(from, 0);
if (fromfd < 0)
;
fromfd = open(from, 0);
if (fromfd < 0)
! pfatal2("internal error, can't reopen %s", from);
while ((i=read(fromfd, buf, sizeof buf)) > 0)
if (write(tofd, buf, i) != i)
! pfatal2("write to %s failed", to);
Close(fromfd);
Close(tofd);
--
____/ / / __ / _ _/ ____/
/ / / / / / / Chris Sherman
/ ___ / _/ / /
_____/ __/ __/ __/ _\ _____/ _____/ sherman@unx.sas.com
Technical Details
Message-ID:
<sherman.716613946@foster>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!concert!sas!mozart.unx.sas.com!foster!shermanReferences:
<DJM.92Sep15160742@nutrimat.gnu.ai.mit.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sources.bugs Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!concert!sas!mozart.unx.sas.com!foster!sherman From: sherman@unx.sas.com (Chris Sherman) Subject: Re: REPOST: patch 12u8 to patch, part 02 of 02 Sender: news@unx.sas.com (Noter of Newsworthy Events) Message-ID: <sherman.716613946@foster> Date: Wed, 16 Sep 1992 03:25:46 GMT References: <DJM.92Sep15160742@nutrimat.gnu.ai.mit.edu> Nntp-Posting-Host: foster.unx.sas.com Organization: SAS Institute Inc. Lines: 58