Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/gen PR/51825: Ngie Cooper: use the non _ vers...
details: https://anonhg.NetBSD.org/src/rev/97379bbe08c5
branches: trunk
changeset: 350621:97379bbe08c5
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 14 20:47:41 2017 +0000
description:
PR/51825: Ngie Cooper: use the non _ version of the macro
diffstat:
tests/lib/libc/gen/t_glob.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5888f6c4aeff -r 97379bbe08c5 tests/lib/libc/gen/t_glob.c
--- a/tests/lib/libc/gen/t_glob.c Sat Jan 14 20:45:16 2017 +0000
+++ b/tests/lib/libc/gen/t_glob.c Sat Jan 14 20:47:41 2017 +0000
@@ -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 @@
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;
}
Home |
Main Index |
Thread Index |
Old Index