pkgsrc/emulators/tme/patches/patch-ac
skrll 336dccb73f Update to 0.4.
A huge number of changes have been made. This most visible being support
for emulating a SUN3/160.
2005-07-27 07:29:26 +00:00

13 lines
403 B
Text

$NetBSD: patch-ac,v 1.3 2005/07/27 07:29:26 skrll Exp $
--- libtme/module.c.orig 2005-01-26 12:59:24.000000000 +0000
+++ libtme/module.c
@@ -230,7 +230,7 @@ tme_module_open(const char *module_fake_
for (p1 = module_raw_name;
(c = *p1) != '\0';
p1++) {
- if (!isalnum(c)) {
+ if (!isalnum((unsigned char)c)) {
*p1 = '_';
if (c == '/'
&& first_slash == NULL) {