public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ben Elliston <bje@air.net.au>
To: java-patches@gcc.gnu.org
Subject: PATCH: remove call to obsolete dejagnu proc
Date: Tue, 19 Apr 2016 16:13:00 -0000	[thread overview]
Message-ID: <20160419161334.GA30802@air.net.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 844 bytes --]

In DejaGnu 1.6, the utility procedure 'absolute' has been removed as
it can be implemented with Tcl's own 'file normalize' command.  Okay
to commit?

2016-04-20  Ben Elliston  <bje@gnu.org>

	    * testsuite/lib/libjava.exp (libjava_arguments): Use 'file
	    normalize' rather than the defunct DejaGnu 'absolute' proc.

Index: testsuite/lib/libjava.exp
===================================================================
--- testsuite/lib/libjava.exp	(revision 235209)
+++ testsuite/lib/libjava.exp	(working copy)
@@ -416,7 +416,7 @@
 
     # Search for libtool.  We need it to link.
     set found_compiler 0
-    set d [absolute $objdir]
+    set d [file normalize $objdir]
     foreach x {. .. ../.. ../../..} {
     if {[file exists $d/$x/libtool]} then {
         # We have to run silently to avoid DejaGNU lossage.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 811 bytes --]

             reply	other threads:[~2016-04-19 16:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-19 16:13 Ben Elliston [this message]
2016-04-19 16:20 ` Andrew Haley
2016-04-23 22:06 Dominique d'Humières

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=20160419161334.GA30802@air.net.au \
    --to=bje@air.net.au \
    --cc=java-patches@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).