Import of pkgsrc-2015Q2

This commit is contained in:
2015-08-30 02:56:09 -07:00
committed by Lionel Sambuc
parent 4af1cdf7a9
commit f641581404
15409 changed files with 267784 additions and 121624 deletions

View File

@@ -1,13 +1,13 @@
$NetBSD: patch-ab,v 1.1 2008/02/27 16:14:25 apb Exp $
$NetBSD: patch-ab,v 1.2 2015/04/06 02:26:53 rodent Exp $
--- src/ntlm.c.orig 2006-10-15 10:40:04.000000000 +0200
--- src/ntlm.c.orig 2015-02-17 13:07:21.000000000 +0000
+++ src/ntlm.c
@@ -43,7 +43,7 @@ int text2unicode(const char * text, char
buflen = ((buflen>>1)<<1);
if(!text || !buflen) return 0;
do {
- buf[count++] = toupper(*text++);
+ buf[count++] = toupper((unsigned char)*text++);
buf[count++] = '\0';
} while (*text && count < buflen);
return count;
buflen = ((buflen>>1)<<1);
if(!text || !buflen) return 0;
do {
- buf[count++] = toupper(*text++);
+ buf[count++] = toupper((unsigned char)*text++);
buf[count++] = '\0';
} while (*text && count < buflen);
return count;