Skip to contentSkip to conversation

: sys_siglist unavalible in uclibc

ALSA - utils 0001400 [email protected] 1 participant 1 message Sep 6, 2005

lore
Share & tools
lore
#0 lore raw

The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1400>
======================================================================
Reported By: mithro
Assigned To:
======================================================================

Project:                    ALSA - utils
Issue ID:                   1400
Category:                   amixer
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             09-06-2005 21:56 CEST
Last Modified:              09-06-2005 21:56 CEST

======================================================================
Summary: sys_siglist unavalible in uclibc
Description:
amixer uses sys_siglist, this symbol is unavalible when compiling against the uclibc library. strsignal should be used instead. The patch below fixes the problem,

alsamixer.c 2005-09-06 21:49:41.019275096 +0200 renamed from alsamixer.c.orig 2005-09-06 21:49:26.808435472 +0200 +1 -1
@@ -2188,7 +2188,7 @@
 mixer_signal_handler (int signal)
 {
   if (signal != SIGSEGV)
-    mixer_abort (ERR_SIGNAL, sys_siglist[signal], 0);
+    mixer_abort (ERR_SIGNAL, strsignal(signal), 0);
   else
     {
       fprintf (stderr, "\nSegmentation fault.\n");

======================================================================

Issue History
Date Modified Username Field Change
======================================================================
09-06-05 21:56 mithro New Issue
======================================================================

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf