commit bash-20170303 snapshot

This commit is contained in:
Chet Ramey
2017-03-13 09:51:39 -04:00
parent cb0c28b93b
commit 10729c7b2a
26 changed files with 717 additions and 751 deletions
+3 -4
View File
@@ -1,7 +1,7 @@
/* shell.c -- tilde utility functions that are normally provided by
bash when readline is linked as part of the shell. */
/* Copyright (C) 1998-2009 Free Software Foundation, Inc.
/* Copyright (C) 1998-2017 Free Software Foundation, Inc.
This file is part of the GNU Tilde Library.
@@ -49,8 +49,7 @@ extern struct passwd *getpwuid ();
#endif /* !HAVE_GETPW_DECLS */
char *
get_env_value (varname)
char *varname;
get_env_value (char *varname)
{
return ((char *)getenv (varname));
}
@@ -58,7 +57,7 @@ get_env_value (varname)
/* If we're not using $HOME, assume that the passwd file information won't
change while this shell instance is running. */
char *
get_home_dir ()
get_home_dir (void)
{
static char *home_dir = (char *)NULL;
struct passwd *entry;