Commit Graph

1400 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
0d38426bfb avoid shadowing sin
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15417 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 17:49:29 +00:00
Love Hörnquist Åstrand
cd2b132777 rename optind to optidx to avoid shadowing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15415 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 16:58:45 +00:00
Love Hörnquist Åstrand
1f37d21729 UNCONST return value from strptime
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15414 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 16:57:08 +00:00
Love Hörnquist Åstrand
e21b42f40c rk_UNCONST argument mktime
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15413 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 16:55:55 +00:00
Love Hörnquist Åstrand
101d943acc avoid shadowing sin
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15412 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 16:53:09 +00:00
Love Hörnquist Åstrand
761bb32c40 (parse_record): fix casting to avoid losing const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15411 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 16:46:16 +00:00
Love Hörnquist Åstrand
601faffba8 add rk_UNCONST that can be used to unconstify variables to avoid
api problems that -Wcast-qual will detect


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15410 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 16:39:42 +00:00
Love Hörnquist Åstrand
9dc4717476 since we got no feedback regarding people running heimdal on the
crays, remove the quoted # version


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15409 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 16:29:58 +00:00
Love Hörnquist Åstrand
d6777fe3f7 rename index to idx to avoid shadowing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15408 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 16:27:35 +00:00
Love Hörnquist Åstrand
6037e01bd0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15288 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 21:32:58 +00:00
Love Hörnquist Åstrand
6d7988fa1b avoid signedness warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15287 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 21:21:12 +00:00
Love Hörnquist Åstrand
0f973fb603 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15244 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-27 13:37:59 +00:00
Love Hörnquist Åstrand
3521604ac0 include "roken.h" to avoid undefined size_t/ssize_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15243 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-27 13:37:47 +00:00
Love Hörnquist Åstrand
a236332d81 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15219 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-24 11:39:19 +00:00
Love Hörnquist Åstrand
33d883090d (snprintf_test_SOURCES): Add snprintf-test.h.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15218 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-24 11:39:01 +00:00
Love Hörnquist Åstrand
9fe35267a4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-20 08:16:16 +00:00
Love Hörnquist Åstrand
936247b01e (rk_read_env_file): move assignment to later to make pre c99 compiler happy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-20 07:50:56 +00:00
Love Hörnquist Åstrand
efd0eb5184 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-18 09:55:29 +00:00
Love Hörnquist Åstrand
5802e5f856 use english spelling of March
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15173 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-18 09:54:53 +00:00
Johan Danielsson
5fb1d21f44 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-17 09:09:52 +00:00
Johan Danielsson
2b08f81bbf only link with dblib if we need it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-17 09:09:49 +00:00
Johan Danielsson
1b8f47a97e add test_readenv
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-17 09:03:40 +00:00
Johan Danielsson
d1683c4b12 test for read_environment()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-17 09:02:57 +00:00
Johan Danielsson
3b147c4bdd eliminate duplicates
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-17 09:02:32 +00:00
Love Hörnquist Åstrand
834a97a1df x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-13 07:42:19 +00:00
Love Hörnquist Åstrand
2b2439af68 (issuid): change the #ifdef order to avoid unreachable code warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-13 07:42:03 +00:00
Love Hörnquist Åstrand
570ef02561 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-11 13:04:23 +00:00
Love Hörnquist Åstrand
052dd71f3d Get daemon declared on Solaris (it's in unistd.h but masked by a
feature test), just to avoid a warning, since it has int args.
Include err.h unconditionally, since it's always supplied.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15129 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-11 13:04:04 +00:00
Love Hörnquist Åstrand
e419ac333a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15082 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-04 11:57:11 +00:00
Love Hörnquist Åstrand
30c7adf3d3 Include snprintf-test.h earlier.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15081 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-04 11:56:56 +00:00
Love Hörnquist Åstrand
d0993b3ed9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15074 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 16:52:42 +00:00
Love Hörnquist Åstrand
f5eaee70f2 Include snprintf-test.h earlier.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15073 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 16:49:34 +00:00
Love Hörnquist Åstrand
22c95cf623 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 10:55:56 +00:00
Love Hörnquist Åstrand
e4e152ebe7 Add member fd to map.
(rk_test_mem_alloc, rk_test_mem_free): Use it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 10:53:10 +00:00
Love Hörnquist Åstrand
48870fb07a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15039 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:47:35 +00:00
Love Hörnquist Åstrand
b69b02125d add break on default: statements, from Douglas E. Engert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15038 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:45:47 +00:00
Love Hörnquist Åstrand
122f628e3b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:11:07 +00:00
Love Hörnquist Åstrand
b4e448428a (vsnprintf): don't write the NUL into the string if the length was 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15031 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:07:05 +00:00
Love Hörnquist Åstrand
f651d08834 add check that snprintf doesn't write the NUL into the last byte when
its a zero length input string


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:03:57 +00:00
Love Hörnquist Åstrand
45032b3505 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15029 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 14:48:42 +00:00
Love Hörnquist Åstrand
b904f38205 Include <err.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 14:48:29 +00:00
Love Hörnquist Åstrand
a86ee1251a check that string is properly terminated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14994 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 18:59:53 +00:00
Love Hörnquist Åstrand
c9ac32d74a test the NULL string, fix printfs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14993 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 18:36:02 +00:00
Love Hörnquist Åstrand
9affb89884 add some more tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14992 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 18:32:00 +00:00
Love Hörnquist Åstrand
ea05edd7e6 check the 0 length string too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14991 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 18:26:21 +00:00
Love Hörnquist Åstrand
71dc254fd8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:18:18 +00:00
Love Hörnquist Åstrand
eb9bd70683 add rk_realloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:17:53 +00:00
Love Hörnquist Åstrand
5b5dc2420a fix (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:08:19 +00:00
Love Hörnquist Åstrand
9ed1c245f6 add realloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14980 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:07:38 +00:00
Love Hörnquist Åstrand
e5426143a2 add rk_realloc, unbroken version of realloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:06:36 +00:00