aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/libc
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-10-27 13:56:22 -0700
committerAlexey Neyman <stilor@att.net>2018-10-27 13:56:22 -0700
commit21af769802e25d99ef00026372b3e54970643f61 (patch)
treeca8e82e23adc88e815f3b470350481a0af1ac087 /scripts/build/libc
parente12e90c798a7c27cb0d7edfba4e7bcd80fc68b65 (diff)
downloadcrosstool-ng-21af769802e25d99ef00026372b3e54970643f61.tar.gz
crosstool-ng-21af769802e25d99ef00026372b3e54970643f61.tar.bz2
crosstool-ng-21af769802e25d99ef00026372b3e54970643f61.zip
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>
Diffstat (limited to 'scripts/build/libc')
0 files changed, 0 insertions, 0 deletions