From: Andreas Schwab <schwab@suse.de>
Cc: bug-gnu-emacs@gnu.org, t901353@rds294.goodyear.com
Subject: Re: large files not found with `read-file-name'
Date: Fri, 12 Apr 2002 13:50:04 +0200 [thread overview]
Message-ID: <je1ydlyw43.fsf@sykes.suse.de> (raw)
In-Reply-To: <200204112026.QAA27376@rds294.goodyear.com> (Tom Wurgler's message of "Thu, 11 Apr 2002 16:26:50 -0400 (EDT)")
Tom Wurgler <twurgler@goodyear.com> writes:
|> One of the users here has a file thusly:
|>
|> -rw-rw-r-- 1 tomw bob 2399830016 Apr 11 11:41 sample.file
2399830016 > 2G
|> Which GNU ls does list in a dired properly, albeit the filenames are not
|> aligned etc.
|>
|> But he has a emacs-lisp defun that prompts him for various input, one of
|> which is the above "sample.file" filename. The file completion does not find
|> the file. He is not trying to read the file itself, just get the filename and
|> then he runs a shell job with the inputs gained from his elisp...
This is because Emacs is not compiled with LFS support, so stat(2) fails
on that file (with ERANGE), and for Emacs it looks like the file does not
exist. To fix that, Emacs needs to use stat64 instead.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
prev parent reply other threads:[~2002-04-12 11:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-11 20:26 large files not found with `read-file-name' Tom Wurgler
2002-04-12 9:57 ` Eli Zaretskii
2002-04-12 11:50 ` Andreas Schwab [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=je1ydlyw43.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=bug-gnu-emacs@gnu.org \
--cc=t901353@rds294.goodyear.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).