diff options
author | cvpcs <root@cvpcs.org> | 2010-06-03 11:33:40 -0500 |
---|---|---|
committer | cvpcs <root@cvpcs.org> | 2010-06-03 11:33:40 -0500 |
commit | ae603269d2fbb6784019d92dbe4396272bc4c12d (patch) | |
tree | 60fb08d1f706cb524143eb42cc854d600587079d /lib | |
parent | 512fd1ee9ee3376658648d37f1fac923201d2fa8 (diff) | |
download | external_bash-ae603269d2fbb6784019d92dbe4396272bc4c12d.zip external_bash-ae603269d2fbb6784019d92dbe4396272bc4c12d.tar.gz external_bash-ae603269d2fbb6784019d92dbe4396272bc4c12d.tar.bz2 |
switched to use of __BIONIC__ define instead of commenting lines out
Diffstat (limited to 'lib')
-rw-r--r-- | lib/readline/complete.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/readline/complete.c b/lib/readline/complete.c index 38249d2..2c7e696 100644 --- a/lib/readline/complete.c +++ b/lib/readline/complete.c @@ -1953,7 +1953,7 @@ rl_username_completion_function (text, state) const char *text; int state; { -#if defined (__WIN32__) || defined (__OPENNT) +#if defined (__BIONIC__) || (__WIN32__) || defined (__OPENNT) return (char *)NULL; #else /* !__WIN32__ && !__OPENNT) */ static char *username = (char *)NULL; @@ -1970,7 +1970,7 @@ rl_username_completion_function (text, state) username = savestring (&text[first_char_loc]); namelen = strlen (username); -// setpwent (); + setpwent (); } #if defined (HAVE_GETPWENT) |