URL:
  <http://savannah.gnu.org/bugs/?42762>

                 Summary: Large file support
                 Project: GNUstep
            Submitted by: yavor
            Submitted on: Sun 13 Jul 2014 05:05:46 PM EEST
                Category: Base/Foundation
                Severity: 3 - Normal
              Item Group: Change Request
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

It seems that -[NSData initWithContentsOfFile:] (and +dataWithContentsOfFile:,
-initWithContentsOfMappedFile:, etc as consequence) will fail with large files
on 32bit systems.

The standard GNU way of dealing with this is to use gnulib which provides
replacements for fseeko/ftello with all possible workarounds.  Not doable
currently, so the attached patch enables such support only on systems that
have these functions available (most systems these days).

Unfortunately I was not able to test it as none of my machines has enough
memory and I get (expected) NSMallocException...



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 13 Jul 2014 05:05:46 PM EEST  Name: lfs.patch  Size: 5kB   By: yavor

<http://savannah.gnu.org/bugs/download.php?file_id=31707>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42762>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to