aboutsummaryrefslogtreecommitdiffstats
path: root/bashline.c
diff options
context:
space:
mode:
authorcvpcs <root@cvpcs.org>2010-06-03 11:33:40 -0500
committercvpcs <root@cvpcs.org>2010-06-03 11:33:40 -0500
commitae603269d2fbb6784019d92dbe4396272bc4c12d (patch)
tree60fb08d1f706cb524143eb42cc854d600587079d /bashline.c
parent512fd1ee9ee3376658648d37f1fac923201d2fa8 (diff)
downloadexternal_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 'bashline.c')
-rw-r--r--bashline.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bashline.c b/bashline.c
index 174ea80..53ae281 100644
--- a/bashline.c
+++ b/bashline.c
@@ -2102,9 +2102,9 @@ bash_groupname_completion_function (text, state)
const char *text;
int state;
{
-//#if defined (__WIN32__) || defined (__OPENNT) || !defined (HAVE_GRP_H)
+#if defined (__BIONIC__) || defined (__WIN32__) || defined (__OPENNT) || !defined (HAVE_GRP_H)
return ((char *)NULL);
-/*#else
+#else
static char *gname = (char *)NULL;
static struct group *grent;
static int gnamelen;
@@ -2133,7 +2133,7 @@ bash_groupname_completion_function (text, state)
value = savestring (grent->gr_name);
return (value);
-#endif*/
+#endif
}
/* Functions to perform history and alias expansions on the current line. */