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-19 03:42:19 +03:00
2015-04-30 23:43:35 +02:00
2014-10-26 01:30:17 +02:00
2014-10-26 01:30:17 +02:00
2015-04-03 04:11:26 +02:00
2015-04-19 04:53:08 +03:00
2015-04-11 03:05:29 +03:00
2015-04-29 18:36:36 +02:00
2015-04-11 05:00:05 +02:00
2012-10-03 14:31:35 +02:00
2014-10-26 02:47:08 +02:00
2014-03-18 01:36:54 +01:00
2014-12-11 02:23:17 +01:00
2014-03-09 17:48:12 +01:00