]> git.eshelyaron.com Git - emacs.git/commit
Port file-system-info to non-Microsoft
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Oct 2017 05:31:39 +0000 (22:31 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Oct 2017 05:33:20 +0000 (22:33 -0700)
commit135bca574c31b7bf6df6c63d28f180956928dde7
tree1259c514b5304e7b1dbb8a9098f0a6dd63e00003
parent4829a3b033b119b088947d14b73efc197b2547fa
Port file-system-info to non-Microsoft

* admin/merge-gnulib (GNULIB_MODULES): Add fsusage.
* doc/emacs/files.texi (Directories): Remove documentation of
now-obsolete directory-free-space-program and
directory-free-space-args.
* etc/NEWS: Mention change.
* etc/PROBLEMS: Slow df is no longer a problem.
* lib/fsusage.c, lib/fsusage.h, m4/fsusage.m4:
New files, copied from Gnulib.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* lisp/dired.el (dired-free-space-program)
(dired-free-space-args): These aliases are now obsolete.
* lisp/files.el (directory-free-space-program)
(directory-free-space-args): Now obsolete.
(get-free-disk-space): Just call file-system-info instead
of the now-obsolete directory-free-space-program.
* nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_fsusage): New macro.
* src/fileio.c: Include fsusage.h.
(blocks_to_bytes, Ffile_system_info) [!DOS_NT]: New functions.
(syms_of_fileio) [!DOS_NT]: Defsubr file-system-info.
13 files changed:
admin/merge-gnulib
doc/emacs/files.texi
etc/NEWS
etc/PROBLEMS
lib/fsusage.c [new file with mode: 0644]
lib/fsusage.h [new file with mode: 0644]
lib/gnulib.mk.in
lisp/dired.el
lisp/files.el
m4/fsusage.m4 [new file with mode: 0644]
m4/gnulib-comp.m4
nt/gnulib-cfg.mk
src/fileio.c