pkgsrc/audio/mpg123/patches/patch-aw
joerg 5e00c79bb0 Correct usage of errno and ctype macros. The former is wrong when thread
linking is active, the latter can result in segfaults.

Bump revisions of mpg123, mpg123-esound and mpg123-nas for the ctype
bugfix.
2005-10-03 15:17:14 +00:00

13 lines
331 B
Text

$NetBSD: patch-aw,v 1.1 2005/10/03 15:17:14 joerg Exp $
--- term.c.orig 2005-10-03 15:20:10.000000000 +0200
+++ term.c
@@ -90,7 +90,7 @@ static long term_handle_input(struct fra
while(n > 0) {
fd_set r;
struct timeval t;
- char val;
+ unsigned char val;
t.tv_sec=0;
t.tv_usec=(do_delay) ? 1000 : 0;