[LinuxCNC/linuxcnc PR#66] Use getopt(3) in a way that’s compatible with FreeBSD.

未分类 bolang 4个月前 (10-15) 22次浏览

Issue #66 | 状态: 已关闭 | 作者: trasz | 创建时间: 2016-06-11

标签: portability


Without this patch loading modules fail due to accessing
uninitialized memory, like this:

halcmd: loadrt meh
:1: module ‘meh’ not loaded
:1: execv(‰EH=): No such file or directory

Thanks to Jeff Epler for figuring out the right fix.

Signed-off-by: Edward Tomasz Napierala trasz@FreeBSD.org


评论 (1)

#1 – jepler 于 2016-06-12

OK, I think that’s everything, though I worked by cherry-picking instead of merging so the refs are different and GH doesn’t know it. If you agree, can you close up this PR and open a new one the next time you have some work ready for review/inclusion?


原始Issue: https://github.com/LinuxCNC/linuxcnc/pull/66

喜欢 (0)