Remove outdated comments
authorCyrill Gorcunov <gorcunov@gmail.com>
Thu, 29 Oct 2009 21:23:48 +0000 (00:23 +0300)
committerCyrill Gorcunov <gorcunov@gmail.com>
Sat, 31 Oct 2009 17:03:14 +0000 (20:03 +0300)
From Frank Kotler:
| ...
| > -                stdscan_bufptr = saveme;        /* bugfix? fbk 8/10/00 */
| > +                stdscan_set(saveme);            /* bugfix? fbk 8/10/00 */
|
| While you're at it, you could remove my comment(s - it seems to have
| reproduced). It *is* a bugfix (apparently). "saveme" might have a better
| name, too...

So get rid of the comments.

Reported-by: Frank Kotler <fbkotler@zytor.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
output/outaout.c
output/outelf32.c
output/outelf64.c

index 113eafe..e2a9075 100644 (file)
@@ -379,7 +379,7 @@ static void aout_deflabel(char *name, int32_t segment, int64_t offset,
                 struct tokenval tokval;
                 expr *e;
                 int fwd = false;
-                char *saveme = stdscan_get();  /* bugfix? fbk 8/10/00 */
+                char *saveme = stdscan_get();
 
                 if (!bsd) {
                     nasm_error(ERR_NONFATAL, "Linux a.out does not support"
@@ -409,7 +409,7 @@ static void aout_deflabel(char *name, int32_t segment, int64_t offset,
                             sym->size = reloc_value(e);
                     }
                 }
-                stdscan_set(saveme);            /* bugfix? fbk 8/10/00 */
+                stdscan_set(saveme);
             }
             special_used = true;
         }
index 8cb01de..32e7d09 100644 (file)
@@ -630,7 +630,7 @@ static void elf_deflabel(char *name, int32_t segment, int64_t offset,
                     struct tokenval tokval;
                     expr *e;
                     int fwd = 0;
-                    char *saveme = stdscan_get();       /* bugfix? fbk 8/10/00 */
+                    char *saveme = stdscan_get();
 
                     while (special[n] && nasm_isspace(special[n]))
                         n++;
@@ -654,7 +654,7 @@ static void elf_deflabel(char *name, int32_t segment, int64_t offset,
                         else
                             sym->size = reloc_value(e);
                     }
-                    stdscan_set(saveme);                /* bugfix? fbk 8/10/00 */
+                    stdscan_set(saveme);
                 }
                 special_used = true;
             }
index 3b9fae1..3c42484 100644 (file)
@@ -635,7 +635,7 @@ static void elf_deflabel(char *name, int32_t segment, int64_t offset,
                     struct tokenval tokval;
                     expr *e;
                    int fwd = 0;
-                    char *saveme = stdscan_get();       /* bugfix? fbk 8/10/00 */
+                    char *saveme = stdscan_get();
 
                     while (special[n] && nasm_isspace(special[n]))
                         n++;
@@ -659,7 +659,7 @@ static void elf_deflabel(char *name, int32_t segment, int64_t offset,
                         else
                             sym->size = reloc_value(e);
                     }
-                    stdscan_set(saveme);               /* bugfix? fbk 8/10/00 */
+                    stdscan_set(saveme);
                 }
                 special_used = true;
             }