bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: large files not found with `read-file-name'


From: Andreas Schwab
Subject: Re: large files not found with `read-file-name'
Date: Fri, 12 Apr 2002 13:50:04 +0200
User-agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux)

Tom Wurgler <address@hidden> 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, address@hidden
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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]