Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!centrcn.umontreal.ca!chouinar From: chouinar@centrcn.umontreal.ca (Luc Chouinard) Newsgroups: comp.sys.sgi Subject: Re: kermit bug Message-ID: <9106111359.AA14249@centrs1.CENTRCN.UMontreal.CA> Date: 11 Jun 91 13:59:11 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The Internet Lines: 34 A simple hack in one of the kermit source file, solves this problem. The opendir(2) call must behave like a BSD. Here's the context diff for the hack: *** ckufio.c Mon Apr 8 16:18:04 1991 --- ckufio.c.old Tue Apr 9 13:34:31 1991 *************** *** 969,975 **** struct path *pl; char *sofar,*endcur; { - #define BSD42 #ifdef BSD42 DIR *fd, *opendir(); struct direct *dirbuf; --- 969,974 ---- *************** *** 1044,1050 **** close(fd); #endif #endif - #undef BSD42 } /* --- 1043,1048 ---- -- +---------------------------------------------------------+ | Luc Chouinard Computer Center | | System Administrator University of Montreal | +---------------------------------------------------------+