* environ.cc (build_env): Remove loquacious debug statements.
This commit is contained in:
parent
5acd9c007f
commit
03ff627e16
@ -1,3 +1,7 @@
|
|||||||
|
2014-12-05 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* environ.cc (build_env): Remove loquacious debug statements.
|
||||||
|
|
||||||
2014-12-05 Yaakov Selkowitz <yselkowitz@cygwin.com>
|
2014-12-05 Yaakov Selkowitz <yselkowitz@cygwin.com>
|
||||||
|
|
||||||
* common.din (__bsd_qsort_r): Add.
|
* common.din (__bsd_qsort_r): Add.
|
||||||
|
@ -1123,7 +1123,6 @@ build_env (const char * const *envp, PWCHAR &envblock, int &envc,
|
|||||||
sizeof *winenv, env_compare);
|
sizeof *winenv, env_compare);
|
||||||
if (elem)
|
if (elem)
|
||||||
{
|
{
|
||||||
system_printf ("remove: %s", *elem);
|
|
||||||
free (*elem);
|
free (*elem);
|
||||||
/* Use memmove to keep array sorted.
|
/* Use memmove to keep array sorted.
|
||||||
winnum - (elem - winenv) copies all elements following
|
winnum - (elem - winenv) copies all elements following
|
||||||
@ -1193,7 +1192,6 @@ build_env (const char * const *envp, PWCHAR &envblock, int &envc,
|
|||||||
sizeof *winenv, env_compare);
|
sizeof *winenv, env_compare);
|
||||||
if (elem)
|
if (elem)
|
||||||
{
|
{
|
||||||
system_printf ("remove: %s", *elem);
|
|
||||||
free (*elem);
|
free (*elem);
|
||||||
memmove (elem, elem + 1,
|
memmove (elem, elem + 1,
|
||||||
(winnum - (elem - winenv)) * sizeof *elem);
|
(winnum - (elem - winenv)) * sizeof *elem);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user