aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 5c6eb5759..2c99c3ead 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -322,8 +322,6 @@ typedef long arith_t;
322 322
323#if !ENABLE_PLATFORM_MINGW32 323#if !ENABLE_PLATFORM_MINGW32
324# define is_absolute_path(path) ((path)[0] == '/') 324# define is_absolute_path(path) ((path)[0] == '/')
325#else
326# define is_absolute_path(path) ((path)[0] == '/' || (path)[0] == '\\' || has_dos_drive_prefix(path))
327#endif 325#endif
328 326
329#if !BB_MMU 327#if !BB_MMU
@@ -3028,7 +3026,6 @@ updatepwd(const char *dir)
3028{ 3026{
3029#if ENABLE_PLATFORM_MINGW32 3027#if ENABLE_PLATFORM_MINGW32
3030# define is_path_sep(x) ((x) == '/' || (x) == '\\') 3028# define is_path_sep(x) ((x) == '/' || (x) == '\\')
3031# define is_root(x) (is_path_sep(x[0]) && x[1] == '\0')
3032 /* 3029 /*
3033 * Due to Windows drive notion, getting pwd is a completely 3030 * Due to Windows drive notion, getting pwd is a completely
3034 * different thing. Handle it in a separate routine 3031 * different thing. Handle it in a separate routine