Skip to content
Permalink
Browse files

fixup! mingw: Windows Docker volumes are *not* symbolic links

Biiiiig brown paper bag, please. Please, quick. Really quick.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information...
dscho committed Apr 25, 2018
1 parent 8dd7bac commit df4ca5fb72ad062480fa1ba6556e2f7ca8da5acb
Showing with 1 addition and 1 deletion.
  1. +1 −1 compat/mingw.c
@@ -3566,7 +3566,7 @@ int file_attr_to_st_mode (DWORD attr, DWORD tag, const char *path)
* points and look like symbolic links, but they are not.
*/
if (path && is_inside_windows_container() &&
readlink(path, buf, sizeof(buf) >= 0) &&
readlink(path, buf, sizeof(buf)) > 27 &&
starts_with(buf, "/ContainerMappedDirectories/"))
flag = S_IFDIR;

3 comments on commit df4ca5f

@ZCube

This comment has been minimized.

Copy link

replied Apr 25, 2018

Thanks for really fast patch :)

@donny-dont

This comment has been minimized.

Copy link

replied Apr 25, 2018

@dscho really looking forward to a release with this. Any potential ETA for it?

@dscho

This comment has been minimized.

Copy link
Member Author

replied Apr 26, 2018

@donny-dont have you even tested the snapshots before demanding to see an ETA yet?

Please sign in to comment.
You can’t perform that action at this time.