public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/modula-2] Remove xenix support from bootstrap tool mklink.c.
@ 2022-11-07 19:08 Gaius Mulley
  0 siblings, 0 replies; only message in thread
From: Gaius Mulley @ 2022-11-07 19:08 UTC (permalink / raw)
  To: gcc-cvs

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);
     }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-07 19:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-07 19:08 [gcc/devel/modula-2] Remove xenix support from bootstrap tool mklink.c Gaius Mulley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).