summaryrefslogtreecommitdiffstats
path: root/src/util
Commit message (Collapse)AuthorAgeFilesLines
...
* * update_utmp.c: flush preprocessor directive to left marginTom Yu1995-08-092-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6470 dc483132-0cff-0310-8789-dd5450dbe970
* Pass correct argument to getutmpx()Paul Park1995-08-082-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6469 dc483132-0cff-0310-8789-dd5450dbe970
* * Modify pty_update_utmp so it takes additional parameters instead ofSam Hartman1995-08-078-35/+80
| | | | | | | | | | | | | | struct utmp. * Move pty_update_wtmp to an internal function; pty_update_utmp and pty_logwtmp call it. * Don't include utmp.h or utmpx.h in libpty.h; they don't need it any more. * Don't use pid_t in libpty.h or any interfaces it defines\. We'll have to settle for int. * Add logic so that UTMP_FILE and WTMP_FILE get defined on NetBSD (Actually fairly clean). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6453 dc483132-0cff-0310-8789-dd5450dbe970
* If using the autoconf in the local tree, invoke it using /bin/sh, soTheodore Tso1995-08-072-2/+10
| | | | | | | that it works even if autoconf has been checked out from SCCS without the execute bit set. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6451 dc483132-0cff-0310-8789-dd5450dbe970
* Add $(SHELL) to invocation of config_script, so that the tree canTheodore Tso1995-08-072-1/+8
| | | | | | build even after checked into a broken SCCS system. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6448 dc483132-0cff-0310-8789-dd5450dbe970
* Add $(SHELL) to invocation of config_script, so that the tree canTheodore Tso1995-08-072-1/+6
| | | | | | build even after being checked into a broken SCCS system. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6447 dc483132-0cff-0310-8789-dd5450dbe970
* Return value from pty_open_ctty is non-zero on error, not negativeEzra Peisach1995-08-052-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6426 dc483132-0cff-0310-8789-dd5450dbe970
* libpty.h (pty_cleanup): Fix argument type of pid to patch that used in theTheodore Tso1995-08-053-2/+15
| | | | | | | | | C file. Include <utmpx.h> if present. Only include <utmp.h> if it is present. configure.in: Check for utmp.h and utmpx.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6422 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: use libupdate so to not get multiple copies ofTom Yu1995-08-046-12/+29
| | | | | | | | | | | | | | | | | | 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-0412-159/+136
| | | | | | | 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
* Add .cvsignore to ignore configureEzra Peisach1995-08-041-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6408 dc483132-0cff-0310-8789-dd5450dbe970
* missed a #endifTom Yu1995-08-041-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6407 dc483132-0cff-0310-8789-dd5450dbe970
* * cleanup.c (pty_cleanup): Add missing declarations for retval andTom Yu1995-08-042-3/+10
| | | | | | fd. Also, align preprocessor directives with left margin. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6406 dc483132-0cff-0310-8789-dd5450dbe970
* Attempt to HUP processes associated with the pty when it is revoked ifSam Hartman1995-08-033-1/+25
| | | | | | vhangup is not available. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6402 dc483132-0cff-0310-8789-dd5450dbe970
* * Fix tests for length of slave buffer.Sam Hartman1995-08-027-6/+47
| | | | | | * Add pty_init to initialize error tables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6379 dc483132-0cff-0310-8789-dd5450dbe970
* Make interface change so getpty doesn't overwriteSam Hartman1995-08-017-12/+107
| | | | | | | user-supplied buffer. Allow for telnetd not knowing PID of slave process. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6374 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo TIOCSTTY to TIOCSCTTY in ioctlEzra Peisach1995-08-012-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6373 dc483132-0cff-0310-8789-dd5450dbe970
* Add missing logwtmp fileSam Hartman1995-08-011-0/+64
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6372 dc483132-0cff-0310-8789-dd5450dbe970
* Check in first version of libptySam Hartman1995-07-3114-0/+1078
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6370 dc483132-0cff-0310-8789-dd5450dbe970
* Protect test for Gcc under AIX so it works with non-Gcc compilersSam Hartman1995-07-313-2/+11
| | | | | | Configure and build libpty. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6369 dc483132-0cff-0310-8789-dd5450dbe970
* Fix previous change by removing configure.in dependency onSam Hartman1995-07-193-2/+6
| | | | | | libdb_ranlib. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6313 dc483132-0cff-0310-8789-dd5450dbe970
* Update Makefile.in to use $(STEXT) so shared libs under AIX workSam Hartman1995-07-182-4/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6311 dc483132-0cff-0310-8789-dd5450dbe970
* Added test for pgno_t that should avoid breaking NetBSDSam Hartman1995-07-142-1/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6296 dc483132-0cff-0310-8789-dd5450dbe970
* Clean up prototypes for error_message. I think we may need to insert a test ↵Sam Hartman1995-07-132-2/+10
| | | | | | to see if const works into com_err; it is still used in several places with non-ANSI compilers, and I had to insert a few more consts to get the AIX compiler in not-quite-ANSI mode to work git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6292 dc483132-0cff-0310-8789-dd5450dbe970
* Do not include stdlib.h unless it existsEzra Peisach1995-07-122-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6283 dc483132-0cff-0310-8789-dd5450dbe970
* Remove LDFLAGSPaul Park1995-07-072-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6268 dc483132-0cff-0310-8789-dd5450dbe970
* Make symlink in TOPLIBD for libssPaul Park1995-07-072-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6267 dc483132-0cff-0310-8789-dd5450dbe970
* Add DEPLIBS, needed by shared library rulePaul Park1995-07-074-1/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6266 dc483132-0cff-0310-8789-dd5450dbe970
* prof_int.h must be included after stdio.h for prototypesEzra Peisach1995-07-062-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6234 dc483132-0cff-0310-8789-dd5450dbe970
* Checking in the change of removing makeshlibEzra Peisach1995-07-061-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6232 dc483132-0cff-0310-8789-dd5450dbe970
* Remove makeshlib on cleanEzra Peisach1995-07-061-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6231 dc483132-0cff-0310-8789-dd5450dbe970
* Changes for Macintosh implementationKeith Vetter1995-07-068-5/+35
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6229 dc483132-0cff-0310-8789-dd5450dbe970
* * makeshlib.sh: Add support for NetBSD shared librariesTom Yu1995-07-042-0/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6226 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (libdb.a): Quiet the if statementTom Yu1995-07-033-5/+10
| | | | | | * configure.in: Symlink $(TOPLIBD)/libdb.* from the right place. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6224 dc483132-0cff-0310-8789-dd5450dbe970
* * Replace Gcc test from top level configure.in with one fromSam Hartman1995-07-033-10/+16
| | | | | | | | | util/configure.in. * Modify top level configure.in and util/makeshlib.sh so AIX can build/use shared libs with Gcc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6223 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Don't check for pgno_t; it's not in sys/types.h onTom Yu1995-07-022-1/+6
| | | | | | | any system I've seen, and it breaks the following check for datum.dsize under netbsd. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6216 dc483132-0cff-0310-8789-dd5450dbe970
* Add shared library supportPaul Park1995-06-306-2/+44
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6215 dc483132-0cff-0310-8789-dd5450dbe970
* Rename ct_c.*.in to ct_c_*.in, so that the sources will unpack cleanlyTheodore Tso1995-06-284-8/+14
| | | | | | under DOS. Argh. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6189 dc483132-0cff-0310-8789-dd5450dbe970
* Rename ct_c.* to ct_c.*.in. ct_c.sed.in is now processed by sed toTheodore Tso1995-06-285-14/+27
| | | | | | | | | | remove comment lines beginning with '#', since some sed programs can't handle that. Change config_script so that the directory where the ct_c.* files can be specified, since those are in the build directory, instead of the source directory. (This is all for the sake of System V sed. Sigh.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6186 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: int*_t and pgno_t declarations fromMark Eichin1995-06-282-0/+12
| | | | | | hash/configure.in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6183 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: use AC_CHECK_FUNCS and check for memmove.Mark Eichin1995-06-283-1/+10
| | | | | | | | | | | hash.h: if we don't HAVE_MEMMOVE use bcopy. Really, though, a quick glance seems to indicate that most of the uses of memmove could really be handled by memcpy, but I haven't time to prove it right now. If I'm right, back out this check. (This is for sunos 4 which has memcpy but not memmove.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6181 dc483132-0cff-0310-8789-dd5450dbe970
* * dbtest.c (xmalloc): use memcpy, memmove isn't needed.Mark Eichin1995-06-283-2/+10
| | | | | | * configure.in: use AC_CHECK_FUNCS for index, and check for memmove. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6180 dc483132-0cff-0310-8789-dd5450dbe970
* * run.test: look in /usr/share/lib/dict/words to find the wordsMark Eichin1995-06-282-1/+8
| | | | | | file under SGI Irix 5. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6179 dc483132-0cff-0310-8789-dd5450dbe970
* * db.h: *int*_t are likely to collide with native types,Mark Eichin1995-06-282-15/+7
| | | | | | | and the int8_t and *int64_t are never used anyway, so push them off to hash/configure.in AC_CHECK_TYPE calls. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6175 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: *int*_t are likely to collide with native types,Mark Eichin1995-06-282-1/+14
| | | | | | | and the int8_t and *int64_t are never used anyway, so push them off to hash/configure.in AC_CHECK_TYPE calls. pgno_t also. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6174 dc483132-0cff-0310-8789-dd5450dbe970
* Compiler warning cleanupPaul Park1995-06-274-2/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6171 dc483132-0cff-0310-8789-dd5450dbe970
* Made makeshlib produced by Makefile, so I can know whether I'm running Gcc. ↵Sam Hartman1995-06-264-5/+53
| | | | | | | | | | | | | | Also, Ted wanted this to happen eventually anyway CVS: ---------------------------------------------------------------------- automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: ---------------------------------------------------------------------- Changed shared libraries so that it works under AIX and sets the libpath correctly. Currently only works under Xlc, but hooks for Gcc support are present. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6164 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: fix typo; appended "all" rule needs two colons toTom Yu1995-06-242-1/+6
| | | | | | keep gmake from breaking. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6159 dc483132-0cff-0310-8789-dd5450dbe970
* * error_table.h: reverse sense of KRB5_PROVIDE_PROTOTYPESTom Yu1995-06-232-3/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6156 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed typos that prevent static libs from working. Add codeSam Hartman1995-06-232-2/+9
| | | | | | to Makefile so shared libs work on non-AIX platforms. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6148 dc483132-0cff-0310-8789-dd5450dbe970