public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Gaius Mulley <gaius@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc/devel/modula-2] Remove xenix support from bootstrap tool mklink.c.
Date: Mon,  7 Nov 2022 19:08:30 +0000 (GMT)	[thread overview]
Message-ID: <20221107190830.F1FFF3858C33@sourceware.org> (raw)

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

                 reply	other threads:[~2022-11-07 19:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221107190830.F1FFF3858C33@sourceware.org \
    --to=gaius@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).