[Bug 195284] New: audio/rawrec fails on 10.1 with sigaction report
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Nov 22 16:48:38 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195284
Bug ID: 195284
Summary: audio/rawrec fails on 10.1 with sigaction report
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: antonfb at hesiod.org
audio/rawrec port fails on 10.1 with error:
atlas.hesiod.org:anton[42]: rawrec
(null): sigaction on SIGIO failed: Invalid argument
Turns out sa_flags is not set in one case. Earlier patches fixed that in other
places.
Diff to fix
--- main.c.jaorg 2014-11-21 18:17:01.430856801 -0800
+++ main.c 2014-11-21 18:17:38.300047904 -0800
@@ -124,6 +124,7 @@
strncpy(cnst_dflt_format, "s16_le", (size_t) (MAX_FORMAT_STRING_LENGTH +
1));
/* at the moment, this application goes with the default for most signals */
+ ignorer_act.sa_flags = 0;
ignorer_act.sa_handler = SIG_IGN;
/* because I'm unclear on how SIGIO is supposed to work, it's not
applicable here, and I'm paranoid */
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list