aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2019-04-02 10:17:17 +0100
committerRon Yorston <rmy@pobox.com>2019-04-02 10:17:17 +0100
commitb990323902ab8c16d84a45e3ed5b319874320d64 (patch)
treed536f9e815e8f4f6c2108c0e8fdc49a3709bed2b /include
parent69d328022ebbde0595d328dd0e9d569a93a2d662 (diff)
downloadbusybox-w32-b990323902ab8c16d84a45e3ed5b319874320d64.tar.gz
busybox-w32-b990323902ab8c16d84a45e3ed5b319874320d64.tar.bz2
busybox-w32-b990323902ab8c16d84a45e3ed5b319874320d64.zip
win32: try to make working directory names consistent
Standardise the path names used for the current working directory by: - resolving with realpath(3); - making the drive name or host name uppercase. The first only really works for physical drives; results for mapped drives are patchy. The standardisation is applied in two places: - at the end of updatepwd() in ash; - when a symbolic link is resolved in mingw_chdir().
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 1ec5292d8..07f9857e9 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -530,3 +530,4 @@ char *get_system_drive(void);
530int chdir_system_drive(void); 530int chdir_system_drive(void);
531char *xabsolute_path(char *path); 531char *xabsolute_path(char *path);
532char *get_drive_cwd(const char *path, char *buffer, int size); 532char *get_drive_cwd(const char *path, char *buffer, int size);
533void fix_path_case(char *path);