(scm_copy_file): Use fstat on the input fd rather than
authorKevin Ryde <user42@zip.com.au>
Thu, 5 Aug 2004 01:02:58 +0000 (01:02 +0000)
committerKevin Ryde <user42@zip.com.au>
Thu, 5 Aug 2004 01:02:58 +0000 (01:02 +0000)
commit37eb673bc67904e2af6513c2e3812db12157b0a7
tree6a8b5ae3ba8db0f40516f82d8f618466be0b4f5c
parent29e61124410f18bc17805aa2d3cedbbae71bd815
(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.
libguile/filesys.c