summaryrefslogtreecommitdiffstats
path: root/src/util/profile
Commit message (Collapse)AuthorAgeFilesLines
* * Makefile.in: Revert $(S)=>/ change, for Windows supportKen Raeburn2002-08-292-2/+6
| | | | 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/+6
| | | | | | | 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
* Quote targets of some copy operations within the build tree. NeededKen Raeburn2002-08-272-1/+5
| | | | | | | 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
* Change $(S)=>/ and $(U)=>.. globallyKen Raeburn2002-08-232-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14761 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
* * 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-151-7/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14522 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
* * 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
* shlib version number updates from 1.2.x branchKen Raeburn2002-03-071-1/+2
| | | | 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
* * Makefile.in (LIBMINOR): BumpKen Raeburn2002-02-202-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14153 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
* * 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
* In directories building libraries, generate dependencies for .so/.po files tooKen Raeburn2001-10-201-7/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13828 dc483132-0cff-0310-8789-dd5450dbe970
* Update automatic dependencies to work on Windows by using $(OUTPRE) andKen Raeburn2001-10-111-13/+13
| | | | | | | $(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-104-83/+74
| | | | | | 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-062-1/+2
| | | | 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-066-24/+12
| | | | | | 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-045-43/+46
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13775 dc483132-0cff-0310-8789-dd5450dbe970
* dependenciesKen Raeburn2001-09-021-5/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13726 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
* * 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
* * 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
* * 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
* * krb5.conf: Test with trailing whitespace on "default_realm"Tom Yu2001-02-022-2/+7
| | | | | | line. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12990 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Use AC_C_CONST instead of AC_CONST andEzra Peisach2000-11-012-2/+7
| | | | | | AC_CHECK_FUNCS instead of AC_HAVE_FUNCS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12829 dc483132-0cff-0310-8789-dd5450dbe970
* * 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
* 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
* Change wsanchez@apple -> tritan@mitWilfredo Sanchez2000-06-011-2/+2
| | | | 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
* log tritan's changesTom Yu1999-10-261-0/+7
| | | | 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-261-3/+1
| | | | | | | 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
* 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
* 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
* prof_file.c (profile_open_file)Alexandra Ellwood1999-08-031-0/+6
| | | | | | | Mac OS side now sets profile->magic to PROF_MAGIC_FILE so the rest of the functions think it's a real profile. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11617 dc483132-0cff-0310-8789-dd5450dbe970
* Added line to initialize profile->magic on the Macintosh because all of the ↵Alexandra Ellwood1999-08-031-0/+1
| | | | | | other profile library functions check for it and do nothing if it isn't there git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11614 dc483132-0cff-0310-8789-dd5450dbe970
* Updating changelogJeffrey Altman1999-07-231-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11593 dc483132-0cff-0310-8789-dd5450dbe970
* If no filespecs are provided, then return an empty profileJeffrey Altman1999-07-231-9/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11590 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_int.h (profile_t): Delete typedef, since Miro changed prof_int.h toKen Raeburn1999-07-214-20/+25
| | | | | | | | include profile.h, which also has the typedef. * prof_file.c, prof_init.c: Fix typos and missed variable and type name changes from Miro's patch. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11571 dc483132-0cff-0310-8789-dd5450dbe970