Commit Graph

90 Commits

Author SHA1 Message Date
Asanka Herath
6d132f1d7d Remove spurious slash when expanding path tokens
Path tokens that expand to directories are expected to end in a slash.
2010-05-26 10:38:42 -04:00
Asanka Herath
67c3295fcb KRB5_DEPRECATED should be prefixed to the declaration 2009-11-26 01:41:57 -05:00
Love Hornquist Astrand
86f4c66efd Merge branch 'master' into wip/win32-port2 2009-11-25 05:41:14 -08:00
Asanka Herath
93445a8133 Don't use Windows specific path tokens in lib/krb5/config_file.c 2009-11-24 10:19:49 -08:00
Asanka Herath
77fee77d0e Use path tokens in krb5_config_parse_file_multi() 2009-11-24 10:16:22 -08:00
Asanka Herath
9d42b10027 (krb5_config_parse_file_multi) Don't leak memory when the path tokens can't be expanded 2009-11-24 10:11:15 -08:00
Asanka Herath
b1063ea8fc Initial Windows port 2009-11-24 10:11:14 -08:00
Love Hornquist Astrand
7f628a0733 deprecated warning 2009-11-22 16:11:25 -08:00
Love Hornquist Astrand
a882971606 remove unused vars 2009-11-22 13:58:42 -08:00
Love Hornquist Astrand
afe4f3129b Read configuration plist on macs 2009-11-22 12:31:56 -08:00
Love Hornquist Astrand
4bcc97bd09 doxygen fix vget_time uses args 2009-09-01 12:44:23 -07:00
Love Hornquist Astrand
30f13f0d5b doxygen fix get_strings uses ... 2009-09-01 12:43:50 -07:00
Love Hornquist Astrand
31871b4990 deifne KRB5_DEPRECATED 2009-08-25 14:35:42 -07:00
Love Hornquist Astrand
400cc459fa deprecate krb5_config_parse_string_multi 2009-08-24 20:24:41 -07:00
Love Hornquist Astrand
46b48bc3e7 Document time function, krb5_config_parse_string_multi is not used 2009-08-24 19:52:10 -07:00
Love Hornquist Astrand
850f9be110 fix docxygen errors 2009-08-19 16:35:14 -07:00
Love Hornquist Astrand
bb381aaebf document krb5_config_*_{list,bool} 2009-08-18 18:35:05 +02:00
Love Hornquist Astrand
0c5eeab318 move functions to private space that have no external consumers 2009-08-18 16:29:28 +02:00
Love Hornquist Astrand
d8f6c9208b document krb5_config_*_string 2009-08-18 16:10:21 +02:00
Love Hornquist Astrand
574f8b6a6d document krb5_config_get_string 2009-08-18 16:05:21 +02:00
Love Hornquist Astrand
1aa17ecea6 document krb5_config_file_free 2009-08-18 16:01:32 +02:00
Love Hörnquist Åstrand
942a821fab remove RCSID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-04 06:17:40 +00:00
Love Hörnquist Åstrand
5c7b810f4f non have netinfo any more
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-25 16:26:50 +00:00
Love Hörnquist Åstrand
18d83c99de ENOMEM, not ret
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 09:02:08 +00:00
Love Hörnquist Åstrand
f0d769cccb set new filename
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24955 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 01:40:44 +00:00
Love Hörnquist Åstrand
27f682668f fix printf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 01:40:34 +00:00
Love Hörnquist Åstrand
240a220f87 Expand ~ to $HOME or pw_dir.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24935 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:35:42 +00:00
Love Hörnquist Åstrand
68d3cfe85c return the while list, not just the last entry.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23935 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:18:19 +00:00
Love Hörnquist Åstrand
d697ba5f85 return an error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:17:31 +00:00
Love Hörnquist Åstrand
44629d5ce4 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23931 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:17:15 +00:00
Love Hörnquist Åstrand
8eb11663ce add copy config
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:16:19 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
d542833a1f use krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:26:18 +00:00
Love Hörnquist Åstrand
854ef9a202 switch to krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:25:00 +00:00
Love Hörnquist Åstrand
487bcca4e2 Use strcspn to remove \n from fgets result. Prompted by change by Ray
Lai of OpenBSD via Björn Sandell.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 23:36:36 +00:00
Love Hörnquist Åstrand
4676501833 (krb5_config_vget_strings): IBM checker thought it found a memory
leak, it didn't, but there was another error in the code, lets fix
that instead.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16935 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 00:59:19 +00:00
Love Hörnquist Åstrand
c3579d1f6c rename to avoid shadowing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15446 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 20:25:20 +00:00
Love Hörnquist Åstrand
c9fb7b3e5c (krb5_config_vget_time_default): use krb5_string_to_deltat
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14275 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-30 11:22:48 +00:00
Love Hörnquist Åstrand
91351971f7 add KRB5_LIB_FUNCTION to all exported functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-25 21:46:46 +00:00
Johan Danielsson
5e02dc0ec1 allow parsing directly from strings with
krb5_config_parse_string_multi


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13798 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 07:14:28 +00:00
Love Hörnquist Åstrand
c5bd98ca49 (krb5_config_parse_file_debug): punt if there is binding before a
section declaration. Bug found by Arkadiusz Miskiewicz <arekm@pld-linux.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12999 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-13 13:20:46 +00:00
Love Hörnquist Åstrand
8f56b409d0 fix another int vs krb5_error_code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12828 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-12 15:12:08 +00:00
Love Hörnquist Åstrand
c82cfd62b2 fix prototypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12825 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-12 15:04:43 +00:00
Johan Danielsson
13718918cb don't use NULL when we mean 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11435 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-10 19:04:55 +00:00
Johan Danielsson
05b5c444ac allow the use of more than one config file by using the new function
krb5_config_parse_file_multi


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11096 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-14 17:35:03 +00:00
Johan Danielsson
cfa4ac53b6 constify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 09:59:20 +00:00
Johan Danielsson
74dd1b1c88 constify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 08:58:40 +00:00
Assar Westerlund
d27aa3b62e add some krb5_{set,clear}_error_string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-14 06:14:52 +00:00
Assar Westerlund
8f93d0ede7 (krb5_config_parse_file_debug): make sure of closing the file on error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8947 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-16 07:40:36 +00:00