Date: Sat, 22 Nov 2014 16:48:37 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 195284] New: audio/rawrec fails on 10.1 with sigaction report Message-ID: <bug-195284-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: antonfb@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195284-13>