kermit bug

Luc Chouinard chouinar at centrcn.umontreal.ca
Tue Jun 11 23:59:11 AEST 1991


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  |
+---------------------------------------------------------+




More information about the Comp.sys.sgi mailing list