Package: manpages-dev
Version: 3.24-1
Severity: normal

stat(2) says:

ERRORS

 (...)

       EOVERFLOW
              (stat())  path  refers to a file whose size cannot be
              represented in the type off_t.  This can occur when an
              application compiled on a 32-bit platform without
              -D_FILE_OFFSET_BITS=64 calls stat() on a file whose size
              exceeds (2<<31)-1 bits.


1) It would seem to me that the condition for this to occur would be a
   file whose size exceeds (2<<31)-1 *bytes*, not "bits".

2) I got this for an overflow on st_ino (64 bit kernel, 32 bit
   userland, CIFS mount of a Windows-served share).

   So I'd suggest this text become something along the lines of:

   path or fd refers to a file for which the value of a field of the
   stat structure cannot be represented in its type. This usually
   occurs with applications compiled on a 32-bit platform without
   -D_FILE_OFFSET_BITS=64. The most common occurrence is when such an
   application calls stat() on a file whose size exceeds
   (2<<31)-1 bytes; but it can also occur e.g. for the st_ino field,
   e.g. when such an application is run on a 64 bit kernel.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages manpages-dev depends on:
ii  manpages                      3.24-1     Manual pages about using a GNU/Lin

manpages-dev recommends no packages.

Versions of packages manpages-dev suggests:
ii  man-db [man-browser]          2.5.7-3    on-line manual pager

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to