Joseph Sutton
698bbb5647
roken: Fix time_t overflow checking
...
INTxx_MIN plus a positive integer of the same type will always be
negative, and so the result will always compare less than a positive
integer. Fix this check so that we produce the correct result when
adding two negative time_t values.
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz >
2022-03-11 22:03:45 -05:00
Nicolas Williams
5682be7704
roken: Test time add/sub overflow prot.
2022-02-15 20:16:29 -06:00
Nicolas Williams
fe8d4f2883
roken: Overflow prot. timeval add/sub
2022-02-15 20:12:25 -06:00
Nicolas Williams
1193bd5e74
roken: Add time_add()/time_sub() with overflow prot.
2022-02-15 20:11:37 -06:00
Asanka Herath
d00f9984a5
Make roken build on windows
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-11-24 21:42:02 -08:00
Love Hörnquist Åstrand
0d31d3d686
drop rcsid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24356 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:30:37 +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
709aa58c74
define ROKEN_LIB_FUNCTION on all exported functions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-12 11:29:18 +00:00
Assar Westerlund
227c2064b8
add timeval functions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7992 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-03 09:02:42 +00:00