$NetBSD: patch-aa,v 1.2 2001/05/14 17:09:14 rh Exp $ --- source/cddb.c.orig Sun May 6 18:16:33 2001 +++ source/cddb.c @@ -200,7 +200,12 @@ return -1; } +#ifdef HAVE_STRERROR_R strerror_r(rc, message, 64); +#else + strncpy (message, strerror (rc), 64); + message[63]='\0'; +#endif fputs("Error invoking pthread_create: ", stderr); fputs(message, stderr); fputc('\n', stderr);