Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!gatech!hao!ames!ucbcad!ucbvax!hplabs!hplabsc!daemon From: news@decwrl.DEC.COM (News) Newsgroups: comp.mail.elm Subject: Message-ID: <1838@hplabsc.HP.COM> Date: Mon, 18-May-87 09:13:12 EDT Article-I.D.: hplabsc.1838 Posted: Mon May 18 09:13:12 1987 Date-Received: Tue, 19-May-87 01:43:42 EDT Sender: daemon@hplabsc.HP.COM Reply-To: news@decwrl.DEC.COM (News) Lines: 57 Approved: taylor@hplabs (with 'postmail') well among the graduate students. Again, I don't know why, but I can guess: Path: decwrl!hplabs!hpcea!hpccc!okamoto From: okamoto@hpccc.HP.COM (Jeff Okamoto) Newsgroups: comp.mail.elm Subject: Elm 1.5b savecopy bug Message-ID: <7820001@hpccc.HP.COM> Date: 15 May 87 18:07:28 GMT Organization: Corporate Computing Center Lines: 45 Description: There is a bug in savecopy.c that does not allow a copy of outgoing mail to be saved to a non-existent file. This is due to a mismatch in passed argument types to can_open(). Repeat-By: In $HOME/.elmrc, set copy to ON and savecopy to a non-existent file. elm to anybody. You will get an error message "permission to append to denied! Fix: Pass the correct argument. *** savecopy.old Fri May 15 10:53:40 1987 --- savecopy.c Fri May 15 10:56:15 1987 *************** *** 79,85 strcpy(savename, savefile); } ! if ((errno = can_open(savename, WRITE_ACCESS))) { dprint(2, (debugfile, "Error: attempt to autosave to a file that can't be appended to!\n")); dprint(2, (debugfile, "\tfilename = \"%s\"\n", savename)); --- 79,85 ----- strcpy(savename, savefile); } ! if ((errno = can_open(savename, "a"))) { dprint(2, (debugfile, "Error: attempt to autosave to a file that can't be appended to!\n")); dprint(2, (debugfile, "\tfilename = \"%s\"\n", savename)); ----- The New Number Who, hpccc!okamoto@hplabs.hp.com Jeff Okamoto ..!hplabs!hpccc!okamoto Hewlett-Packard Corporate Computing Center P.S. Steve, please inform the net of the correct mail address to send any future patches to. P.P.S. Thank God for diffc! SysV is brain damaged!