delorie.com/archives/browse.cgi | search |
> Date: Wed, 19 Mar 2003 20:46:52 +0000 > From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk> > > We could modify stat to use _invent_inode for directories, so that it > generates the same inode every time it is called for the directory. We would > use _invent_inode, because we cannot rely on the current method (on Win2k/XP) > to return the same inode each time. Are you saying that the current code does _not_ invent inodes on Windows/XP? I'd be surprised, I thought we invent inodes for any kind of files on all the versions of Windows except 3.1. > To ensure that we get the same inode, we > would also have to ensure that we pass the same filename to _invent_inode. So > the directory's filename would need to be fixed using _truename. I thought `stat' already calls _truename and the result is passed to _invent_inode, isn't that true?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |