dequis 08ff4e493a Always use ut32 for unix timestamps. Also handle endianness properly
Because it turns out sizeof(time_t) is 8 in 64 bit platforms, but that
results in really broken 'pt' results, where half of the lines are
'invalid date'

Also, endianness handling was swapped in the case of 'pt' and
non-existent in the case of 'rax2 -t' (the latter actually did a weird
hack to swap endianness twice and get valid results).

Now rax2 -t supports the -e parameter to swap endianness.

The usage of r_mem_copyendian with r_print now matches what's done
in other places, with !p->big_endian instead of p->big_endian,
because 0 means swap and 1 means do nothing. Terrible function.

This also fixes some valgrind warnings about uninitialized values
(when copying 4 bytes to a 8 byte time_t)
2015-05-01 10:28:23 +02:00
..
2015-04-05 01:09:13 +03:00
2012-10-20 00:31:18 +02:00
2015-04-16 17:49:17 +02:00
2014-03-08 11:56:15 +01:00
2013-07-15 02:51:55 +02:00
2015-04-22 04:50:37 +02:00
2014-04-25 05:24:21 +04:00
2015-04-11 02:31:34 +03:00
2014-10-02 10:11:46 +02:00
2013-07-15 02:51:55 +02:00
2014-10-26 02:47:08 +02:00
2014-07-30 11:14:30 +02:00
2015-04-11 01:42:30 +03:00
2015-01-29 02:25:00 +01:00
2015-04-27 09:36:32 +02:00
2014-03-08 11:56:15 +01:00
2015-04-03 04:45:38 +02:00
2015-04-22 11:12:19 +02:00
2014-11-10 03:55:44 +01:00
2015-04-11 20:54:31 +02:00
2015-04-05 01:26:06 +03:00
2015-04-05 01:19:28 +03:00
2014-11-04 23:17:52 +01:00
2013-09-14 14:04:08 +02:00