PR bootstrap/67363
* gcc.c (env_manager::xput): Replace strndup by xstrndup.
From-SVN: r227337
+2015-08-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR bootstrap/67363
+ * gcc.c (env_manager::xput): Replace strndup by xstrndup.
+
2015-08-31 Tom de Vries <tom@codesourcery.com>
* tree-ssa-loop-manip.c (find_uses_to_rename_use)
gcc_assert (equals);
struct kv kv;
- kv.m_key = strndup (string, equals - string);
+ kv.m_key = xstrndup (string, equals - string);
const char *cur_value = ::getenv (kv.m_key);
if (m_debug)
fprintf (stderr, "saving old value: %s\n",cur_value);