On Tue, 2007-03-27 at 17:13 -0600, Hans Petter Jansson wrote:
> I tend to favor read() on user data:
>
> - For robustness: An mmap() map can become invalid if the file is
> truncated, crashing the process.
Furthermore, read() handles errors (like say a disk i/o error) much more
gracefully.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
[EMAIL PROTECTED] [EMAIL PROTECTED]
He's an immortal skateboarding photographer with no name. She's a cold-hearted
snooty bodyguard married to the Mob. They fight crime!
_______________________________________________
desktop-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/desktop-devel-list