summaryrefslogtreecommitdiffstats
path: root/src/util/pty/open_ctty.c
Commit message (Collapse)AuthorAgeFilesLines
* Move pty library from util/pty to appl/libpty; update Makefile.in andKen Raeburn2006-04-111-67/+0
| | | | | | configure.in files accordingly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17887 dc483132-0cff-0310-8789-dd5450dbe970
* Include "com_err.h" instead of <com_err.h>Ken Raeburn2002-06-131-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14503 dc483132-0cff-0310-8789-dd5450dbe970
* * cleanup.c: Call update_utmp() with the correct pid to assist inTom Yu2001-05-081-21/+23
| | | | | | | | | | | | | | | | | | | finding the old utmp entry. * open_ctty.c: Reformat somewhat and revise comment. * open_slave.c: Rework significantly. Primarily, keep a fd open to the slave if we need to reopen the slave device following vhangup() or revoke(), to accommodate various OS quirks. * update_utmp.c: Revise history section somewhat to document more HP-UX brokenness. Search via ut_pid before searching via ut_line. Copy stuff around because entuxent() will clobber some things. * void_assoc.c: Revise comment and reformat somewhat. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13234 dc483132-0cff-0310-8789-dd5450dbe970
* copyright notice updates from 1.1 branchKen Raeburn1999-09-241-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11853 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to help streams work correctly on AIX 4.1.4 and HPUX 9.Sam Hartman1996-03-251-14/+2
| | | | | | | Adapted loosly from 1837 in krb5-bugs, although I ended up not using any of Doug's code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7708 dc483132-0cff-0310-8789-dd5450dbe970
* Mainline utmp and login cleanups from hartmans_pty_utmp:Sam Hartman1996-01-191-3/+0
| | | | | | | | * Fix utmp handling on Solaris for wtmpx records * Replace krlogin's SIGURG handler with a call to select squashing Solaris ctrl-c bug * Fix utmp on systems without pututline so ttyslot is only used when it works git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7338 dc483132-0cff-0310-8789-dd5450dbe970
* Changes for Solaris and UltrixSam Hartman1995-08-111-3/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6508 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: use libupdate so to not get multiple copies ofTom Yu1995-08-041-1/+1
| | | | | | | | | | | | | | | | | | object files upon rebuild. * vhangup.c (ptyint_vhangup): Make sure preprocessor directives are at left margin. * open_slave.c (pty_open_slave): Make sure preprocessor directives are at left margin. * open_ctty.c (pty_open_ctty): Make sure preprocessor directives are at left margin. * cleanup.c (pty_cleanup): Add missing declarations for retval and fd. Also, align preprocessor directives with left margin. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6421 dc483132-0cff-0310-8789-dd5450dbe970
* Fix up Copyright notice to have correct year (1995 instead of 1990)Theodore Tso1995-08-041-14/+11
| | | | | | | Remove #include of mit-copyright.h, since we don't include it and its legal value is pretty dubious anyway. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6409 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo TIOCSTTY to TIOCSCTTY in ioctlEzra Peisach1995-08-011-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6373 dc483132-0cff-0310-8789-dd5450dbe970
* Check in first version of libptySam Hartman1995-07-311-0/+79
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6370 dc483132-0cff-0310-8789-dd5450dbe970