Sponsored by: The FreeBSD Foundation
Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 64083 Build 60967: arc lint + arc unit
Event Timeline
libexec/flua/modules/lposix.c | ||
---|---|---|
175 | why doesn't this require a goto err too? |
libexec/flua/modules/lposix.c | ||
---|---|---|
175 | This function raises a lua error on failure and does not return. Internally it longjmps away to somewhere else in the lua VM and either invokes an error handler if in a pcall() context or prints a stack trace and exits. The luaL_checkinteger calls below behave the same. |
libexec/flua/modules/lposix.c | ||
---|---|---|
174 | We seem to have a number of different styles for the arg and extramsg args of luaL_argcheck
some include the function (close takes exactly one argument (fd)) while some do not (at least one argument required). Independent of this change we could do a pass to rationalize these |
My git branch for this patch stack is here: https://github.com/ifreund/freebsd-src/commits/bsdinstall-pkgbase-components/
As an aside while MFCing some flua work I (re)discovered 1f31e00e19f9e24d4c891a24973e08a027c4f71c
Interesting, I wasn't aware of fbsd.exec. Unfortunately it doesn't look flexible enough to support the bsddialog use-case as it lacks a way to capture stderr output.