Subject: Re: Kermit and RTS/CTS flow control
To: None <Mike.Long@analog.com>
From: Mike Long <mike.long@analog.com>
List: current-users
Date: 05/06/1994 09:53:49
The following patches make C-Kermit 5A(190) of April 10 work for me.

*** ckutio.c.orig	Mon Apr  4 09:41:40 1994
--- ckutio.c	Sat Apr 30 00:15:33 1994
***************
*** 6991,6998 ****
   * systems that don't fit any of these three cases, we simply can't support
   * set-UID.
   */
! #define switchuid(hidden,active)	setuid(active)
! #define switchgid(hidden,active)	setgid(active)
  #endif /* SETREUID */
    
  
--- 6991,6998 ----
   * systems that don't fit any of these three cases, we simply can't support
   * set-UID.
   */
! #define switchuid(hidden,active)	seteuid(active)
! #define switchgid(hidden,active)	setegid(active)
  #endif /* SETREUID */
    
  
*** ckcdeb.h.orig	Sun Apr 10 18:37:03 1994
--- ckcdeb.h	Fri May  6 01:48:55 1994
***************
*** 1093,1098 ****
--- 1093,1101 ----
    bit(s), seems to be gaining currency on POSIX-based UNIX systems.  The
    following code defines the symbol POSIX_CRTSCTS for such systems.
  */
+ #ifdef __NetBSD__			/* NetBSD */
+ #define POSIX_CRTSCTS
+ #endif
  #ifdef __bsdi__				/* BSDI, a.k.a. BSD/386 */
  #define POSIX_CRTSCTS
  #endif /* __bsdi__ */



-- 
Mike Long                                         Mike.Long@Analog.com
VLSI Design Engineer
Analog Devices, SPD Division
Norwood, MA 02062 USA                assert(*this!=opinionof(Analog));

------------------------------------------------------------------------------