summaryrefslogtreecommitdiffstats
path: root/src/util
Commit message (Collapse)AuthorAgeFilesLines
...
* * configure.in: Add optional argument to AC_DEFINE to provideEzra Peisach2001-10-243-11/+16
| | | | | | | | comment in generated header file. * acconfig.h: Remove int32_t and u_int32_t, handled by configure.in git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13843 dc483132-0cff-0310-8789-dd5450dbe970
* * db-config.h.in: Remove unnecessary definitions for includingEzra Peisach2001-10-242-12/+6
| | | | | | | db.h header file. These include WORDS_BIGENDIAN, ssize_t, u_short, int8_t, u_int8_t, int16_t, u_int16_t, int32_t. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13842 dc483132-0cff-0310-8789-dd5450dbe970
* In directories building libraries, generate dependencies for .so/.po files tooKen Raeburn2001-10-205-46/+46
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13828 dc483132-0cff-0310-8789-dd5450dbe970
* * sane_hostname.c (pty_make_sane_hostname): Do not declare addrbufEzra Peisach2001-10-182-1/+6
| | | | | | twice, shadowing the first declaration. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13819 dc483132-0cff-0310-8789-dd5450dbe970
* Provide a little bit of usage info. More error-checkingDanilo Almeida2001-10-172-16/+45
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13815 dc483132-0cff-0310-8789-dd5450dbe970
* * def-check.pl: New file. Not currently used by any automaticKen Raeburn2001-10-172-1/+187
| | | | | | | processes. Checks krb5.hin against krb5_32.def for consistency; might work with other .h/.def files but hasn't been tested. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13814 dc483132-0cff-0310-8789-dd5450dbe970
* Update automatic dependencies to work on Windows by using $(OUTPRE) andKen Raeburn2001-10-117-63/+87
| | | | | | | $(OBJEXT). Change a couple of UNIX rules to not trigger incorrectly on Windows. Rebuild dependencies. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13801 dc483132-0cff-0310-8789-dd5450dbe970
* Don't conditionalize prototypes; delete macros supporting it. (Maybe overdone;Ken Raeburn2001-10-1010-136/+112
| | | | | | don't worry about restoring them when importing new versions of code.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13792 dc483132-0cff-0310-8789-dd5450dbe970
* KRB5_EXPORTVAR is defined lots of places but never used; delete itKen Raeburn2001-10-064-6/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13787 dc483132-0cff-0310-8789-dd5450dbe970
* Danilo also says we can get rid of _MSDOS (Win16) tests, and explicit ↵Ken Raeburn2001-10-0620-123/+74
| | | | | | FAR/NEAR specs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13786 dc483132-0cff-0310-8789-dd5450dbe970
* Danilo says we can get rid of the DLLIMP stuff nowKen Raeburn2001-10-0410-60/+66
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13775 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (includes): Depend onEzra Peisach2001-10-022-0/+9
| | | | | | | | $(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-122-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13746 dc483132-0cff-0310-8789-dd5450dbe970
* now process myfulldir arg tooKen Raeburn2001-09-061-4/+46
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13732 dc483132-0cff-0310-8789-dd5450dbe970
* * depgen.sed: New file.Ken Raeburn2001-09-063-0/+31
| | | | | | * depfix.sed: Remove /foo/../ sequences, looping til no more. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13730 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in ($(BUILDTOP)/include/krb5/autoconf.h): Add rules toEzra Peisach2001-09-062-0/+10
| | | | | | | 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
* dependenciesKen Raeburn2001-09-024-8/+36
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13726 dc483132-0cff-0310-8789-dd5450dbe970
* *depfix.sed: Drop "$(srcdir)/" prefix for files in current directory, in ↵Ken Raeburn2001-09-012-0/+4
| | | | | | favor of using VPATH git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13724 dc483132-0cff-0310-8789-dd5450dbe970
* add automatically generated dependenciesKen Raeburn2001-09-013-0/+74
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13722 dc483132-0cff-0310-8789-dd5450dbe970
* add commentKen Raeburn2001-09-011-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13721 dc483132-0cff-0310-8789-dd5450dbe970
* * depfix.sed: Temporarily add trailing whitespace to make substitutions moreKen Raeburn2001-09-012-0/+14
| | | | | | regular. Split lines before writing out. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13719 dc483132-0cff-0310-8789-dd5450dbe970
* add commentKen Raeburn2001-08-311-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13705 dc483132-0cff-0310-8789-dd5450dbe970
* use fake-addrinfo, get rid of non-getnameinfo supportKen Raeburn2001-08-302-82/+26
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13694 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_tree.c (struct profile_iterator): Member "names" now points to const.Ken Raeburn2001-07-195-6/+19
| | | | | | | | | | (profile_node_iterator_create): Argument "names" now points to const. (profile_node_iterator): Local variable "cpp" now points to const. * prof_int.h (profile_node_iterator_create): Decl updated. * prof_get.c (profile_get_values): Argument "names" now points to const. * profile.hin (profile_get_values): Decl updated. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13615 dc483132-0cff-0310-8789-dd5450dbe970
* * hash/hash_func.c (hash4): Declare first argument constEzra Peisach2001-07-094-12/+22
| | | | | | | | | * hash/hash.h: struct HTAB fname element now const. * hash/hash.c: Declare third argument to hash_access and init_hash const. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13590 dc483132-0cff-0310-8789-dd5450dbe970
* * hash/dbm.c: Include db-dbm.h for prototypesEzra Peisach2001-07-062-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13573 dc483132-0cff-0310-8789-dd5450dbe970
* * db-dbm.h: New header file which lists the dbm interfacesEzra Peisach2001-07-063-1/+31
| | | | | | | * db-ndbm.h: Change prototype from dirinfo to dirfno which matches code and ndbm API. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13572 dc483132-0cff-0310-8789-dd5450dbe970
* * hash/hash_log2.c: Include hash.h, page.h and extern.h forEzra Peisach2001-07-052-0/+7
| | | | | | prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13555 dc483132-0cff-0310-8789-dd5450dbe970
* * update_utmp.c (pty_update_utmp): Remember to chop off leadingTom Yu2001-07-022-7/+22
| | | | | | | | | "/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
* * prof_int.h: Provide prototypes for profile_ser_size,Ezra Peisach2001-07-022-0/+13
| | | | | | profile_ser_externalize, profile_ser_internalize. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13546 dc483132-0cff-0310-8789-dd5450dbe970
* oops, forgot to save fixed versionKen Raeburn2001-06-281-4/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13526 dc483132-0cff-0310-8789-dd5450dbe970
* misc cleanup in dump-utmpKen Raeburn2001-06-282-5/+14
| | | | 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-282-1/+7
| | | | 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-222-1/+6
| | | | | | prevent shadowing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13485 dc483132-0cff-0310-8789-dd5450dbe970
* * test/dbtest.c: Cast argument to isspace() to int. Do not shadowEzra Peisach2001-06-215-51/+59
| | | | | | | | | global variables type and flags. * btree/bt_search.c, btree/bt_seq.c, recno/rec_search.c: Change local variable index to idx. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13467 dc483132-0cff-0310-8789-dd5450dbe970
* * error_message.c (error_message): Conditional label on _sgi soEzra Peisach2001-06-212-0/+7
| | | | | | gcc does not warn about being defined and not used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13438 dc483132-0cff-0310-8789-dd5450dbe970
* * btree/bt_delete.c, btree/bt_put.c, recno/rec_delete.c,Ezra Peisach2001-06-216-68/+76
| | | | | | | | | recno/rec_put.c: Change local variable index to idx. * hash/hash_page.c: Change local variable stat to status to prevent shadowing system function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13437 dc483132-0cff-0310-8789-dd5450dbe970
* delete some unnecessary castsKen Raeburn2001-06-213-2/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13425 dc483132-0cff-0310-8789-dd5450dbe970
* handle irix high-numbered error codesKen Raeburn2001-06-203-7/+24
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13392 dc483132-0cff-0310-8789-dd5450dbe970
* getsyms: Fix quoting around find command looking for configure.in files; ↵Ken Raeburn2001-06-162-1/+6
| | | | | | sort list git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13352 dc483132-0cff-0310-8789-dd5450dbe970
* * test_profile.c: Include <string.h> for strcmp() prototypeEzra Peisach2001-06-112-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13337 dc483132-0cff-0310-8789-dd5450dbe970
* * pty-int.h: Provide revoke() prototype if system headers lackingEzra Peisach2001-06-114-4/+32
| | | | | | | | | | | * 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
* * argv_parse.c (argv_parse): Cast argument to isspace() as int.Ezra Peisach2001-06-113-5/+11
| | | | | | | | | | * prof_parse.c (skip_over_blanks, parse_std_line, need_double_quotes): Likewise On some systems, isspace() is a macro indexing an array. Gcc warns on indexing an array with a char. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13335 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (MLIBS): Do not link against libgen.a for testEzra Peisach2001-06-112-1/+6
| | | | | | programs. (only needed for krb5 an_to_ln code). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13329 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for system provided getutmp() prototypeEzra Peisach2001-06-113-1/+26
| | | | | | * update_wtmp.c: Provide prototype for getutmp() if needed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13325 dc483132-0cff-0310-8789-dd5450dbe970
* * request_tbl.c (ss_add_request_table): Do not cast argument toEzra Peisach2001-06-072-1/+6
| | | | | | realloc() to char *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13291 dc483132-0cff-0310-8789-dd5450dbe970
* * getpty.c: Make pty_getpty() into ptyint_getpty_ext(), which hasTom Yu2001-05-164-36/+379
| | | | | | | | | | | | | | | | | | | 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-115-2/+367
| | | | | | | | | | | | | | | | 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-093-49/+20
| | | | | | | | | | | 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-086-215/+288
| | | | | | | | | | | | | | | | | | | 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