On 12/30/11 08:36, Eric Blake wrote:

> unless you can declare struct rpl_stat with the same layout
> as struct stat, you have an API incompatibility that can cause
> compilation errors in various circumstances.

Ah, sorry, I was assuming that we '#define stat rpl_stat'
before including the system <sys/stat.h>, so that 'struct stat'
becomes 'struct rpl_stat' everywhere.  But we don't do that,
presumably because some <sys/stat.h>s #define stat
to something else, on their own.

Reply via email to