* [crosstool-ng/crosstool-ng] 21af76: Detect errors in CT_SaveLocal
@ 2018-10-27 21:04 Alexey Neyman
0 siblings, 0 replies; only message in thread
From: Alexey Neyman @ 2018-10-27 21:04 UTC (permalink / raw)
To: crossgcc
[-- Attachment #1: Type: text/plain, Size: 1490 bytes --]
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 <stilor@att.net>
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 <stilor@att.net>
Commit: d2bf59cb7da0940aa3a7bd660f2701f3eb2677fe
https://github.com/crosstool-ng/crosstool-ng/commit/d2bf59cb7da0940aa3a7bd660f2701f3eb2677fe
Author: Alexey Neyman <stilor@att.net>
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-10-27 21:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-27 21:04 [crosstool-ng/crosstool-ng] 21af76: Detect errors in CT_SaveLocal Alexey Neyman
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).