]> arthur.barton.de Git - bup.git/commit
Stop testing negative timestamps -- they're not necessarily valid.
authorRob Browning <rlb@defaultvalue.org>
Thu, 19 Dec 2013 02:19:19 +0000 (20:19 -0600)
committerRob Browning <rlb@defaultvalue.org>
Thu, 19 Dec 2013 18:24:42 +0000 (12:24 -0600)
commit19970cd8edb9762b3e6a83ed77637cdda700f96d
tree82249fd391b0d6ee032bf71be0c793f8a21e2f0a
parent449d0097b35c6e516809bfa6452465089aa19038
Stop testing negative timestamps -- they're not necessarily valid.

Both timevals and timespecs use a time_t for the seconds which POSIX
requires to be an "integer or real-floating type", so unsigned integer
types are perfectly valid.  (See FUSE for example -- though it's not
even using a time_t; at the moment it's just using uint64_t...).

Thanks to Tim Riemenschneider <t.riemenschneider@detco.de> for
reporting the problem.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/t/txstat.py