From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 71996 invoked by alias); 27 Oct 2018 21:04:19 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 71978 invoked by uid 89); 27 Oct 2018 21:04:19 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:Unknown, january, January, H*R:D*net X-HELO: m71-131.mailgun.net Received: from m71-131.mailgun.net (HELO m71-131.mailgun.net) (166.78.71.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 27 Oct 2018 21:04:17 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1540674255; h=Content-Transfer-Encoding: Content-Type: Mime-Version: Subject: Message-ID: To: Reply-To: From: Date: Sender; bh=1NFkKXbKBwP+QGtqJd+AikUG6j21WQx3CaJcAujGB9o=; b=YJAwNThd6FZ1TLkWe3Jt5QoVQLiw7yohaMJhRhzbDMQzt/RAxSE13bMY/+DpfSh+M0uQkQka D62yE0Sp+X5VkoB/ugO2o8mBgOL5jYge8yjQ7WLpygYtI1Lz7j4KiP02z80Ne/DYIssqnV1S hNYW5iTfsAVtom/5vSa1U+3S5fM= X-Mailgun-Sending-Ip: 166.78.71.131 X-Mailgun-Sid: WyIwZTgzNyIsICJjcm9zc2djY0Bzb3VyY2V3YXJlLm9yZyIsICI0MGYiXQ== Sender: stilor=att.net@github.com Received: from github.com (Unknown [192.30.252.44]) by mxa.mailgun.org with ESMTP id 5bd4d2cf.7f1515d8c960-smtp-out-n01; Sat, 27 Oct 2018 21:04:15 -0000 (UTC) Date: Sat, 27 Oct 2018 21:04:00 -0000 From: Alexey Neyman Reply-To: Alexey Neyman To: crossgcc@sourceware.org Message-ID: <5bd4d2cf72e7e_7dbd2b0035be857477560@hookshot-fe-6e9b612.cp1-iad.github.net.mail> Subject: [crosstool-ng/crosstool-ng] 21af76: Detect errors in CT_SaveLocal Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_5bd4d2cf7273a_7dbd2b0035be85747742"; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-10/txt/msg00028.txt.bz2 ----==_mimepart_5bd4d2cf7273a_7dbd2b0035be85747742 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-length: 1490 Branch: refs/heads/master Home: https://github.com/crosstool-ng/crosstool-ng Commit: 21af769802e25d99ef00026372b3e54970643f61 https://github.com/crosstool-ng/crosstool-ng/commit/21af769802e25d99ef00026372b3e54970643f61 Author: Alexey Neyman Date: 2018-10-27 (Sat, 27 Oct 2018) Changed paths: M scripts/functions Log Message: ----------- Detect errors in CT_SaveLocal The function is called from a conditional and therefore, the CT_OnError handler is not invoked on failures. Need to return an error and check for the error return in the caller. Also, while here, fix the issue that was causing the failure - move can fail if it crosses a filesystem, so fall back to 'cp+rm' in that case. Signed-off-by: Alexey Neyman Commit: d2bf59cb7da0940aa3a7bd660f2701f3eb2677fe https://github.com/crosstool-ng/crosstool-ng/commit/d2bf59cb7da0940aa3a7bd660f2701f3eb2677fe Author: Alexey Neyman Date: 2018-10-27 (Sat, 27 Oct 2018) Changed paths: M scripts/functions Log Message: ----------- Merge pull request #1072 from stilor/failure-when-saving Detect errors in CT_SaveLocal Compare: https://github.com/crosstool-ng/crosstool-ng/compare/e12e90c798a7...d2bf59cb7da0 **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. ----==_mimepart_5bd4d2cf7273a_7dbd2b0035be85747742--