pkgsrc/comms/fidogate/patches/patch-be
abs c7ad5c4afa You are in a maze of twisty little Makefiles, all with short install targets
Somewhat more than 11 rooms later... PKG_DESTDIR_SUPPORT
2009-12-18 01:09:23 +00:00

13 lines
533 B
Text

$NetBSD: patch-be,v 1.2 2009/12/18 01:09:23 abs Exp $
--- src/gate/rfc2ftn.c.orig 2004-08-22 20:19:12.000000000 +0000
+++ src/gate/rfc2ftn.c
@@ -619,7 +619,7 @@ void cvt_user_name(char *s)
* capitalized. If no '_' chars are found, '.' are converted to
* spaces (User.Name@p.f.n.z.fidonet.org addressing style).
*/
- convert_flag = isupper(*s) ? -1 : 1;
+ convert_flag = isupper((unsigned char)*s) ? -1 : 1;
us_flag = strchr(s, '_') || strchr(s, ' ') || strchr(s, '@');
for(; *s; s++) {