[V] carbon2-commit: Use bignums if necessary for file size in #'file-attributes.

Stephen J. Turnbull stephen at xemacs.org
Mon Jan 21 03:48:08 EST 2008


Michael Sperber writes:

 > Or (or (> size max-file-size) (eq size -1)), which actually seems
 > reasonable to me.

I still don't like it; a file size of -1 makes it plain to everybody
that this file can't be handled by XEmacs.

 > Other than that, it seems a bad idea to couple "large-file-ness" to
 > an arbitrary and not necessarily corresponding restriction in
 > `file-attributes'.  Rather, we should probably introduce a
 > predicate `large-file-p' or `large-file-attributes-p'.

Agreed.  I suspect that there are a half-dozen of issues like this
that we should identify (preferably resolve) before making any attempt
to support large files (even in `file-attributes').



More information about the XEmacs-Patches mailing list