[gcc/devel/modula-2] Remove xenix support from bootstrap tool mklink.c.
Gaius Mulley
gaius@gcc.gnu.org
Mon Nov 7 19:08:30 GMT 2022
https://gcc.gnu.org/g:63edc9963c41be8026fd3a2eebd36ce3417af1b1
commit 63edc9963c41be8026fd3a2eebd36ce3417af1b1
Author: Gaius Mulley <gaiusmod2@gmail.com>
Date: Mon Nov 7 19:08:06 2022 +0000
Remove xenix support from bootstrap tool mklink.c.
Remove conditional filename truncation necessary under XENIX.
gcc/m2/ChangeLog:
* tools-src/mklink.c
Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diff:
---
gcc/m2/tools-src/mklink.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gcc/m2/tools-src/mklink.c b/gcc/m2/tools-src/mklink.c
index 9d3c7fc1dbb..fb95fd43369 100644
--- a/gcc/m2/tools-src/mklink.c
+++ b/gcc/m2/tools-src/mklink.c
@@ -264,9 +264,6 @@ ParseFileLinkCommand (void)
while (PutChar (GetChar ()) != (char)EOF)
{
CopyUntilEolInto (name);
-#if defined(XENIX)
- name[10] = (char)0; /* truncate object file name. */
-#endif
if ((strlen (name) > 0) && (name[0] != '#'))
FindObject (name);
}
More information about the Gcc-cvs
mailing list