This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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 applied fix fallout fron Janis 2004-05-28 patch for target-supports.exp


All,

I have applied the following patch as obvious to fix the errors

"ERROR: ./tmp.x does not exist in unix_load."

which were introduced in Janis 2004-05-28 patch.

Graham

2004-05-30 Graham Stott <graham.stott@btinternet.com>

        * lib/target-supports.exp (check_iconv_available): Fix fallout
        from 2004-05-28 patch.

---------------------------------------------------------------------------
Index: target-supports.exp
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/lib/target-supports.exp,v
retrieving revision 1.19
diff -c -p -r1.19 target-supports.exp
*** target-supports.exp 28 May 2004 22:31:44 -0000      1.19
--- target-supports.exp 30 May 2004 17:44:40 -0000
*************** proc check_iconv_available { test_what }
*** 239,251 ****

      set lines [${tool}_target_compile $src $exe executable "libs=$libiconv" ]
      file delete $src
-     remote_file build delete $exe

      if [string match "" $lines] then {
        # No error messages, everything is OK.

!       set result [${tool}_load "./tmp.x" "" ""]
        set status [lindex $result 0];

verbose "check_iconv_available status is <$status>" 2

--- 239,251 ----

      set lines [${tool}_target_compile $src $exe executable "libs=$libiconv" ]
      file delete $src

      if [string match "" $lines] then {
        # No error messages, everything is OK.

!       set result [${tool}_load "./$exe" "" ""]
        set status [lindex $result 0];
+       remote_file build delete $exe

        verbose "check_iconv_available status is <$status>" 2
-----------------------------------------------------------------------------


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