From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1499) id F1FFF3858C33; Mon, 7 Nov 2022 19:08:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F1FFF3858C33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667848110; bh=Vw7G4+bQ1EABPXZHPxv2v2I9uc6KQjIFm6DGGi6Htno=; h=From:To:Subject:Date:From; b=LASRN6D2eMinMWly568lh6tC0+PRR/f/D5rp5NOzOgy2E9AloU3WUxlayYFog2wy6 QHbLpPZXNf96oe/mIN0+sRu8+tg83F0esSwfEC4kVP0oOO5L53Jx3/elviW1RhZuDU 276AZPUl2zqF/Xr2PjStKcRDPD/JsbE3nWOS+su0= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Gaius Mulley To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/modula-2] Remove xenix support from bootstrap tool mklink.c. X-Act-Checkin: gcc X-Git-Author: Gaius Mulley X-Git-Refname: refs/heads/devel/modula-2 X-Git-Oldrev: be86a95e809b1e95a3e534a9dfa9456107daa325 X-Git-Newrev: 63edc9963c41be8026fd3a2eebd36ce3417af1b1 Message-Id: <20221107190830.F1FFF3858C33@sourceware.org> Date: Mon, 7 Nov 2022 19:08:30 +0000 (GMT) List-Id: https://gcc.gnu.org/g:63edc9963c41be8026fd3a2eebd36ce3417af1b1 commit 63edc9963c41be8026fd3a2eebd36ce3417af1b1 Author: Gaius Mulley 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 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); }