[CC += linux-man@] Hi Andre, Thanks for the bug report. On Thu, Dec 4, 2008 at 10:53 AM, Andre Majorel <aym-xunil@xxxxxxxxx> wrote: > Michael, > > On my system, stat(2) can return EOVERFLOW when stat'ing a file > larger than 4 (or 2 ?) GB. 2! > The ERRORS section of stat(2) does not > mention EOVERFLOW. I made the change below, for man-pages-3.15. Thanks, Michael --- a/man2/stat.2 +++ b/man2/stat.2 @@ -319,6 +319,19 @@ Out of memory (i.e., kernel memory). .TP .B ENOTDIR A component of the path is not a directory. +.TP +.B EOVERFLOW +.RB ( stat ()) +.I path +refers to a file whose size cannot be represented in the type +.IR off_t . +This can occur when an application compiled on a 32-bit platform without +.I -D_FILE_OFF_SET_BITS=64 +calls +.BR stat () +on a file whose size exceeds +.I (2<<31)-1 +bits. .SH "CONFORMING TO" These system calls conform to SVr4, 4.3BSD, POSIX.1-2001. .\" SVr4 documents additional -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html