Module Name: src
Committed By: wiz
Date: Sun Jun 30 19:19:12 UTC 2013
Modified Files:
src/lib/libc/gen: fts.3
Log Message:
Strings are NUL-terminated, not NULL-terminated.
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/lib/libc/gen/fts.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/gen/fts.3
diff -u src/lib/libc/gen/fts.3:1.30 src/lib/libc/gen/fts.3:1.31
--- src/lib/libc/gen/fts.3:1.30 Wed Mar 30 16:29:26 2011
+++ src/lib/libc/gen/fts.3 Sun Jun 30 19:19:12 2013
@@ -1,4 +1,4 @@
-.\" $NetBSD: fts.3,v 1.30 2011/03/30 16:29:26 jruoho Exp $
+.\" $NetBSD: fts.3,v 1.31 2013/06/30 19:19:12 wiz Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -332,7 +332,7 @@ Therefore, the
and
.Fa fts_accpath
fields are guaranteed to be
-.Dv NULL Ns -terminated
+.Dv NUL Ns -terminated
.Em only
for the file most recently returned by
.Fn fts_read .
@@ -350,7 +350,7 @@ are attempted.
The
.Fa fts_name
field is always
-.Dv NULL Ns -terminated .
+.Dv NUL Ns -terminated .
.Sh FTS_OPEN
The
.Fn fts_open