This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: remove call to obsolete dejagnu proc


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: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]