summaryrefslogtreecommitdiffstats
path: root/src/util/profile
Commit message (Collapse)AuthorAgeFilesLines
...
* pull up 3des implementation from the marc-3des branchMarc Horowitz1998-10-303-1/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11001 dc483132-0cff-0310-8789-dd5450dbe970
* prof_tree.c: (profile_delete_node_relation): Fix bug where deleting aTheodore Tso1998-08-072-10/+18
| | | | | | | | | | node would corrupt the linked list. (profile_add_node): Fix another linked list corruption problem where an insertion into the middle of the linked list didn't update a previous link. [krb5-libs/615] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10784 dc483132-0cff-0310-8789-dd5450dbe970
* Replaced preprocessor symbol _MACINTOSH with macintosh, since macintosh is ↵Miro Jurisic1998-07-172-2/+2
| | | | | | the standard symbol defined by all Mac compiler (oh, sure, it doesn't have _. but at least it's always there) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10653 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Integrate in the krb5 build tree rules.Ezra Peisach1998-03-023-5/+16
| | | | | | | | | | | (use CC_LINK, etc). * configure.in: Add AC_BUILD_PROGRAM for test programs. These changes allow --enable-profiled combined with --disable-static to function in the build tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10492 dc483132-0cff-0310-8789-dd5450dbe970
* Remove trailing slash from thisconfigdir. Change directory syntaxTom Yu1998-02-182-2/+7
| | | | | | used in BUILDTOP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10464 dc483132-0cff-0310-8789-dd5450dbe970
* Mass makefile/configure.in build system revampTheodore Tso1998-02-123-1/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10424 dc483132-0cff-0310-8789-dd5450dbe970
* prof_parse.c (parse_std_line, parse_quoted_string, need_double_quotes,Theodore Tso1998-01-243-8/+122
| | | | | | | | | | output_quoted_string, dump_profile, dump_profile_to_file): Vastly improved the profile parsing; whitespace at the end of lines are now ignored. Added quoted string parsing, complete with backquote processing. Strings which need to be quoted are properly quoted on output. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10373 dc483132-0cff-0310-8789-dd5450dbe970
* Fix stupid spelling typoTheodore Tso1997-03-251-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10029 dc483132-0cff-0310-8789-dd5450dbe970
* Moved some of the library list file build logic from the individual MakefilesRichard Basch1997-02-232-6/+6
| | | | | | to config/win-post.in git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9964 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure KRB5_DLLIMP/KRB5_CALLCONV are definedRichard Basch1997-02-181-0/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9902 dc483132-0cff-0310-8789-dd5450dbe970
* Export profile_get_values() for krb4 library (win16/win32)Richard Basch1997-02-184-28/+34
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9888 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed variable name for Windows buildRichard Basch1997-02-161-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9877 dc483132-0cff-0310-8789-dd5450dbe970
* The libhack merge lost all the windows build instructions... fixed..Richard Basch1997-02-152-5/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9867 dc483132-0cff-0310-8789-dd5450dbe970
* Merge of libhack_branchTom Yu1997-02-093-26/+22
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9831 dc483132-0cff-0310-8789-dd5450dbe970
* prof_int.h: Include "com_err.h" instead of redeclaring errcode_tRichard Basch1997-02-082-10/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9819 dc483132-0cff-0310-8789-dd5450dbe970
* profile.hin: Do not multiply process the contents of this fileRichard Basch1997-02-063-13/+10
| | | | | | test_parse.c: Do not include "com_err.h" (typedef conflict) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9792 dc483132-0cff-0310-8789-dd5450dbe970
* Windows/NT integration (V1_0_WIN32_BRANCH merge)Richard Basch1997-02-062-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9788 dc483132-0cff-0310-8789-dd5450dbe970
* Accept either ';' or '#' on the first line of a string as a commentTheodore Tso1996-11-052-1/+6
| | | | | | character. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9294 dc483132-0cff-0310-8789-dd5450dbe970
* On Windows builds, add -DHAVE_STDLIB_HTheodore Tso1996-07-132-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8704 dc483132-0cff-0310-8789-dd5450dbe970
* Only include stdlib.h if it's availableTheodore Tso1996-06-249-0/+21
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8547 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: remove ref to ET_RULESTom Yu1996-06-142-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8360 dc483132-0cff-0310-8789-dd5450dbe970
* test_profile.c: Add usage message if not enough argumentsTheodore Tso1996-06-127-15/+58
| | | | | | | | | | | | | | | prof_parse.c (dump_profile_to_file, dump_profile): Dump the profile using the correct line terminator for Windows, Macintosh, etc. prof_parse.c: prof_file.c: Change _WINDOWS to _MSDOS, and add check for _WIN32. prof_int.h: Add size #defines for _WIN32. Handle prototypes correctly for _WIN32. prof_int.h: Added comment to profile state structure git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8318 dc483132-0cff-0310-8789-dd5450dbe970
* cvsignore hackeryTom Yu1996-06-101-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8288 dc483132-0cff-0310-8789-dd5450dbe970
* Make parsing more flexible, so we don't barf over lack of spacesTheodore Tso1996-02-143-16/+21
| | | | | | around the equals sign. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7479 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.conf: use host:portnum in example files, not host,portnumMark Eichin1996-01-272-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7404 dc483132-0cff-0310-8789-dd5450dbe970
* * profile.hin: Add profile_init_path prototypeEzra Peisach1996-01-112-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7307 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for the stat call, since profile_update_fileTheodore Tso1995-12-213-4/+24
| | | | | | | | | | | needs to know whether it exists. (It doesn't on the Mac.) * prof_file.c (profile_update_file): Change use of HAS_STAT to HAVE_STAT, to confirm with autoconf test. If the stat() call does not exist, assume that our in-core memory image is correct, and never re-read the profile file unless we explicitly close it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7242 dc483132-0cff-0310-8789-dd5450dbe970
* Remove ##DOS!include of config/windows.in. config/windows.in is nowTheodore Tso1995-10-072-1/+5
| | | | | | included by wconfig. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6944 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_init.c (profile_init_path): Add const declarationsEzra Peisach1995-10-022-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6923 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_init.c (profile_init_path): takes a single string entryMark Eichin1995-10-023-0/+77
| | | | | | | | | | | that has pathnames seperated by colons, and splits it into file names for profile_init. No provision for quoting colons in pathnames, but shells don't solve that either. * prof_init.c (profile_init): handle multiple input files by grabbing the first one that doesn't return ENOENT. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6914 dc483132-0cff-0310-8789-dd5450dbe970
* Removed "foo:: foo-$(WHAT)" lines from the MakefileTheodore Tso1995-09-252-6/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6855 dc483132-0cff-0310-8789-dd5450dbe970
* prof_int.h: added SIZEOF defines for the PC, and added missingTheodore Tso1995-09-233-9/+18
| | | | | | | | prototype for profile_find_node_name() prof_init.c (profile_get_first_values): Remove unused variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6817 dc483132-0cff-0310-8789-dd5450dbe970
* Convert C+ comment to older 'standard' C style commentEzra Peisach1995-09-112-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6751 dc483132-0cff-0310-8789-dd5450dbe970
* Mac Beta 1 submissionKeith Vetter1995-09-114-0/+175
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6749 dc483132-0cff-0310-8789-dd5450dbe970
* Add serialization support for profilePaul Park1995-08-293-0/+183
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6631 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_parse.c (strip_line,parse_line): Declare as staticEzra Peisach1995-08-153-3/+25
| | | | | | | | * prof_int.h: Add missing prototypes Cleanup -Wmissing_prototypes complaints git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6533 dc483132-0cff-0310-8789-dd5450dbe970
* prof_int.h must be included after stdio.h for prototypesEzra Peisach1995-07-062-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6234 dc483132-0cff-0310-8789-dd5450dbe970
* Changes for Macintosh implementationKeith Vetter1995-07-064-3/+24
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6229 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Remove standardized set of autoconf macros, which areTheodore Tso1995-06-092-2/+5
| | | | | | now handled by CONFIG_RULES. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6015 dc483132-0cff-0310-8789-dd5450dbe970
* Add install targetTheodore Tso1995-06-082-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5986 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for building shared librariesTheodore Tso1995-05-271-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5904 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for building shared librariesTheodore Tso1995-05-273-2/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5903 dc483132-0cff-0310-8789-dd5450dbe970
* Include prof_int.h. This programs relies on internal functions andEzra Peisach1995-05-092-1/+6
| | | | | | structures. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5764 dc483132-0cff-0310-8789-dd5450dbe970
* prof_init.c (profile_get_values): Return PROF_NO_PROFILE if theTheodore Tso1995-05-053-0/+11
| | | | | | | | passed-in profile variable is NULL (instead of core dumping). prof_err.et (PROF_NO_PROFILE): Defined new error code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5727 dc483132-0cff-0310-8789-dd5450dbe970
* prof_tree.c (profile_free_node): Copy child->next to a scratchTheodore Tso1995-05-053-3/+10
| | | | | | | pointer before freeing the node; otherwise we have to dereference a freed object. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5725 dc483132-0cff-0310-8789-dd5450dbe970
* Update .Sanitize file to reflect new files that have been added and deletedTheodore Tso1995-05-041-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5723 dc483132-0cff-0310-8789-dd5450dbe970
* Don't try to strip an empty line. This causes memory reference errorTheodore Tso1995-04-282-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5630 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (clean-unix): Remove profile.h and test_profileTheodore Tso1995-04-282-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5604 dc483132-0cff-0310-8789-dd5450dbe970
* and it needs PROTOTYPE() around it..Mark Eichin1995-04-272-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5567 dc483132-0cff-0310-8789-dd5450dbe970
* * test_parse.c (main): can't make function declarations local toMark Eichin1995-04-272-1/+7
| | | | | | functions under SunOS cc. (dump_profile) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5566 dc483132-0cff-0310-8789-dd5450dbe970