Branch: Tag:

2018-03-22

2018-03-22 15:04:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem [NT]: Perform some more path normalization.

Tentative fix for [WS-232].

326:    stat_cache = query("stat_cache");    internal_files = map(query("internal_files"), encode_path);    -  if (sizeof(path) && !has_suffix(path, "/")) path += "/"; +  // Expand cwd-relative paths, and ensure terminating slash. +  path = combine_path(getcwd(), path, "./");      #if constant(System.normalize_path)    if (catch {