[comp.os.minix] An

housel@en.ecn.purdue.edu (Peter S. Housel) (07/22/89)

	Thanks to Ian Stewartson, gis@datlog.cu.uk, for finding this
bug. It may clear up some of the problems people are having with
the system hanging up when it is done.

-Peter S. Housel-	housel@ecn.purdue.edu		...!pur-ee!housel

*** newgpkt.c~	Fri Jul 21 18:00:03 1989
--- newgpkt.c	Fri Jul 21 18:01:02 1989
***************
*** 8,14 ****
   * Redistribution for any purpose is permitted provided this message
   * is included intact. No warranty of any sort is provided.
   *
!  * newgpkt version 1.0 1/5/89
   */
  
  /* This program was written based on the original UUPC 'g' driver,
--- 8,14 ----
   * Redistribution for any purpose is permitted provided this message
   * is included intact. No warranty of any sort is provided.
   *
!  * newgpkt version 1.1 7/21/89
   */
  
  /* This program was written based on the original UUPC 'g' driver,
***************
*** 349,355 ****
  			      {
  				case X_CLOSE:
  					printmsg(M_MEDPROTO, "* CLOSE *");
! 					gsendpk(TT_CTRL, X_CLOSE, 0, NULL, 0);
  					chanopen = 0;
  					if(OP_CLOSE == why)
  					   return 0;	/* expected? */
--- 349,355 ----
  			      {
  				case X_CLOSE:
  					printmsg(M_MEDPROTO, "* CLOSE *");
! 					gspack(TT_CTRL, X_CLOSE, 0, NULL, 0);
  					chanopen = 0;
  					if(OP_CLOSE == why)
  					   return 0;	/* expected? */