summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2009-10-30 00:23:48 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2009-10-31 20:03:14 +0300
commit54e94a56e27f73fc2831637ad9039a00eb5e6347 (patch)
tree622c223c4866cbb95797f11fa0d44c7884a31881
parent917117ff69271fe911e87a6f0e8dfc1f81c3f9b4 (diff)
downloadnasm-54e94a56e27f73fc2831637ad9039a00eb5e6347.tar.gz
nasm-54e94a56e27f73fc2831637ad9039a00eb5e6347.tar.bz2
nasm-54e94a56e27f73fc2831637ad9039a00eb5e6347.zip
Remove outdated comments
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>
-rw-r--r--output/outaout.c4
-rw-r--r--output/outelf32.c4
-rw-r--r--output/outelf64.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/output/outaout.c b/output/outaout.c
index 113eafe..e2a9075 100644
--- a/output/outaout.c
+++ b/output/outaout.c
@@ -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;
}
diff --git a/output/outelf32.c b/output/outelf32.c
index 8cb01de..32e7d09 100644
--- a/output/outelf32.c
+++ b/output/outelf32.c
@@ -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;
}
diff --git a/output/outelf64.c b/output/outelf64.c
index 3b9fae1..3c42484 100644
--- a/output/outelf64.c
+++ b/output/outelf64.c
@@ -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;
}