[Xapian-tickets] [Xapian] #651: Avoid low fds

Xapian nobody at xapian.org
Sat Dec 6 02:58:22 GMT 2014


#651: Avoid low fds
---------------------------+-----------------------------
 Reporter:  olly           |             Owner:  olly
     Type:  enhancement    |            Status:  assigned
 Priority:  normal         |         Milestone:  1.3.3
Component:  Backend-Glass  |           Version:
 Severity:  normal         |        Resolution:
 Keywords:                 |        Blocked By:
 Blocking:                 |  Operating System:  All
---------------------------+-----------------------------

Comment (by olly):

 If compiled with {{{-D_FILE_OFFSET_BITS=64}}}, the x86 Linux machine fails
 on the initial lseek() with {{{EINVAL}}}.  It seems the maximum value we
 can seek to is somewhere between 1<<40 and 1<<41, but at 1<<40 we can
 successfully call {{{write()}}}.

 GNU/kFreeBSD 9.0-2-amd64 (Debian combining freebsd kernel and GNU libc)
 works - {{{write()}}} fails with {{{EFBIG}}}.

--
Ticket URL: <http://trac.xapian.org/ticket/651#comment:4>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list