mirror of git://sourceware.org/git/glibc.git
* posix/wordexp.c: Remove some unnecessary tests.
This commit is contained in:
parent
33c6de5801
commit
3b6667a4ab
|
@ -1,3 +1,7 @@
|
|||
2006-12-23 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* posix/wordexp.c: Remove some unnecessary tests.
|
||||
|
||||
2006-12-22 Gavin Romig-Koch <gavin@redhat.com>
|
||||
|
||||
* nis/nss_compat/compat-grp.c (internal_getgrgid_r): Don't
|
||||
|
|
|
@ -1809,7 +1809,7 @@ envsubst:
|
|||
/* Substitute parameter */
|
||||
break;
|
||||
|
||||
if (free_value && value)
|
||||
if (free_value)
|
||||
free (value);
|
||||
|
||||
if (!colon_seen && value)
|
||||
|
@ -1827,7 +1827,7 @@ envsubst:
|
|||
case ACT_NONNULL_SUBST:
|
||||
if (value && (*value || !colon_seen))
|
||||
{
|
||||
if (free_value && value)
|
||||
if (free_value)
|
||||
free (value);
|
||||
|
||||
value = pattern ? __strdup (pattern) : pattern;
|
||||
|
|
Loading…
Reference in New Issue