search for: _waccess

Displaying 3 results from an estimated 3 matches for "_waccess".

Did you mean: __access
2018 Jul 03
1
Bug in file.access on Windows when using network shares
...riginal host was Windows or non-Windows In all cases the file is actually readable. I've created my own version of winAccessW in extra.c at https://github.com/NikNakk/r-source/commit/0a82f6d23b8a2ace44e43a28cb6eb923145a13c8 Almost all of the code in here can be replaced with a simple call to _waccess, other than the check for executable. This seems to work as expected. Since _waccess exists as a system call within Windows and has the same syntax (other than wide characters) as access in POSIX, why not use it? BW Nick On 3 July 2018 at 09:21, Tomas Kalibera <tomas.kalibera at gmail.com>...
2018 Jul 02
2
Bug in file.access on Windows when using network shares
...rk is up (and so the file is being accessed from the share), but fails when the network is down and the file is being accessed from the offline files cache. Is there any reason that there is a custom function here? Windows supports the use of access (as is used on other OSes), although the ISO C++ _waccess would be preferred. This seems to work well even in situations where the current code does not. BW Nick [[alternative HTML version deleted]]
2018 Jul 03
0
Bug in file.access on Windows when using network shares
...e file is being accessed from the share), but fails when the > network is down and the file is being accessed from the offline files cache. > > Is there any reason that there is a custom function here? Windows supports > the use of access (as is used on other OSes), although the ISO C++ _waccess > would be preferred. This seems to work well even in situations where the > current code does not. > > BW > > Nick > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat...