head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.05.01.19.43.30; author vins; state Exp; branches; next ; commitid 4FASsrb0KTHCd9EG; desc @@ 1.1 log @net/libnfs: Import libnfs-6.0.2 Packaged in wip by PHO, with some modifications by vins. LIBNFS is a client library for accessing NFS shares over a network. LIBNFS offers three different APIs, for different use: 1, RAW: A fully async low level RPC library for NFS protocols 2, NFS ASYNC: A fully asynchronous library for high level vfs functions 3, NFS SYNC: A synchronous library for high level vfs functions @ text @$NetBSD$ Fix misuse of ctype(3) functions: char values must always be cast to unsigned char. --- lib/nfs_v4.c.orig 2025-11-14 14:16:21.037945741 +0000 +++ lib/nfs_v4.c @@@@ -433,7 +433,7 @@@@ nfs_get_ugid(struct nfs_context *nfs, co const char *name = buf; while (slen) { - if (isdigit(*buf)) { + if (isdigit((unsigned char)*buf)) { ugid *= 10; ugid += *buf - '0'; } else { @