Path: utzoo!attcan!uunet!mcsun!hp4nl!dutrun!johan From: johan@dutnak2.UUCP Newsgroups: comp.protocols.appletalk Subject: Re: New CAP? Error -39 Message-ID: <926@dutrun.UUCP> Date: 8 Oct 89 13:16:39 GMT References: <923@dutrun.UUCP> Sender: tnaknws@dutrun.UUCP Reply-To: johan@dutnak2.UUCP (Johan de Haas) Organization: Delft University of Technology, The Netherlands Lines: 44 > 2) Error 39 when opening e.g. MacDrawII 1.1 and WriteNow 2.0 > files. I don't know if this is a general CAP problem or only > on some machines. Anyway, I got help from GertJan Stil > (nikhefk, Amsterdam) who sent me a patch. We didn't implement > it yet, but he says it worked for him. If people are > interested, let me know, and I'll post it to this newsgroup. Below follows the patch that supposedly fixes this problem. The file that has to be altered is afpos.c. When compiling this file, use the option "-Deof_check" *** /tmp/,RCSt1007245 Thu Sep 28 11:33:58 1989 --- afpos.c Thu Sep 28 11:31:55 1989 *************** *** 904,914 int trans_table_index; { register char c; int cnt,i; ! #ifdef notdef /* want to probe for eof -- probably there */ if (reqcnt == 0) { *rl = 0; return(noErr); } --- 904,914 ----- int trans_table_index; { register char c; int cnt,i; ! #ifdef eof_check /* want to probe for eof -- probably there */ if (reqcnt == 0) { *rl = 0; return(noErr); } Good luck