Closed cjihrig closed 10 years ago
Thanks Colin! I'll check it asap (I'm moving these days and my Windows gear is in a box somewhere...)
@saghul addressed the previous round of comments and got it working on Windows.
Good work Chris! Looks solid. I'll merge once after running it for a spin on Windows. Did you look into what @piscisaureus said about GetFileAttributesW
? At any rate, it can be improved at a later stage since it's an implementation detail.
@saghul removed the braces. I didn't look into opening and closing the file, as their seemed to be a potential issue if the file was locked by another process. Linking to the node PR for future reference.
Cheers, Colin! Landed in c18205a.
Awesome. Thanks for the help @saghul. @trevnorris I'm sure you'll get an email about this, but you asked me to let you know when this landed.
@saghul here is the
uv_fs_access()
PR you asked for. The Unix side seems to be working, but on the Windows side,GetFileAttributesW()
is always returningINVALID_FILE_ATTRIBUTES
. Suggestions are more than welcome.