summaryrefslogtreecommitdiffstats
path: root/src/util
Commit message (Collapse)AuthorAgeFilesLines
...
* Ignore a bunch of files generated by building in the source tree, excludingKen Raeburn2002-08-297-0/+22
| | | | | | | those covered by CVSROOT/cvsignore patterns. Static UNIX build only, at the moment, may need updates for other configurations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14783 dc483132-0cff-0310-8789-dd5450dbe970
* * btree/bt_split.c (bt_psplit): Correctly account forTom Yu2002-08-282-2/+9
| | | | | | | sizeof(indx_t) when computing space used in a page by an item. [patch from www.sleepycat.com] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14780 dc483132-0cff-0310-8789-dd5450dbe970
* Quote targets of some copy operations within the build tree. NeededKen Raeburn2002-08-274-2/+11
| | | | | | | now for Windows since we use "/" as a directory separator in places where Windows would also look for command options. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14776 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile: DeletedKen Raeburn2002-08-242-23/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14763 dc483132-0cff-0310-8789-dd5450dbe970
* Change $(S)=>/ and $(U)=>.. globallyKen Raeburn2002-08-2322-16/+50
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14761 dc483132-0cff-0310-8789-dd5450dbe970
* * dbtest.c: Include btree.h if we're compiled with -DSTATISTICSTom Yu2002-08-233-1/+21
| | | | | | * Makefile.in: Add rules for bttest; also add a clean rule. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14754 dc483132-0cff-0310-8789-dd5450dbe970
* * main.c: Disable append(); we don't have R_APPEND in this releaseTom Yu2002-08-232-8/+88
| | | | | | | | | | | | | | of DB for some reason. Disable load() due to lack of fgetline(). Conditionalize lots of things on -DSTATISTICS or -DDEBUG as appropriate. (rlist): New function; does recursive listing of principals. (main): Fix up naming of *_ENDIAN macros. Default to read-only open, with new "-w" option for opening read/write. Actually call db->sync with the correct number of arguments. (show): Update call to __bt_dpage(). (usage): Update. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14753 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LIBMINOR): Bump due to addition of bt_rseq()Tom Yu2002-08-238-12/+474
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * hash/hash_debug.c: Remove inclusion of compat.h, as we don't have it in our build system. * btree/extern.h: Add missing prototypes/renames for __bt_dmpage(). Add renames for bt_rseq() support functions. * btree/bt_seq.c (bt_rseq): New function; like __bt_seq() but does recursive descent rather than using the prev/next pointers. This will catch some pages that might be missed if the database is inconsistent. Added support functions for bt_rseq() as well. * btree/bt_page.c (__bt_free): Set B_METADIRTY when updating free list. (__bt_new): Set B_METADIRTY when updating free list. [patch from www.sleepycat.com] * btree/bt_debug.c (__bt_dump): Bound loop by number of pages actually in file to avoid getting a nigh-infinite number of all-zeroes pages. (__bt_dmpage): Print a newline after dumping the meta page. (__bt_dpage): Add DB* parameter; use this to get pagesize in order to limit dumping of page contents, in case NEXTINDEX(h) happens to be bogus. (__bt_stat): Bound loop by number of pages actually in file so as to stop counting pages after the actual end of file. * btree/bt_close.c (__bt_sync): Apply a Kerbnet fix from long ago; don't return prematurely when B_METADIRTY is set but B_MODIFIED is clear. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14752 dc483132-0cff-0310-8789-dd5450dbe970
* * db.h: Add rename and prototype for bt_rseq(); this is a kludgeTom Yu2002-08-232-0/+7
| | | | | | to avoid stuffing more things into the DB handle. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14751 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (EXTRADEPSRCS): New variable.Ken Raeburn2002-08-152-0/+14
| | | | | | (.d): Depend on includes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14721 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SUBDIROBJLISTS): New variableKen Raeburn2002-08-152-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14720 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in ($(HDRS)): Depend on 'includes'.Ken Raeburn2002-08-142-1/+8
| | | | | | (std_rqs.c): Depend on mk_cmds. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14710 dc483132-0cff-0310-8789-dd5450dbe970
* When directory was deleted, Makefile.in was left behindEzra Peisach2002-07-301-110/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14674 dc483132-0cff-0310-8789-dd5450dbe970
* drop libdyn as a separate libraryKen Raeburn2002-07-1723-1596/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14659 dc483132-0cff-0310-8789-dd5450dbe970
* * reconf: Create include/krb5/autoconf.stmp on success if it didn't already ↵Ken Raeburn2002-07-172-1/+11
| | | | | | exist git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14654 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (install): Don't install libpty.h.Ken Raeburn2002-07-133-3/+9
| | | | | | * configure.in: Always build static library only. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14640 dc483132-0cff-0310-8789-dd5450dbe970
* *Makefile.in(install): Don't install mit-sipb-copyright.h, it's unreferencedKen Raeburn2002-07-132-4/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14639 dc483132-0cff-0310-8789-dd5450dbe970
* Put # for cpp directives in first columnKen Raeburn2002-07-092-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14624 dc483132-0cff-0310-8789-dd5450dbe970
* * et_c.awk: Fix up <com_err.h> inclusion for windows and macTom Yu2002-07-083-3/+15
| | | | | | * et_c.pl: Regenerate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14614 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SLIBSH): Use vertical-bar instead of comma for substituting CCKen Raeburn2002-07-062-1/+6
| | | | | | in case the CC specified uses commas. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14612 dc483132-0cff-0310-8789-dd5450dbe970
* 2002-07-03 Tom Yu <tlyu@mit.edu>Tom Yu2002-07-0310-16/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in: Fix rebuild rules et_?.perl -> et_?.pl. Also, strip the "#!" line. * error_table.h: Fix mac conditional, due to _et_list declaration moving from et_c.awk * et_c.perl, et_h.perl: Remove. * et_c.pl, et_h.pl: Generate. [porting some 1-2-2-branch changes] * com_err.h: Windows should include <win-mac.h> as opposed to <Kerberos5/win-mac.h> * et_c.perl, et_h.perl: Renamed to et_c.pl and et_h.pl because the extension is used as a newline separator heuristic in MacPerl parser * et_c.perl, et_h.perl: Removed #! from the first line to avoid confusing MacPerl * com_err.h, error_message.c, et.pbexp, et_c.awk, et_h.awk: conditionalized com_err so it doesn't need to export et_list on Mac OS X [pullups from 1-2-2-branch] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14599 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_parse.c (strip_line): Simplify loop by preserving "p" rather thanKen Raeburn2002-06-192-9/+6
| | | | | | recomputing it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14542 dc483132-0cff-0310-8789-dd5450dbe970
* use strdupKen Raeburn2002-06-193-9/+26
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14541 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesKen Raeburn2002-06-153-37/+33
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14522 dc483132-0cff-0310-8789-dd5450dbe970
* * depfix.sed: Ignore header files under /mit/gnu/. ReplaceKen Raeburn2002-06-152-1/+7
| | | | | | $(BUILDTOP)/include/com_err.h with $(COM_ERR_DEPS), now defined via pre.in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14521 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesKen Raeburn2002-06-151-14/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14519 dc483132-0cff-0310-8789-dd5450dbe970
* * depfix.sed: Ignore header files under /mit/gnu/Ken Raeburn2002-06-152-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14518 dc483132-0cff-0310-8789-dd5450dbe970
* Include "com_err.h" instead of <com_err.h>Ken Raeburn2002-06-1314-13/+18
| | | | 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-122-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14501 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_get.c (profile_get_integer): Set errno to 0 before strtol call, so weKen Raeburn2002-06-042-8/+22
| | | | | | | can distinguish error from LONG_MIN/MAX. Break out different error conditions and comment them. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14464 dc483132-0cff-0310-8789-dd5450dbe970
* * sane_hostname.c (pty_make_sane_hostname): Always initialize "ai"Ken Raeburn2002-05-252-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14450 dc483132-0cff-0310-8789-dd5450dbe970
* * dbtest.c: Test for __STDC__ defined, not nonzero, to decide whether to useKen Raeburn2002-05-082-3/+8
| | | | | | | stdarg.h or varargs.h. (err): Similarly for function signature. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14436 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_get.c (conf_yes, conf_no): Now const.Ken Raeburn2002-05-082-3/+8
| | | | | | (profile_parse_boolean): Local variable P points to const. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14435 dc483132-0cff-0310-8789-dd5450dbe970
* * reconf: Only for autoreconf 2.53, create a private copy ofEzra Peisach2002-04-252-0/+34
| | | | | | | | autoreconf with a patch to a bug that prevented use of three levels configure.in files. The bug is fixed in the development version 2.53a. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14423 dc483132-0cff-0310-8789-dd5450dbe970
* Handle KRB5_CALLCONV_WRONG in .def fileDanilo Almeida2002-04-162-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14402 dc483132-0cff-0310-8789-dd5450dbe970
* * def-check.pl: Better error checking. Handles variable argumentDanilo Almeida2002-04-052-11/+54
| | | | | | | | | functions more nicely. Support for KRB5_CALLCONV_WRONG, KRB5INT_BEGIN_DECLS, KRB5INT_END_DECLS. Works with krb5.hin, krb5.h, and k5-int.h (giving different information for the last one, of course). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14359 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesKen Raeburn2002-03-261-2/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14292 dc483132-0cff-0310-8789-dd5450dbe970
* Change approach for getaddrinfo support. Now, only fake-addrinfo.h isKen Raeburn2002-03-262-2/+6
| | | | | | | | | | | | 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-072-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14233 dc483132-0cff-0310-8789-dd5450dbe970
* make a log entry more readableKen Raeburn2002-03-061-4/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14225 dc483132-0cff-0310-8789-dd5450dbe970
* * run.test: Use "/bin/." instead of "/bin" in find commands in case /bin itselfKen Raeburn2002-02-203-12/+31
| | | | | | | | | | | is a symlink. (test8): Check exit status of dbtest program. * dbtest.c (compare): Exit with error indication if comparison of contents indicates a difference. (get): Exit with error indication after printing message if key not found. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14154 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LIBMINOR): BumpKen Raeburn2002-02-202-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14153 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LIBMINOR): BumpKen Raeburn2002-02-202-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14152 dc483132-0cff-0310-8789-dd5450dbe970
* prof_init.c, prof_tree.c: Fixed calls to ↵Alexandra Ellwood2002-01-233-3/+17
| | | | | | profile_update_file/profile_open_file to handle the possibility that we have lost permission to read one of the configuration files in the file list (say it's in AFS). We should only fail catastrophically if we can't read all of the files in the profile git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14116 dc483132-0cff-0310-8789-dd5450dbe970
* Check test results more carefully.Ken Raeburn2002-01-045-6/+28
| | | | | | Fix big-endian-64-bit bug in btree implementation (for sparcv9). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14086 dc483132-0cff-0310-8789-dd5450dbe970
* * update_utmp.c (PTY_GETUTXENT): Fix typo. Thanks to ShawnTom Yu2001-12-082-2/+16
| | | | | | | 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
* * test_profile.c (main): Call profile_release() before exitingEzra Peisach2001-12-052-0/+6
| | | | | | in case of error return. (memory leak testing) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14039 dc483132-0cff-0310-8789-dd5450dbe970
* Fix documentation bugSam Hartman2001-12-042-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14035 dc483132-0cff-0310-8789-dd5450dbe970
* Remove autoconf 2.13 from source tree. We require at least 2.13 now -Ezra Peisach2001-10-2558-42575/+0
| | | | | | and users to have the execuable in their path. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13848 dc483132-0cff-0310-8789-dd5450dbe970
* * reconf: Require autoconf 2.13. Remove support for local autoconfEzra Peisach2001-10-252-30/+31
| | | | | | tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13847 dc483132-0cff-0310-8789-dd5450dbe970