From ac8735df2b21fe4fc5b409ce02cfac330186969a Mon Sep 17 00:00:00 2001 From: Nguyễn Thái Ngọc Duy Date: Wed, 14 Apr 2010 00:39:55 +0200 Subject: win32: ash: exptilde(): do not call (unsupported) getpwnam() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nguyễn Thái Ngọc Duy --- shell/ash.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shell') diff --git a/shell/ash.c b/shell/ash.c index 34a5b65aa..f71f6a5e3 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -5626,6 +5626,8 @@ exptilde(char *startp, char *p, int flags) if (*name == '\0') { home = lookupvar(homestr); } else { + if (ENABLE_PLATFORM_MINGW32) + goto lose; pw = getpwnam(name); if (pw == NULL) goto lose; -- cgit v1.2.3-55-g6feb