aboutsummaryrefslogtreecommitdiffstats
path: root/testing/micropython/python3.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-07-24 15:29:46 +0000
committerJakub Jirutka <jakub@jirutka.cz>2017-07-28 01:03:56 +0200
commit18308a6e42b82ad5a6c3ddf46c63c6601b9fac84 (patch)
treec07aec3a4de527c3b9a194a3719ff11934fadd31 /testing/micropython/python3.patch
parent831eb5589dc9d1ef397f27c9c4e402e82f8bda57 (diff)
downloadaports-18308a6e42b82ad5a6c3ddf46c63c6601b9fac84.tar.bz2
aports-18308a6e42b82ad5a6c3ddf46c63c6601b9fac84.tar.xz
main/paxmark: follow POSIX with 'return' vs 'exit'
The 'return' builtin is used for functions and dot scripts only: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#return This means that paxmark has undefined behaviour. When /bin/sh is bash, an error is output: /usr/sbin/paxmark: line 32: return: can only `return' from a function or sourced script This commit replaces 'return' with POSIX standard 'exit'.
Diffstat (limited to 'testing/micropython/python3.patch')
0 files changed, 0 insertions, 0 deletions