| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
"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
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10635 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10633 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix static libs on platforms using .a for shared libs
* Fix utmp handling for non-hpux platforms with ut_exit different from utmpx.
* Include librarymacros in ss configure.in
* Remove declarations of h_errno
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10632 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10628 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
with CodeWarrior changes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10617 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
not EOF.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10550 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
exist yet.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10522 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
entries, as they confuse last on some systems. [pty/569]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10520 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
making sure that functions have return types declared.
* ss_internal.h: Add ss_pager_create prototype.
* ss.h: Add ss_list_requests prototype.
* request_tbl.c (ss_add_request_table, ss_delete_request_table):
Declare function types as void.
* prompt.c (ss_set_prompt): Declare function as void.
* listen.c (ss_quit): Int function should return a value.
* list_rqs.c (ss_list_requests): Fix arguments to match proper
prototype for a ss type handler.
* execute_cmd.c (ss_execute_command): Declare as returning int
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10504 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10500 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
PTY_LOGIN_PROCESS types on BSD-ish systems.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10499 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
| |
used in BUILDTOP.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10464 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10446 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10445 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
| |
* hash/hash_page.c (page_to_oaddr):
(is_bitmap_pgno): Declare static to avoid leaking symbols.
* hash/search.h: Additional renaming.
* hash/hash_log2.c (__log2): Rename explicitly.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10444 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10443 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10442 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10441 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
header files.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10436 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
| |
collision with NetBSD libc.
* hash/dbm.c: Rename lots of functions to avoid colliding with
native dbm implementations.
* db/db.c (kdb2_dbopen): Rename to avoid colliding with NetBSD
libc.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10431 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
| |
* db-ndbm.h: Rename lots of functions to avoid collisions with
native dbm implementations.
* db-int.h: Rename __hash_open to avoid potential collision with
NetBSD libc.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10430 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10424 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* clib/mkstemp.c: Added O_BINARY for __CYGWIN32__.
* db/db.c: Added O_BINARY for __CYGWIN32__.
* hash/dbm.c: Added O_BINARY for __CYGWIN32__.
* hash/hash.c: Added O_BINARY for __CYGWIN32__.
* hash/hsearch.c: Added O_BINARY for __CYGWIN32__.
* include/db-int.h: Added O_BINARY for __CYGWIN32__.
* recno/rec_open.c: Added O_BINARY for __CYGWIN32__.
* test/dbtest.c: Added O_BINARY for __CYGWIN32__.
* test/SEQ_TEST/t.c: Added O_BINARY for __CYGWIN32__.
* test/btree.tests/main.c: Added O_BINARY for __CYGWIN32__.
* test/hash1.tests/driver2.c: Added O_BINARY for __CYGWIN32__.
* test/hash1.tests/tcreat3.c: Added O_BINARY for __CYGWIN32__.
* test/hash1.tests/tdel.c: Added O_BINARY for __CYGWIN32__.
* test/hash1.tests/thash4.c: Added O_BINARY for __CYGWIN32__.
* test/hash1.tests/tread2.c: Added O_BINARY for __CYGWIN32__.
* test/hash1.tests/tseq.c: Added O_BINARY for __CYGWIN32__.
* test/hash1.tests/tverify.c: Added O_BINARY for __CYGWIN32__.
* test/hash2.tests/bigtest.c: Added O_BINARY for __CYGWIN32__.
* test/hash2.tests/passtest.c: Added O_BINARY for __CYGWIN32__.
Changes originally by Jeremy Allison (jra@cygnus.com)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10364 dc483132-0cff-0310-8789-dd5450dbe970
|