On Wed Apr 12 11:49:47 2023 +0000, Torge Matthies wrote:
Yup, this isn't necessary anymore and I forgot or accidentally dropped the change of the backslashes to forward slashes. The latest version of this MR now contains just a straightforward conversion of that function from working with nt paths to working with unix paths. The reason this conversion is necessary at all is because I'm moving the calls to this function to the `get_file_info` function, so that more places in the code use the correct file attributes (everything that uses `get_file_info` now automatically returns attributes of hidden files correctly), and so that the extended attribute can take precedence over the file name.
Ok @julliard I had to re-add the check for "." and ".." because get_dir_data_entry now uses this function (indirectly through get_file_info) and tests are not happy when those two special directories are hidden. I cleaned the code up a little though.