This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[patch] gas/dwarf2dbg.c: Fix formatting.


Kazu Hirata writes:
 > Hi,
 > 
 > Attached is a patch to fix formatting of gas/dwarf2dbg.c.

I see this:

@@ -568,7 +576,7 @@
            }
          if (j >= num_dirs)
            {
-             /* didn't find this directory: append it to the list */
+             /* Didn't find this directory: append it to the list.  */
              size_t size = strlen (str) + 1;
              cp = frag_more (size);
              memcpy (cp, str, size);
@@ -578,7 +586,9 @@
          ls.file[i].name = slash + 1;
        }
     }
-  out_byte ('\0');     /* terminate directory list */
+
+  /* Terminate filename list.  */
+  out_byte ('\0');
 }
 
 static void

Was it deliberate to change "directory" to "filename"?

Andrew.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]