diff options
author | Ron Yorston <rmy@pobox.com> | 2014-01-08 11:08:55 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2014-01-08 11:08:55 +0000 |
commit | 8e822ba8c86618a582460c56006d352b3b7e0d26 (patch) | |
tree | 9977b5249c0c4849ca286ab11de292928502f31c /libbb | |
parent | 7c5afa38816cf4a833cfc25256a050d397a9be98 (diff) | |
download | busybox-w32-8e822ba8c86618a582460c56006d352b3b7e0d26.tar.gz busybox-w32-8e822ba8c86618a582460c56006d352b3b7e0d26.tar.bz2 busybox-w32-8e822ba8c86618a582460c56006d352b3b7e0d26.zip |
libbb: drop unnecessary change from upstream BusyBox
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/lineedit.c | 2 |
1 files changed, 0 insertions, 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) | |||
651 | if (*ud == '/') { /* "~/..." */ | 651 | if (*ud == '/') { /* "~/..." */ |
652 | home = home_pwd_buf; | 652 | home = home_pwd_buf; |
653 | } else { | 653 | } else { |
654 | #if !ENABLE_PLATFORM_MINGW32 | ||
655 | /* "~user/..." */ | 654 | /* "~user/..." */ |
656 | ud = strchr(ud, '/'); | 655 | ud = strchr(ud, '/'); |
657 | *ud = '\0'; /* "~user" */ | 656 | *ud = '\0'; /* "~user" */ |
@@ -659,7 +658,6 @@ static char *username_path_completion(char *ud) | |||
659 | *ud = '/'; /* restore "~user/..." */ | 658 | *ud = '/'; /* restore "~user/..." */ |
660 | if (entry) | 659 | if (entry) |
661 | home = entry->pw_dir; | 660 | home = entry->pw_dir; |
662 | #endif | ||
663 | } | 661 | } |
664 | if (home) { | 662 | if (home) { |
665 | ud = concat_path_file(home, ud); | 663 | ud = concat_path_file(home, ud); |