Re: [PATCH] Rework overflow check when reading big-endian 64bit ints

2011-09-12 Thread Daniel Shahaf
Daniel Shahaf wrote on Tue, Sep 13, 2011 at 03:27:07 +0300: > On the fs-successor-ids branch we store 64bit ints in big endian format > in one of the files. The following patch changes the function which > reads that file such that it returns an apr_off_t offset (which is > convenient for further

[PATCH] Rework overflow check when reading big-endian 64bit ints

2011-09-12 Thread Daniel Shahaf
On the fs-successor-ids branch we store 64bit ints in big endian format in one of the files. The following patch changes the function which reads that file such that it returns an apr_off_t offset (which is convenient for further processing), and in return moves and changes the overflow check. I'