Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 51169: / /trunk/epan/: app_mem_usage

From: Evan Huus <eapache@xxxxxxxxx>
Date: Tue, 6 Aug 2013 14:12:04 -0400
On Tue, Aug 6, 2013 at 1:59 PM, Guy Harris <guy@xxxxxxxxxxxx> wrote:
>
> On Aug 6, 2013, at 9:38 AM, darkjames@xxxxxxxxxxxxx wrote:
>
>> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=51169
>>
>> User: darkjames
>> Date: 2013/08/06 09:38 AM
>>
>> Log:
>> app_mem_usage fixes:
>>
>> - Add missing feature test macro for pread()
>
> Do all versions of the Linux kernel and of glibc have pread()?

Since glibc 2.12, which was released in 2008.

> If not, would an lseek() followed by a read() do just as well?

It would, if we cared to support systems that old.

> (And would Apple please stop doing auto-correct on strings that are immediately followed by a left parenthesis? :-))

Afraid I can't help you there :)