From 8e822ba8c86618a582460c56006d352b3b7e0d26 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Wed, 8 Jan 2014 11:08:55 +0000 Subject: libbb: drop unnecessary change from upstream BusyBox --- libbb/lineedit.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 20d75cf56..38d4c598d 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c @@ -651,7 +651,6 @@ static char *username_path_completion(char *ud) if (*ud == '/') { /* "~/..." */ home = home_pwd_buf; } else { -#if !ENABLE_PLATFORM_MINGW32 /* "~user/..." */ ud = strchr(ud, '/'); *ud = '\0'; /* "~user" */ @@ -659,7 +658,6 @@ static char *username_path_completion(char *ud) *ud = '/'; /* restore "~user/..." */ if (entry) home = entry->pw_dir; -#endif } if (home) { ud = concat_path_file(home, ud); -- cgit v1.2.3-55-g6feb