The patch contains mostly fixes for the disassembler. It also fixes
[deliverable/binutils-gdb.git] / gas / listing.c
index f8847d9a2071f286081dfba75a1a790d649af884..c92f2db11c33682ee5f1edce45f85072e62a6ec4 100644 (file)
@@ -513,9 +513,12 @@ buffer_line (file, line, size)
   if (c == EOF)
     {
       file->at_end = 1;
-      *p++ = '.';
-      *p++ = '.';
-      *p++ = '.';
+      if (count + 2 < size)
+       {
+         *p++ = '.';
+         *p++ = '.';
+         *p++ = '.';
+       }
     }
   file->linenum++;
   *p++ = 0;
This page took 0.022834 seconds and 4 git commands to generate.