← Back to team overview

zorba-coders team mailing list archive

[Bug 906494] [NEW] default compile with D_FILE_OFFSET_BITS=64

 

Public bug reported:

By default, Zorba should be compiled with the D_FILE_OFFSET_BITS flag
set to 64. Otherwise, ::stat doesn't work on files > 2gb.

For example,

file:read-text("myfile.txt")

currently fails if the file is bigger than 2gb.

** Affects: zorba
     Importance: Undecided
     Assignee: Chris Hillery (ceejatec)
         Status: New

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/906494

Title:
  default compile with D_FILE_OFFSET_BITS=64

Status in Zorba - The XQuery Processor:
  New

Bug description:
  By default, Zorba should be compiled with the D_FILE_OFFSET_BITS flag
  set to 64. Otherwise, ::stat doesn't work on files > 2gb.

  For example,

  file:read-text("myfile.txt")

  currently fails if the file is bigger than 2gb.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/906494/+subscriptions


Follow ups

References