Re: [PATCH 2/2] standard_file: Reverse return code logic for remote exists

2016-01-22 Thread Ben Elliston
Applied. Ben signature.asc Description: Digital signature ___ DejaGnu mailing list DejaGnu@gnu.org https://lists.gnu.org/mailman/listinfo/dejagnu

Re: [PATCH 1/2] standard_file: Add else clause

2016-01-22 Thread Ben Elliston
Applied. Ben signature.asc Description: Digital signature ___ DejaGnu mailing list DejaGnu@gnu.org https://lists.gnu.org/mailman/listinfo/dejagnu

Line-truncation bug in host_execute?

2016-01-22 Thread David Malcolm
I'm the maintainer of the "jit" component within gcc. We're carrying a patched copy of dejagnu's host_execute, "fixed_host_execute", for reasons given in: http://lists.gnu.org/archive/html/dejagnu/2014-10/msg7.html though I think we may have drifted further. I'm running into an issue with the

[PATCH 2/2] standard_file: Reverse return code logic for remote exists

2016-01-22 Thread Simon Marchi
The local "exists" case: return [file exists $file] returns 1 when the file exists, 0 otherwise. The remote case does the opposite, because it returns the process return code directly, where 0 is true/success/exists and non-zero is false/fail/does not exist. This patch fixes the remote case b

[PATCH 1/2] standard_file: Add else clause

2016-01-22 Thread Simon Marchi
I think that the current form: if ( !is_remote } { # Do non-remote stuff and return } # Do remote stuff is not very clear and that this would be more readable. if ( !is_remote } { # Do non-remote stuff } else { # Do remote stuff } That's all. ChangeLog: * lib/r