Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/gen Fix in comment.



details:   https://anonhg.NetBSD.org/src/rev/f59e508f9d81
branches:  trunk
changeset: 781726:f59e508f9d81
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Sep 26 15:33:43 2012 +0000

description:
Fix in comment.

diffstat:

 lib/libc/gen/fts.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r aceb3d8c73fc -r f59e508f9d81 lib/libc/gen/fts.c
--- a/lib/libc/gen/fts.c        Wed Sep 26 07:24:38 2012 +0000
+++ b/lib/libc/gen/fts.c        Wed Sep 26 15:33:43 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fts.c,v 1.45 2012/09/15 19:31:12 spz Exp $     */
+/*     $NetBSD: fts.c,v 1.46 2012/09/26 15:33:43 msaitoh Exp $ */
 
 /*-
  * Copyright (c) 1990, 1993, 1994
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)fts.c      8.6 (Berkeley) 8/14/94";
 #else
-__RCSID("$NetBSD: fts.c,v 1.45 2012/09/15 19:31:12 spz Exp $");
+__RCSID("$NetBSD: fts.c,v 1.46 2012/09/26 15:33:43 msaitoh Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -205,7 +205,7 @@
        sp->fts_cur->fts_info = FTS_INIT;
 
        /*
-        * If using chdir(2), grab a file descriptor pointing to dot to insure
+        * If using chdir(2), grab a file descriptor pointing to dot to ensure
         * that we can get back here; this could be avoided for some paths,
         * but almost certainly not worth the effort.  Slashes, symbolic links,
         * and ".." are all fairly nasty problems.  Note, if we can't get the
@@ -488,7 +488,7 @@
                return (sp->fts_cur = NULL);
        }
 
-       /* Nul terminate the pathname. */
+       /* NUL terminate the pathname. */
        sp->fts_path[p->fts_pathlen] = '\0';
 
        /*



Home | Main Index | Thread Index | Old Index