summaryrefslogtreecommitdiffstats
path: root/src/util/pty/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Move pty library from util/pty to appl/libpty; update Makefile.in andKen Raeburn2006-04-111-950/+0
| | | | | | configure.in files accordingly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17887 dc483132-0cff-0310-8789-dd5450dbe970
* Add prerequisites for some header checks to avoid "present but cannotTom Yu2006-04-051-0/+4
| | | | | | be compiled" warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17856 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Always provide three arguments to AC_DEFINEKen Raeburn2006-03-311-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17820 dc483132-0cff-0310-8789-dd5450dbe970
* * pty-int.h: Include autoconf.hKen Raeburn2006-03-301-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17804 dc483132-0cff-0310-8789-dd5450dbe970
* Instead of arbitrary division of headers into include and include/krb5, withKen Raeburn2006-03-111-0/+4
| | | | | | | | | | | | include directives sometimes using krb5/foo.h and sometimes using foo.h, and -I options always given for both directories in both source and build trees, push include/krb5/* up a level and drop the krb5 directory (except, for the moment, the change log). Updated #include directives, -I options, and dependencies accordingly, and deleted one or two bits of old, unused code that was noticed in the process. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17730 dc483132-0cff-0310-8789-dd5450dbe970
* All configure.in scripts: Use K5_AC_INIT instead of AC_INITKen Raeburn2005-08-201-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17342 dc483132-0cff-0310-8789-dd5450dbe970
* Better support for using libutil on systems that need it for variousTom Yu2004-09-221-0/+4
| | | | | | pty-related functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16777 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Only sanity-check setutent() API if there is noTom Yu2004-07-301-0/+6
| | | | | | | | | utmpx.h, since some setutent() implementations aren't sysV-derived, e.g., NetBSD. ticket: 2432 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16633 dc483132-0cff-0310-8789-dd5450dbe970
* * pty-int.h: Include port-sockets.h instead of netdb.h and netinet/in.hKen Raeburn2004-07-161-0/+5
| | | | | | | ticket: 2379 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16609 dc483132-0cff-0310-8789-dd5450dbe970
* Purge make targets and variables (and a few files) relating to the old,Ken Raeburn2004-06-171-0/+4
| | | | | | unmaintained Mac OS 9 (and earlier) support. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16473 dc483132-0cff-0310-8789-dd5450dbe970
* * pty-int.h (_AIX && _THREAD_SAFE): Undefine _THREAD_SAFEKen Raeburn2004-06-121-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16439 dc483132-0cff-0310-8789-dd5450dbe970
* Change all uses of LIB in UNIX makefiles to LIBBASE, for better WindowsKen Raeburn2004-06-041-0/+4
| | | | | | | | | compatibility. (Windows nmake exports make variables into the environment, and LIB is treated by the Windows linker as a search path for libraries, thus breaking the linking on Windows of anything needing libraries from the search path in directories where we build libraries on UNIX.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16411 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Remove tests for strsave, sys_errlist,Ezra Peisach2004-04-121-0/+6
| | | | | | | krb5_sigtype, setjmp, dirent, F_SETOWN. These are left over from the split from appl/bsd. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16242 dc483132-0cff-0310-8789-dd5450dbe970
* protoizeKen Raeburn2004-02-191-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16100 dc483132-0cff-0310-8789-dd5450dbe970
* Remove ADD_DEF and uses thereof, and move the appropriate symbols toTom Yu2003-03-031-0/+5
| | | | | | | | | | | AC_DEFINE'ed things or to Makefile.in files. Remove explicit settings of CPPFLAGS. These allow CPPFLAGS to be a user parameter. Also, add CFLAGS to the CC_LINK variables, so they can control usage of the compiler to link programs. ticket: 677 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15214 dc483132-0cff-0310-8789-dd5450dbe970
* Search for ar, ranlib, install in KRB5_BUILD_LIBRARY* macros rather thanKen Raeburn2003-01-101-0/+3
| | | | | | explicitly in directories using those macros. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15111 dc483132-0cff-0310-8789-dd5450dbe970
* Use markers in Makefile.in rather than rules in configure.in to indicate whenKen Raeburn2003-01-101-0/+4
| | | | | | | | to use the lib.in and libobj.in makefile fragments. Pushing this per-directory info into Makefile.in will make it a little easier to work on combining configure scripts for multiple directories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15107 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Quote the argument to AC_CHECK_HEADER. AutoconfEzra Peisach2002-12-061-0/+5
| | | | | | 2.57 was having problems. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15032 dc483132-0cff-0310-8789-dd5450dbe970
* * pty_err.et: Add final "end" statementKen Raeburn2002-08-291-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14788 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Revert $(S)=>/ change, for Windows supportKen Raeburn2002-08-291-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14786 dc483132-0cff-0310-8789-dd5450dbe970
* Change $(S)=>/ and $(U)=>.. globallyKen Raeburn2002-08-231-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14761 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (install): Don't install libpty.h.Ken Raeburn2002-07-131-0/+5
| | | | | | * configure.in: Always build static library only. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14640 dc483132-0cff-0310-8789-dd5450dbe970
* Include "com_err.h" instead of <com_err.h>Ken Raeburn2002-06-131-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14503 dc483132-0cff-0310-8789-dd5450dbe970
* * pty-int.h: Don't include syslog.hKen Raeburn2002-06-121-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14501 dc483132-0cff-0310-8789-dd5450dbe970
* * sane_hostname.c (pty_make_sane_hostname): Always initialize "ai"Ken Raeburn2002-05-251-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14450 dc483132-0cff-0310-8789-dd5450dbe970
* Change approach for getaddrinfo support. Now, only fake-addrinfo.h isKen Raeburn2002-03-261-0/+5
| | | | | | | | | | | | included, no magic macros need to be defined, and no special care needs to be taken to identify a unique object file used in all builds of a library/program. All defined functions (if any) are static in each object file, and declared inline under gcc so they can be more easily eliminated. Simplifies maintenance, and worst case should add no more than a few KB to libraries and programs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14291 dc483132-0cff-0310-8789-dd5450dbe970
* shlib version number updates from 1.2.x branchKen Raeburn2002-03-071-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14233 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LIBMINOR): BumpKen Raeburn2002-02-201-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14152 dc483132-0cff-0310-8789-dd5450dbe970
* * update_utmp.c (PTY_GETUTXENT): Fix typo. Thanks to ShawnTom Yu2001-12-081-0/+11
| | | | | | | Stepper. [fixes krb5-build/1020] [pullup from 1.2.3] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14057 dc483132-0cff-0310-8789-dd5450dbe970
* Fix documentation bugSam Hartman2001-12-041-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14035 dc483132-0cff-0310-8789-dd5450dbe970
* * sane_hostname.c (pty_make_sane_hostname): Do not declare addrbufEzra Peisach2001-10-181-0/+6
| | | | | | twice, shadowing the first declaration. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13819 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (includes): Depend onEzra Peisach2001-10-021-0/+7
| | | | | | | | $(BUILDTOP)/include/krb5/autoconf.h. Automatic dependencies do not work on systems in which shared libraries are build without static ones. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13773 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Cosmetic fix in utmpx.ut_exit checkTom Yu2001-09-121-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13746 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in ($(BUILDTOP)/include/krb5/autoconf.h): Add rules toEzra Peisach2001-09-061-0/+6
| | | | | | | build include/krb5/autoconf.h - this file is wiped out during a make clean and sane_hostname.c depends on it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13728 dc483132-0cff-0310-8789-dd5450dbe970
* use fake-addrinfo, get rid of non-getnameinfo supportKen Raeburn2001-08-301-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13694 dc483132-0cff-0310-8789-dd5450dbe970
* * update_utmp.c (pty_update_utmp): Remember to chop off leadingTom Yu2001-07-021-0/+8
| | | | | | | | | "/dev/" for the non-sysV case. Handle lseek() returning non-zero yet non-negative values (it usually does... :-), so that we can actually write somewhere not at the beginning of the utmp file if necessary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13548 dc483132-0cff-0310-8789-dd5450dbe970
* misc cleanup in dump-utmpKen Raeburn2001-06-281-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13525 dc483132-0cff-0310-8789-dd5450dbe970
* * update_utmp.c (pty_update_utmp): Don't copy host if it's a null pointerKen Raeburn2001-06-281-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13524 dc483132-0cff-0310-8789-dd5450dbe970
* * libpty.h: Change variable line in prototype to tty_line toEzra Peisach2001-06-221-0/+5
| | | | | | prevent shadowing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13485 dc483132-0cff-0310-8789-dd5450dbe970
* * pty-int.h: Provide revoke() prototype if system headers lackingEzra Peisach2001-06-111-2/+7
| | | | | | | | | | | * logwtmp.c: Provide logwtmp() prototype if needed. * configure.in: Check for system provided getutmp(), logwtmp() and revoke() prototypes. Check for util.h, libutil.h. * update_wtmp.c: Provide prototype for getutmp() if needed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13336 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for system provided getutmp() prototypeEzra Peisach2001-06-111-0/+6
| | | | | | * update_wtmp.c: Provide prototype for getutmp() if needed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13325 dc483132-0cff-0310-8789-dd5450dbe970
* * getpty.c: Make pty_getpty() into ptyint_getpty_ext(), which hasTom Yu2001-05-161-0/+18
| | | | | | | | | | | | | | | | | | | an extra argument that determines whether to call grantpt() and unlockpt() on systems that support it. The new pty_getpty() will simply call the extended version. This is to support some wackiness needed by pty_paranoia.c tests. * pty-int.h: Add prototype for ptyint_getpty_ext(). * pty_paranoia.c: Add rant about ptys and quirks therein. Needs to be updated somewhat. Add some more paranoia for the case where we actually succeed in opening the slave of a closed master and then succeed in opening the same master. This program will get rewritten at some point to actually see what things result in EOFs and under what conditions data will actually get passed between master and slave. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13243 dc483132-0cff-0310-8789-dd5450dbe970
* * pty_paranoia.c: New file; do many paranoid checks about cttyTom Yu2001-05-111-0/+15
| | | | | | | | | | | | | | | | handling by the pty drivers. * Makefile.in: Add rules for pty_paranoia and check-paranoia, which runs pty_paranoia. * configure.in: Define REVOKE_NEEDS_OPEN for Tru64. Add support for program building and run flags for the sake of pty_paranoia. * open_slave.c: Fix somewhat; AIX doesn't like opening the ctty twice, so only do initial open if we special-case it in configure.in, e.g. for Tru64. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13239 dc483132-0cff-0310-8789-dd5450dbe970
* * logwtmp.c: Delete code under "#if 0". Fix reversed test forTom Yu2001-05-091-0/+8
| | | | | | | | | | | loggingin. Don't forget to set the ut_tv or ut_time for the entry. * update_utmp.c: Update rant about Tru64; remove fetching of ut_user from old entry. The existence of the old ut_user in the logout entry in wtmp was confusing last. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13237 dc483132-0cff-0310-8789-dd5450dbe970
* * cleanup.c: Call update_utmp() with the correct pid to assist inTom Yu2001-05-081-0/+18
| | | | | | | | | | | | | | | | | | | 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
* * open_slave.c (pty_open_slave): If revoke() present on system butEzra Peisach2001-05-041-0/+5
| | | | | | VHANG_FIRST is not defined, declare local variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13231 dc483132-0cff-0310-8789-dd5450dbe970
* * dump-utmp.c: Fix some off-by-one errors. Handle cases where weTom Yu2001-05-041-0/+3
| | | | | | have utmpname() but not utmpname(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13230 dc483132-0cff-0310-8789-dd5450dbe970
* * pty-int.h: Fix typo; VHANG_first -> VHANG_FIRSTTom Yu2001-05-041-0/+7
| | | | | | | * open_slave.c (pty_open_slave): Add workaround for Tru64 v5.0, since its revoke() will fail if the slave isn't open already. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13229 dc483132-0cff-0310-8789-dd5450dbe970
* * sane_hostname.c (pty_make_sane_hostname): Preserve constEzra Peisach2001-05-031-0/+5
| | | | | | property of incomming parameter in casts. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13228 dc483132-0cff-0310-8789-dd5450dbe970
* * cleanup.c (pty_cleanup): Delcare local variable only ifEzra Peisach2001-05-031-0/+12
| | | | | | | | | | | | | | | VHANG_LAST defined. * logwtmp.c (pty_logwtmp): Only declare local variables if logwtmp() not available on system. * sane_hostname.c (sockaddrlen): Only define static function if HAVE_GETNAMEINFO defined. (pty_make_sane_hostname) Declare goto target only if code compiled in. gcc warning cleanups git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13227 dc483132-0cff-0310-8789-dd5450dbe970