summaryrefslogtreecommitdiffstats
path: root/src/util
Commit message (Collapse)AuthorAgeFilesLines
...
* Permit building against either the in-tree version of db2 or a system versionKen Raeburn2002-09-132-1/+6
| | | | | | specified at configure time. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14855 dc483132-0cff-0310-8789-dd5450dbe970
* * depfix.sed: Replace db2 headers with $(DB_DEPS)Ken Raeburn2002-09-132-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14851 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LOCALINCLUDES): Don't reference et directory.Ken Raeburn2002-09-112-10/+13
| | | | | | (dependencies updated) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14838 dc483132-0cff-0310-8789-dd5450dbe970
* Move all depfix2.sed generation into depgen.sed, so ".." in $(srcdir) andKen Raeburn2002-09-112-4/+69
| | | | | | $(BUILDTOP) can be properly quoted, and won't match names like "ss". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14837 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LOCALINCLUDES): Drop references to .. and et directories inKen Raeburn2002-09-112-2/+8
| | | | | | | source and build trees. (depend-prerecurse): Depend on 'includes'. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14836 dc483132-0cff-0310-8789-dd5450dbe970
* use stdint.h and inttypes.h if availableKen Raeburn2002-09-054-1/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14833 dc483132-0cff-0310-8789-dd5450dbe970
* * reconf: Give up if autoreconf failsKen Raeburn2002-09-032-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14818 dc483132-0cff-0310-8789-dd5450dbe970
* * mkrel: set -e to catch errors. Only build and clean autoconf ifTom Yu2002-09-032-7/+17
| | | | | | it exists. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14817 dc483132-0cff-0310-8789-dd5450dbe970
* * acconfig.h: Remove file. All handled by configure.in nowEzra Peisach2002-09-032-15/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14813 dc483132-0cff-0310-8789-dd5450dbe970
* * com_err.c (default_com_err_proc, com_err_va, set_com_err_hook): Define ↵Ken Raeburn2002-09-022-16/+13
| | | | | | with prototype syntax git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14809 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (MY_SUBDIRS) [##WIN32##]: Hide variable definition inside "!if 0"Ken Raeburn2002-08-302-0/+11
| | | | | | block. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14807 dc483132-0cff-0310-8789-dd5450dbe970
* rename macros in last makefile.in change to use _ instead of - in namesKen Raeburn2002-08-292-7/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14799 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (MAYBE_ET-k5, MAYBE_ET-sys, MAYBE_SS-k5, MAYBE_SS-sys): NewKen Raeburn2002-08-292-1/+12
| | | | | | | variables. (MY_SUBDIRS): Refer to them, choosing via new configure substitutions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14797 dc483132-0cff-0310-8789-dd5450dbe970
* * depfix.sed: Replace in-tree ss header files with $(SS_DEPS)Ken Raeburn2002-08-292-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14790 dc483132-0cff-0310-8789-dd5450dbe970
* * pty_err.et: Add final "end" statementKen Raeburn2002-08-292-0/+4
| | | | 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-2920-15/+45
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14786 dc483132-0cff-0310-8789-dd5450dbe970
* Ignore a bunch of files generated by building in the source tree, excludingKen Raeburn2002-08-291-0/+11
| | | | | | | | | those covered by CVSROOT/cvsignore patterns. Static UNIX build only, at the moment, may need updates for other configurations. (Second try; this time, deal with the cases where "cvs add"/"cvs ci" choked on previously deleted versions numbered 5.x.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14785 dc483132-0cff-0310-8789-dd5450dbe970
* 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