Commit Graph

1420 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
f5b60dd355 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-08 04:55:12 +00:00
Love Hörnquist Åstrand
cd4b0519ab Check a very simple format string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15590 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-08 04:54:26 +00:00
Love Hörnquist Åstrand
61576040e4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 19:16:37 +00:00
Love Hörnquist Åstrand
728b9121c5 If we have <strings.h> include it, its needed for strcasecmp() on
those platforms that are SUS3/iso c99 strict (like AIX)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 19:16:17 +00:00
Love Hörnquist Åstrand
2b2f1bab65 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15565 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 05:05:16 +00:00
Love Hörnquist Åstrand
00bf2bc852 remove duplicate ;
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 05:03:30 +00:00
Love Hörnquist Åstrand
a9212312c1 rk_strpoolprintf first variable identifier is 3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 07:09:16 +00:00
Love Hörnquist Åstrand
1f2fade0d2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15536 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 07:16:11 +00:00
Love Hörnquist Åstrand
d20e0120c5 remove variable names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15535 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 07:13:33 +00:00
Love Hörnquist Åstrand
b7de0b950c fix format attribute
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15525 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-29 14:13:50 +00:00
Love Hörnquist Åstrand
befb1dfcd6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15521 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-28 23:00:04 +00:00
Love Hörnquist Åstrand
35f52db90c (libroken_la_SOURCES): += strpool.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15520 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-28 22:52:25 +00:00
Love Hörnquist Åstrand
d1e139c302 add strpool, a printf collector to make it eaiser to collect strings
into one string


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-28 22:49:56 +00:00
Love Hörnquist Åstrand
c5a6946a45 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-23 11:12:57 +00:00
Love Hörnquist Åstrand
5bae431953 Add const, from Andrew Abartlet <abartlet@samba.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-23 10:47:57 +00:00
Love Hörnquist Åstrand
b0de911103 test for "%Y%m"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-21 20:51:13 +00:00
Love Hörnquist Åstrand
f4cfe08a63 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-21 18:59:27 +00:00
Love Hörnquist Åstrand
e34a4a8614 unconst
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15502 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-21 18:56:15 +00:00
Love Hörnquist Åstrand
8a5d747fd8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15501 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-21 18:53:17 +00:00
Love Hörnquist Åstrand
eb738780bf Write a new parse_number function that is possible to limit that
amount of numbers used, with this strptime can handle
strptime("200505", "%Y%m", &tm);


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15500 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-21 18:52:37 +00:00
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