[phobos] [D-Programming-Language/phobos] f989b2: Get rid of transitional lfs API

GitHub noreply at github.com
Sat Oct 6 21:34:07 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: f989b219ccd363e9185be2df10137bdff9fbcfc0
      https://github.com/D-Programming-Language/phobos/commit/f989b219ccd363e9185be2df10137bdff9fbcfc0
  Author: Johannes Pfau <johannespfau at gmail.com>
  Date:   2012-09-30 (Sun, 30 Sep 2012)

  Changed paths:
    M std/file.d
    M std/mmfile.d
    M std/stdio.d

  Log Message:
  -----------
  Get rid of transitional lfs API

Those kind of functions should be placed in druntime,
but the *64 (v) functions as a public interface are actually
deprecated and shouldn't be used anymore.

Druntime takes care that the normal stat, fopen, calls support
large files, if __USE_FILE_OFFSET64 is defined (which is what
the new C API does as well)

Note: It's actually important to use the functions from
core.sys.posix.stdio as the functions in core.stdc.stdio
are not large file aware. This is probably a bug in druntime.


  Commit: a37e919421335cb10d2a18a52f280c91cde7af29
      https://github.com/D-Programming-Language/phobos/commit/a37e919421335cb10d2a18a52f280c91cde7af29
  Author: Andrei Alexandrescu <andrei at erdani.com>
  Date:   2012-10-06 (Sat, 06 Oct 2012)

  Changed paths:
    M std/file.d
    M std/mmfile.d
    M std/stdio.d

  Log Message:
  -----------
  Merge pull request #819 from jpf91/lfs

Get rid of transitional lfs API


Compare: https://github.com/D-Programming-Language/phobos/compare/0e22a37c8359...a37e91942133


More information about the phobos mailing list