~ubuntu-branches/ubuntu/natty/sudo/natty

« back to all changes in this revision

Viewing changes to tgetpass.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2008-08-06 10:41:58 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080806104158-dxn13ai2wcln5g3j
Tags: 1.6.9p17-1ubuntu1
* Merge from debian unstable, remaining changes:
 - debian/rules: Disable lecture, enable tty_tickets by default. (Ubuntu
   specific)
 - Add debian/sudo_root.8: Explanation of root handling through sudo.
   Install it in debian/rules. (Ubuntu specific)
 - sudo.c: If the user successfully authenticated and he is in the 'admin'
   group, then create a stamp ~/.sudo_as_admin_successful. Our default bash
   profile checks for this and displays a short intro about sudo if the
   flag is not present. (Ubuntu specific)
 - env.c: Add "http_proxy" to initial_keepenv_table, so that it is kept
   for "sudo apt-get ...". (Ubuntu specific EBW hack, should disappear at
   some point)
* debian/{rules,postinst,sudo-ldap.postinst}: Disable init script
  installation. Debian reintroduced it because /var/run tmpfs is not the
  default there, but has been on Ubuntu for ages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
#include "sudo.h"
71
71
 
72
72
#ifndef lint
73
 
__unused static const char rcsid[] = "$Sudo: tgetpass.c,v 1.111.2.6 2008/01/16 18:03:24 millert Exp $";
 
73
__unused static const char rcsid[] = "$Sudo: tgetpass.c,v 1.111.2.7 2008/06/21 00:27:01 millert Exp $";
74
74
#endif /* lint */
75
75
 
76
76
#ifndef TCSASOFT
89
89
#endif
90
90
 
91
91
/*
92
 
 * QNX 6 (at least) has issues with TCSAFLUSH.
93
 
 */
94
 
#ifdef __QNX__
95
 
#undef TCSAFLUSH
96
 
#define TCSAFLUSH       TCSADRAIN
97
 
#endif
98
 
 
99
 
/*
100
92
 * Compat macros for non-termios systems.
101
93
 */
102
94
#ifndef HAVE_TERMIOS_H