* linux-low.c (linux_nat_xfer_osdata): Rename local variable so
that it does not shadow a function parameter.
2011-02-26 Michael Snyder <msnyder@vmware.com>
+ * linux-low.c (linux_nat_xfer_osdata): Rename local variable so
+ that it does not shadow a function parameter.
+
* i386-nat.c (i386_length_and_rw_bits): Document that case
statement is meant to fall through.
if ((f = fopen (pathname, "r")) != NULL)
{
- size_t len = fread (cmd, 1, sizeof (cmd) - 1, f);
+ size_t length = fread (cmd, 1, sizeof (cmd) - 1, f);
- if (len > 0)
+ if (length > 0)
{
int i;
- for (i = 0; i < len; i++)
+ for (i = 0; i < length; i++)
if (cmd[i] == '\0')
cmd[i] = ' ';
- cmd[len] = '\0';
+ cmd[length] = '\0';
obstack_xml_printf (
&obstack,