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

Diff for /src/usr.bin/sudo/Attic/tgetpass.c between version 1.10 and 1.11

version 1.10, 2004/09/28 15:10:51 version 1.11, 2007/07/26 16:10:16
Line 1 
Line 1 
 /*  /*
  * Copyright (c) 1996, 1998-2004 Todd C. Miller <Todd.Miller@courtesan.com>   * Copyright (c) 1996, 1998-2005 Todd C. Miller <Todd.Miller@courtesan.com>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 22 
Line 22 
 # include <floss.h>  # include <floss.h>
 #endif  #endif
   
 #include "config.h"  #include <config.h>
   
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/param.h>  #include <sys/param.h>
Line 70 
Line 70 
 #include "sudo.h"  #include "sudo.h"
   
 #ifndef lint  #ifndef lint
 static const char rcsid[] = "$Sudo: tgetpass.c,v 1.111 2004/06/06 23:58:11 millert Exp $";  __unused static const char rcsid[] = "$Sudo: tgetpass.c,v 1.111.2.2 2007/06/12 01:26:35 millert Exp $";
 #endif /* lint */  #endif /* lint */
   
 #ifndef TCSASOFT  #ifndef TCSASOFT
Line 97 
Line 97 
 # define TERM                   termios  # define TERM                   termios
 # define tflags                 c_lflag  # define tflags                 c_lflag
 # define term_getattr(f, t)     tcgetattr(f, t)  # define term_getattr(f, t)     tcgetattr(f, t)
 # define term_setattr(f, t)     tcsetattr(f, TCSAFLUSH|TCSASOFT, t)  # define term_setattr(f, t)     tcsetattr(f, TCSADRAIN|TCSASOFT, t)
 #else  #else
 # ifdef HAVE_TERMIO_H  # ifdef HAVE_TERMIO_H
 # define TERM                   termio  # define TERM                   termio

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11