Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/citrus Spell NULL correctly.
details: https://anonhg.NetBSD.org/src/rev/301a5894d5a7
branches: trunk
changeset: 825419:301a5894d5a7
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Jul 13 15:44:45 2017 +0000
description:
Spell NULL correctly.
diffstat:
lib/libc/citrus/citrus_none.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f5b69e26b674 -r 301a5894d5a7 lib/libc/citrus/citrus_none.c
--- a/lib/libc/citrus/citrus_none.c Thu Jul 13 15:38:23 2017 +0000
+++ b/lib/libc/citrus/citrus_none.c Thu Jul 13 15:44:45 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: citrus_none.c,v 1.19 2013/05/28 16:57:56 joerg Exp $ */
+/* $NetBSD: citrus_none.c,v 1.20 2017/07/13 15:44:45 joerg Exp $ */
/*-
* Copyright (c)2002 Citrus Project,
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: citrus_none.c,v 1.19 2013/05/28 16:57:56 joerg Exp $");
+__RCSID("$NetBSD: citrus_none.c,v 1.20 2017/07/13 15:44:45 joerg Exp $");
#endif /* LIBC_SCCS and not lint */
#include <assert.h>
@@ -525,7 +525,7 @@
if (pwc != NULL)
*pwc = (_wc_t)(unsigned char) **s;
- *nresult = *s == '\0' ? 0 : 1;
+ *nresult = *s == NULL ? 0 : 1;
return (0);
}
Home |
Main Index |
Thread Index |
Old Index