Age | Commit message (Collapse) | Author | Files | Lines |
|
paths on all other OSes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11566 dc483132-0cff-0310-8789-dd5450dbe970
|
|
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11565 dc483132-0cff-0310-8789-dd5450dbe970
|
|
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11553 dc483132-0cff-0310-8789-dd5450dbe970
|
|
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11527 dc483132-0cff-0310-8789-dd5450dbe970
|
|
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11522 dc483132-0cff-0310-8789-dd5450dbe970
|
|
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11517 dc483132-0cff-0310-8789-dd5450dbe970
|
|
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11512 dc483132-0cff-0310-8789-dd5450dbe970
|
|
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11499 dc483132-0cff-0310-8789-dd5450dbe970
|
|
This log message includes all of the different changes across several
Makefile.in files (and win-pre.in and win-post.in):
- Remove "-" from recursive windows make invocations so that we can bail
on a build error. New MIGNORE option restores the previous bailing
behavior.
- Update windows readme to reflect current practices.
- Add NO_OUTDIR synonym for NO_OUTPRE in windows build.
- Top-level windows Makefile now builds util which now builds
util/windows, util/et, and util/profile (instead of building them
directly).
- Remove trailing backslash from rule that creates the windows output dir.
This backslash would cause the rule to always be invoked.
- Move WCONFIG and WCONFIG_EXE definitions into win-pre.in.
- Remove rules in include directory that blindly copy include header
files from gssapi, et, and profile. Instead, use/add build rules to
the components that generate them that copy only when the file changes.
- Use dependencies in include/krb5 to copy header files instead of blindly
copying them. Add !if 0/!endif wrapper to Unix version of the rules.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11464 dc483132-0cff-0310-8789-dd5450dbe970
|
|
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11444 dc483132-0cff-0310-8789-dd5450dbe970
|
|
line so that the shared libraries can be dynamically loaded. Also
make the library file executable, which is apparently also necessary.
(Patch from Duke, needed for SAP. Note: I didn't take their addition
of -lbsd, since I don't think that's needed or a good idea).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11443 dc483132-0cff-0310-8789-dd5450dbe970
|
|
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11432 dc483132-0cff-0310-8789-dd5450dbe970
|
|
ent.ut_pid is sometimes a short; accordingly, use pid rather than
ent.ut_pid, which might have gotten truncated. This fixes an Irix
problem found by <rbasch@mit.edu>.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11394 dc483132-0cff-0310-8789-dd5450dbe970
|
|
since it's the same as updwtmp(), and glibc doesn't define PATH_WTMPX.
updwtmpx() is not part of the XPG standard anyway. (Needed for RedHat
6.0.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11357 dc483132-0cff-0310-8789-dd5450dbe970
|
|
handle and throwing away any changes that might have been made before
they are flushed to disk.
prof_file.c (profile_close_file): Move functionality of freeing the
profile file to the new function profile_free_file().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11355 dc483132-0cff-0310-8789-dd5450dbe970
|
|
since there is a ChangeLog file which is different.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11345 dc483132-0cff-0310-8789-dd5450dbe970
|
|
on a system that cleans up the namespace that way.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11323 dc483132-0cff-0310-8789-dd5450dbe970
|
|
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11293 dc483132-0cff-0310-8789-dd5450dbe970
|
|
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11292 dc483132-0cff-0310-8789-dd5450dbe970
|
|
than errcode_t to avoid breaking other stuff that includes
profile.h.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11246 dc483132-0cff-0310-8789-dd5450dbe970
|
|
endlessly when searching an empty section.
* test_profile.c: Add code so that the "add" code will interpret
"NULL" as calling profile_add_relation with a null pointer
for the value.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11245 dc483132-0cff-0310-8789-dd5450dbe970
|
|
set errno when fopen fails to open a file. Work around this by
setting errno to PROF_FAIL_OPEN in this case.
prof_err.et: Add new error code PROF_FAIL_OPEN.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11238 dc483132-0cff-0310-8789-dd5450dbe970
|
|
batch mode.
prof_init.c (profile_flush): Add new public function for flushing
changes made to the profile.
prof_parse.c (profile_write_tree_file): Add official internal function
for flushing out a profile tree to a FILE *.
configure.in, prof_file.c (rw_access): Add new function which checks
to see whether we have read/write access, and emulate this for losing
non-POSIX OS's.
prof_file.c (profile_flush_file): Add support for writing modified
profile file's. Call profile_flush_file from profile_close_file().
Also fixed minor bugs in prof_tree.c which affected renaming sections and
modifying existing relations.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11237 dc483132-0cff-0310-8789-dd5450dbe970
|
|
profile_get_node_value, profile_find_node, profile_remove_node,
profile_set_relation_value, profile_rename_node. Rewrite
profile_find_node_relation and profile_find_node_subsection in terms
of profile_find_node.
prof_set.c, Makefile.in: Add a new file which exports the public
interfaces for setting profile entries.
prof_get.c, prof_init.c, prof_int.h: Add the KRB5_DLLIMP and
KRB5_CALLCONV to all of the various profile routines so they can be
properly exported via a Windows DLL.
prof_int.h: Add definition for the flags in the profile structure.
prof_err.et: Add new error codes PROF_SET_SECTION_VALUE, PROF_EINVAL,
PROF_READ_ONLY, and PROF_EXISTS.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11236 dc483132-0cff-0310-8789-dd5450dbe970
|
|
the internal rep invariants.
prof_tree.c (profile_verify_node): Fix bug in profile_verify_node in
the group_level test. Also make profile_verify_node check the return
code when it is recursively testing the child nodes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11189 dc483132-0cff-0310-8789-dd5450dbe970
|
|
"char *scratch".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11178 dc483132-0cff-0310-8789-dd5450dbe970
|
|
prevent conflicting definitions of struct sockaddr_in
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11174 dc483132-0cff-0310-8789-dd5450dbe970
|
|
since otherwise a numeric IP address won't fit.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11169 dc483132-0cff-0310-8789-dd5450dbe970
|
|
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11168 dc483132-0cff-0310-8789-dd5450dbe970
|
|
* libpty.h: Add prototype for make_sane_hostname.
* sane_hostname.c: New file; add function to "sanitize" hostname
for logging purposes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11165 dc483132-0cff-0310-8789-dd5450dbe970
|
|
prof_tree.c (profile_node_iterator): Added comments indicating that
profile_node_iterator, not being an exported interface, returns
pointers into the parse tree, and that values should be strdup()'ed
before returning them to a calling application.
prof_get.c (profile_iterator): Strdup the name and value strings
before returning them to the calling application.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11153 dc483132-0cff-0310-8789-dd5450dbe970
|
|
* et_h.awk: Fix to not depend on CPP symbol "unix".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11137 dc483132-0cff-0310-8789-dd5450dbe970
|
|
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11134 dc483132-0cff-0310-8789-dd5450dbe970
|
|
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11133 dc483132-0cff-0310-8789-dd5450dbe970
|
|
Makefile files for the following subdirectories to the top-level:
util, util/send-pr, util/dyn, lib, config-files, and gen-manpages.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11132 dc483132-0cff-0310-8789-dd5450dbe970
|
|
results of that test (WAIT_USES_INT).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11131 dc483132-0cff-0310-8789-dd5450dbe970
|
|
profile_node_iterator, not being an exported interface, returns
pointers into the parse tree, and that values should be strdup()'ed
before returning them to a calling application.
prof_get.c (profile_iterator): Strdup the name and value strings
before returning them to the calling application.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11124 dc483132-0cff-0310-8789-dd5450dbe970
|
|
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11113 dc483132-0cff-0310-8789-dd5450dbe970
|
|
iterator function is non-NULL before checking the magic value.
prof_file.c (profile_open_file): Add ability to parse filenames that
begin with "~/" and substitute it with "$HOME/".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11096 dc483132-0cff-0310-8789-dd5450dbe970
|
|
over values found in the profile file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11062 dc483132-0cff-0310-8789-dd5450dbe970
|
|
"#if !defined(unix)", since not all Unix compilers define "unix".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11051 dc483132-0cff-0310-8789-dd5450dbe970
|
|
!defined(unix)", since not all Unix compilers define "unix".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11050 dc483132-0cff-0310-8789-dd5450dbe970
|
|
return PROF_NO_RELATION, instead of an empty list.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11043 dc483132-0cff-0310-8789-dd5450dbe970
|
|
to buildtop and thisconfigdir, respectively.)
configure.in: Build the test script prtest for doing regression test
suites of the profile library.
prof_err.et (PROF_MAGIC_ITERATOR): Add a new error code for the magic
number for the iterator structure.
prof_file.c (profile_update_file): Increment the update serial number
when the profile file is re-read.
prof_tree.c (profile_make_node_final, profile_is_node_final): Add a
new attribute for a node, which is whether or not the node is "final".
This controls whether or not the next profile file should be searched
when looking up a key which matches the section named by the node.
(profile_node_iterator_create, profile_node_iterator_free,
profile_node_iterator): New functions which take a profile_t and
returns all of the names or values for a particular search key. This
iterator follows the rules of doing multiple profile file lookups
using the "final node" marker to stop searching subsequent profile
files.
prof_parse.c (parse_std_line): Add support for marking top level
sections, subsections, and individual nodes as final, using the '*'
character.
(dump_profile_to_file): Print finalized sections with the '*'
character.
prof_get.c: Update routines to use the iterators provided by
prof_tree.c.
prof_int.c: Add upd_serial member to the prf_file_t structure. Define
the symbolic flags used by the profile node iterator. Add function
declarations for profile_make_node_final, profile_is_node_final,
profile_node_iterator_create, profile_node_iterator_free,
profile_node_iterator, and profile_get_value.
test_profile.c: Add the query1 command which tests profile_get_value.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11038 dc483132-0cff-0310-8789-dd5450dbe970
|
|
pathname in a list of pathnames was nonexistent, an
error would be returned that they were all nonexistent.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11015 dc483132-0cff-0310-8789-dd5450dbe970
|
|
profile.hin: Added declarations for profile_free_list(),
profile_get_relation_names(), and profile_get_subsection_names().
(These are new public interfaces to the profile library.)
prof_int.h: Removed the profile_section_t structure, which was used
only by the now-defunct prof_section.c file. Added the internal
interfaces for the new public interfaces. Removed unused declarations
which were never implemented(profile_get, profile_update).
prof_init.c: Moved all of the profile querying functions
(profile_get_values(), profile_get_value(), etc.) to prof_get.c. In
the process, removed the really bletcherous (and badly implemented)
profile_get_first_values(), which did nothing like what the named
implied. Also added to prof_get.c new functions
profile_get_subsection_names() and profile_get_relation_names().
(profile_ser_internalize): Rewrote error handling to be clearer, and
removed a bug where memory was not freed correctly in an error case.
(profile_init): If a list of pathnames is passed in, profile_init will
now try to open all of them, now that we've defined query fallback
semantics in prof_get.c
prof_parse.c: Fix lint warning.
prof_tree.c (profile_find_node_relation,
profile_find_node_subsection): Allow the returned value or subsection
field to be NULL (in case the caller isn't interested in getting the
returned value or subsection, and only cares about getting the name).
(profile_delete_node_relation, profile_delete_interior_node_relation):
Removed these functions and replaced it with profile_remove_node(),
which takes a boolean argument section_flag.
(profile_find_node_name): Removed this function. (This was a
Cygnus/Fusion special used by the now removed
profile_find_first_values() function.)
test_profile.c: Added commands to test the new
profile_get_subsection_names() and profile_get_relation_names()
interfaces.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11011 dc483132-0cff-0310-8789-dd5450dbe970
|
|
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11001 dc483132-0cff-0310-8789-dd5450dbe970
|
|
e.g. for beta releases.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10936 dc483132-0cff-0310-8789-dd5450dbe970
|
|
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
|
|
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
|