bug#16329: Acknowledgement (`head --lines=-0' prints nothing if no newline at the EOF)

2014-01-29 Thread Pádraig Brady
On 01/03/2014 08:40 PM, Алексей Шилин wrote: Looks like I was overly cautious about decrementing an unsigned... size_t n = bytes_read; while (n) { if (all_lines) n -= n ? 1 : 0;// ...here. else As it is under `while (n)' statement, n is always true here, and

bug#16578: Wish: Support for non-native endianness in od

2014-01-29 Thread Pádraig Brady
On 01/28/2014 12:54 PM, Niels Möller wrote: For the od program, it would be nice with a flag to specify the endianness for all types which are larger than a byte. Possible alternatives could be big endian, little endian, native endian. I agree this would be useful and easy enough to add. I