[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
copy-file fstat
From: |
Kevin Ryde |
Subject: |
copy-file fstat |
Date: |
Mon, 02 Aug 2004 10:47:16 +1000 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
* filesys.c (scm_copy_file): Use fstat on the input fd rather than
stat on the filename, to be certain a file rename can't mean we get
info on one filesystem object but open another. This fstat usage is
similar to Emacs copy-file.
This would be for 1.6 too. You'd have to be very unlucky to hit the
problem, but it's real enough.
filesys.c.fstat.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- copy-file fstat,
Kevin Ryde <=