[BACK]Return to tn3270.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / telnet

Diff for /src/usr.bin/telnet/Attic/tn3270.c between version 1.1 and 1.2

version 1.1, 1995/10/18 08:46:15 version 1.2, 1996/03/27 19:33:12
Line 1 
Line 1 
   /*      $OpenBSD$       */
   /*      $NetBSD: tn3270.c,v 1.5 1996/02/28 21:04:18 thorpej Exp $       */
   
 /*  /*
  * Copyright (c) 1988, 1993   * Copyright (c) 1988, 1993
  *      The Regents of the University of California.  All rights reserved.   *      The Regents of the University of California.  All rights reserved.
Line 32 
Line 35 
  */   */
   
 #ifndef lint  #ifndef lint
 /* from: static char sccsid[] = "@(#)tn3270.c   8.1 (Berkeley) 6/6/93"; */  #if 0
 static char *rcsid = "$Id$";  static char sccsid[] = "@(#)tn3270.c    8.2 (Berkeley) 5/30/95";
   static char rcsid[] = "$NetBSD: tn3270.c,v 1.5 1996/02/28 21:04:18 thorpej Exp $";
   #else
   static char rcsid[] = "$OpenBSD$";
   #endif
 #endif /* not lint */  #endif /* not lint */
   
 #include <sys/types.h>  #include <sys/types.h>
Line 243 
Line 250 
     if (save) {      if (save) {
         if (Ifrontp+save > Ibuf+sizeof Ibuf) {          if (Ifrontp+save > Ibuf+sizeof Ibuf) {
             if (Ibackp != Ibuf) {              if (Ibackp != Ibuf) {
                 memcpy(Ibuf, Ibackp, Ifrontp-Ibackp);                  memmove(Ibuf, Ibackp, Ifrontp-Ibackp);
                 Ifrontp -= (Ibackp-Ibuf);                  Ifrontp -= (Ibackp-Ibuf);
                 Ibackp = Ibuf;                  Ibackp = Ibuf;
             }              }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2