Module Name: src Committed By: christos Date: Sat Jan 14 20:47:41 UTC 2017
Modified Files: src/tests/lib/libc/gen: t_glob.c Log Message: PR/51825: Ngie Cooper: use the non _ version of the macro To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/gen/t_glob.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/libc/gen/t_glob.c diff -u src/tests/lib/libc/gen/t_glob.c:1.4 src/tests/lib/libc/gen/t_glob.c:1.5 --- src/tests/lib/libc/gen/t_glob.c:1.4 Fri Jan 13 16:30:41 2017 +++ src/tests/lib/libc/gen/t_glob.c Sat Jan 14 15:47:41 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: t_glob.c,v 1.4 2017/01/13 21:30:41 christos Exp $ */ +/* $NetBSD: t_glob.c,v 1.5 2017/01/14 20:47:41 christos Exp $ */ /*- * Copyright (c) 2010 The NetBSD Foundation, Inc. * All rights reserved. @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: t_glob.c,v 1.4 2017/01/13 21:30:41 christos Exp $"); +__RCSID("$NetBSD: t_glob.c,v 1.5 2017/01/14 20:47:41 christos Exp $"); #include <atf-c.h> @@ -146,7 +146,7 @@ gl_stat(const char *name , __gl_stat_t * memset(st, 0, sizeof(*st)); if (strcmp(buf, "a") == 0 || strcmp(buf, "a/b") == 0) { - st->st_mode |= _S_IFDIR; + st->st_mode |= S_IFDIR; return 0; }