summaryrefslogtreecommitdiffstats
path: root/src/util
Commit message (Collapse)AuthorAgeFilesLines
...
* * krb5.conf: Test with a space after ']' and '{'Ezra Peisach2000-08-023-3/+14
| | | | | | | * prof_parse.c (parse_std_line): Spaces after '{' or ']' should not be a fatal error. This is a common lossage in krb5.conf files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12595 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_init.c: Cleanup internal type warnings in calls to profile_initEzra Peisach2000-07-245-8/+23
| | | | | | | | | | | | * test_parse.c (main): Cast arguments to error_message. * prof_file.c (profile_open_file): Variable with argument to malloc should be unsigned. * profile.hin: Revert changes to const_profile_filespect_t and profile_filespec_t to preserve interface. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12585 dc483132-0cff-0310-8789-dd5450dbe970
* * et_c.awk: Actually define NOARGS as needed. Add prototype forEzra Peisach2000-07-242-0/+9
| | | | | | error table initiialization function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12584 dc483132-0cff-0310-8789-dd5450dbe970
* * test/dbtest.c: Cleanup gcc -Wall complaints with printf formatEzra Peisach2000-07-042-12/+20
| | | | | | strings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12532 dc483132-0cff-0310-8789-dd5450dbe970
* Added prototype for ss_create_invocation()Ezra Peisach2000-07-032-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12525 dc483132-0cff-0310-8789-dd5450dbe970
* * test_ss.c (main): Change usage of ss_listen to agree withEzra Peisach2000-07-033-2/+10
| | | | | | | | prototype. * ss.h: Add prototype for ss_listen() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12522 dc483132-0cff-0310-8789-dd5450dbe970
* * recno/rec_seq.c: Include unused sccsid when LIBC_SCCS definedEzra Peisach2000-07-039-11/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | * recno/rec_close.c (__rec_close): Explicit braces to avoid ambiguous `else' * btree/bt_split.c (bt_psplit): Parenthesis about && and || conditional. * btree/bt_put.c (__bt_put): Extra {} to make nested if/else unambiguous. * btree/bt_open.c (__bt_open): Add parenthesis to ensure precedence ordering. * hash/dbm.c (kdb2_dbm_firstkey): Conditionalize defintion of variables based on use. * hash/hash_func.c: Ifdef out unused static hash functions. * hash/hash.c (init_htab): Remove unused variable. gcc -Wall warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12515 dc483132-0cff-0310-8789-dd5450dbe970
* back out format-attribute changeKen Raeburn2000-07-022-5/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12510 dc483132-0cff-0310-8789-dd5450dbe970
* * clib/strerror.c: #include config.hTom Yu2000-07-017-13/+43
| | | | | | | | | | | | | | | | | * clib/mkstemp.c: #include config.h. * clib/memmove.c: #include config.h. * clib/Makefile.in (LOCALINCLUDES): Add -I../include to get config.h. * configure.in: Generate two config headers, one for internal use and one for external use. Rework clib replacement code to use AC_DEFINE rather than ADD_DEF. * Makefile.in (STOBJLISTS): Add clib. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12505 dc483132-0cff-0310-8789-dd5450dbe970
* * db-config.h.in: New file; contains useful tidbits fromTom Yu2000-07-014-3/+44
| | | | | | | | | | | | | config.h.in generated by autoheader. It is needed because config.h.in has some thing we don't want to leak, like renaming of missing libc functions. * .cvsignore: Twiddle to reflect current reality. * db-int.h: #include config.h since db.h includes db-config.h which is not quite the same now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12504 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (all-unix, clean_unix): Removed util/db2 includeTom Yu2000-06-302-21/+3
| | | | | | symlinking rules. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12494 dc483132-0cff-0310-8789-dd5450dbe970
* add include file copyingTom Yu2000-06-301-2/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12493 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (all-unix, clean_unix): Update for current geographyTom Yu2000-06-302-7/+10
| | | | | | | of util/db2; needs to be moved to util/db2/Makefile.in at some point. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12489 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Rework to use krb5 build systemTom Yu2000-06-3010-23/+149
| | | | | | | | | | | | | | | | | | * Makefile.in: Rework to use krb5 build system. * btree/Makefile.in: New file. * clib/Makefile.in: New file. * db/Makefile.in: New file. * mpool/Makefile.in: New file. * recno/Makefile.in: New file. * test/Makefile.in: New file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12487 dc483132-0cff-0310-8789-dd5450dbe970
* * db-int.h: Remove renaming for memmove, strerror, mkstemp sinceTom Yu2000-06-302-12/+5
| | | | | | this is now done by the build system. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12486 dc483132-0cff-0310-8789-dd5450dbe970
* Move .cvsignore from obj to include to reflect the discontinuation ofTom Yu2000-06-303-174/+1
| | | | | | the obj directory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12485 dc483132-0cff-0310-8789-dd5450dbe970
* * pty-int.h: Add getutmpx() prototype if neededEzra Peisach2000-06-303-0/+33
| | | | | | | | | | | | | * configure.in: If getutmpx() exists on the system, test if a prototype is provided by the system headers. This was picked up by gcc -Wall. Under Linux glibc 2.1, the system header file <utmpx.h> provides a prototype for getutmpx() only if _GNU_SOURCE is defined (GNU extensions). The test offeres a prototype (which matches in this case) - if the prototype conflicts with a system provided one, we do not provide it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12477 dc483132-0cff-0310-8789-dd5450dbe970
* dyn_insert.c, dyn_put.c: Include string.h for memmove prototypeEzra Peisach2000-06-293-1/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12463 dc483132-0cff-0310-8789-dd5450dbe970
* * getpty.c (pty_getpty): More conditionalizing variable defintionEzra Peisach2000-06-295-3/+19
| | | | | | | | | | | | | | based on OS features. * cleanup.c (pty_cleanup): Add parenthesis about assignment in conditional (gcc suggestion). * pty-int.h: Include pty.h if it exists (for openpty prototype under Linux). * configure.in: Check for pty.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12451 dc483132-0cff-0310-8789-dd5450dbe970
* * dyn_create.c, dyn_delete.c, dyn_insert.c, dyn_put.c: Use %pEzra Peisach2000-06-285-8/+13
| | | | | | format for displaying pointers git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12444 dc483132-0cff-0310-8789-dd5450dbe970
* * libpty.h: If SOCK_DGRAM is not defined, provide a definition forEzra Peisach2000-06-266-6/+33
| | | | | | | | | | | | | | struct sockaddr_in to satisfy prototype. (based on similar code in k5-int.h). * update_wtmp.c (ptyint_update_wtmp), update_utmp.c (pty_update_utmp), open_slave.c (pty_open_slave), getpty.c (pty_getpty): conditionalize definition of variables based on code paths that are included. Essentially, clean up many compiler warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12438 dc483132-0cff-0310-8789-dd5450dbe970
* Fix email address in ChangeLogEzra Peisach2000-06-261-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12437 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_init.c (profile_init_path): Use profile_filespec_t insteadEzra Peisach2000-06-263-8/+17
| | | | | | | | | | | of char *. (change provided by Nathan Neulinger <nneul@umr.edu>) * profile.hin: Make definition of const_profile_filespec_t to be based on profile_filespec_t. Compile time warnings cleanup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12436 dc483132-0cff-0310-8789-dd5450dbe970
* * dyn_realloc.c: Remove unused variableEzra Peisach2000-06-262-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12435 dc483132-0cff-0310-8789-dd5450dbe970
* * btree/bt_put.c (__bt_put): Initialize "e"Ken Raeburn2000-06-262-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12434 dc483132-0cff-0310-8789-dd5450dbe970
* * dbtest.c (err): Add format attribute to decl, for typechecking under GNU CKen Raeburn2000-06-262-1/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12433 dc483132-0cff-0310-8789-dd5450dbe970
* * com_err.h (com_err): Declare with format attribute if using gccKen Raeburn2000-06-262-1/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12432 dc483132-0cff-0310-8789-dd5450dbe970
* merge from krb5-1-2-beta4Ken Raeburn2000-06-2311-27/+61
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12426 dc483132-0cff-0310-8789-dd5450dbe970
* Change wsanchez@apple -> tritan@mitWilfredo Sanchez2000-06-018-16/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12331 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-05-15 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood2000-05-152-6/+14
| | | | | | | | | * prof_get.c: prof_parse_boolean () was missing some curly brackets and was failing to check all the values in the list of possible strings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12257 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-04-03 Jeffrey Altman <jaltman@columbia.edu>Jeffrey Altman2000-04-042-1/+7
| | | | | | | | * prof_get.c: profile_get_boolean() was calling prof_parse_boolean() instead of profile_get_boolean() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12148 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-04-03 Jeffrey Altman <jaltman@columbia.edu>Jeffrey Altman2000-04-042-6/+12
| | | | | | | | * prof_get.c: . Added #include <limits.h> for definitions of INT_MAX, etc. . Changed 'ret_int' to 'ret_boolean' in prof_get_boolean git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12147 dc483132-0cff-0310-8789-dd5450dbe970
* Added profile_get_booleanMiro Jurisic2000-03-245-1/+97
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12136 dc483132-0cff-0310-8789-dd5450dbe970
* Include string.h for strlen prototypeEzra Peisach2000-03-182-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12127 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (com_err.o): Depends on com_err.cKen Raeburn2000-02-282-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12089 dc483132-0cff-0310-8789-dd5450dbe970
* * getopt.c, getopt_long.c, getopt.h: Update to latest BSD codeDanilo Almeida2000-02-045-40/+341
| | | | | | | | found (from NetBSD). * Makefile.in: Build getopt.lib which includes getopt.obj and getopt_long.obj. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11990 dc483132-0cff-0310-8789-dd5450dbe970
* * listen.c (ss_listen): Local var END should be volatileKen Raeburn2000-02-022-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11987 dc483132-0cff-0310-8789-dd5450dbe970
* * error_message.c, error_table.h: Added support to use ErrorLib Alexandra Ellwood1999-10-281-0/+6
| | | | | | | to get MIT Support Library and Mac OS Toolbox error codes (similar to the way windows does it). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11888 dc483132-0cff-0310-8789-dd5450dbe970
* Added support to use ErrorLib to get MIT Support Library and Mac OS Toolbox ↵Alexandra Ellwood1999-10-282-2/+20
| | | | | | error codes (similar to the way windows does it) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11886 dc483132-0cff-0310-8789-dd5450dbe970
* log tritan's changesTom Yu1999-10-268-0/+56
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11877 dc483132-0cff-0310-8789-dd5450dbe970
* Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES, LOCAL_INCLUDES suchWilfredo Sanchez1999-10-268-53/+49
| | | | | | | that one can override CFLAGS from the command line without losing CPP search patchs and defines. Some associated Makefile cleanup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11876 dc483132-0cff-0310-8789-dd5450dbe970
* copyright notice updates from 1.1 branchKen Raeburn1999-09-2422-15/+81
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11853 dc483132-0cff-0310-8789-dd5450dbe970
* Danilo's const_profile_filespec_t and other changes from 1.1 branchKen Raeburn1999-09-016-14/+32
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11766 dc483132-0cff-0310-8789-dd5450dbe970
* Removed com_err functions from profile.expMiro Jurisic1999-08-182-3/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11681 dc483132-0cff-0310-8789-dd5450dbe970
* Added et.expMiro Jurisic1999-08-182-0/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11680 dc483132-0cff-0310-8789-dd5450dbe970
* * mkrel (reldate): Fix to deal with release branch snapshotsTom Yu1999-08-172-1/+27
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11666 dc483132-0cff-0310-8789-dd5450dbe970
* * README.NOT.SLEEPYCAT.DB: New file; pointer to README toTom Yu1999-08-164-41/+70
| | | | | | | | | | | hopefully unconfuse people. * README: Add notice to the effect that this is not Berkeley or Sleepycat DB. * README.db2: Renamed from README. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11661 dc483132-0cff-0310-8789-dd5450dbe970
* Remove profile_free_string because we already have profile_release_stringDanilo Almeida1999-08-053-13/+2
| | | | | | (who named these things anyhow?) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11623 dc483132-0cff-0310-8789-dd5450dbe970
* Add profile_free_string to free strings allocated by profile_get_stringDanilo Almeida1999-08-053-0/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11622 dc483132-0cff-0310-8789-dd5450dbe970
* Update dump-utmp from KerbNet 1.2.Ken Raeburn1999-08-034-30/+109
| | | | | | | Add makefile rules for building dump-utmp on request. Fix line id for console on Solaris. (PR561) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11618 dc483132-0cff-0310-8789-dd5450dbe970