Source-Changes-HG archive

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

[src/netbsd-3]: src/lib/libc/string Pull up revision 1.4 (requested by dsl in...



details:   https://anonhg.NetBSD.org/src/rev/071e9f156a49
branches:  netbsd-3
changeset: 575997:071e9f156a49
user:      riz <riz%NetBSD.org@localhost>
date:      Sat Jun 04 20:50:05 2005 +0000

description:
Pull up revision 1.4 (requested by dsl in ticket #422):
Only advance 'p' once each time around the loop....

diffstat:

 lib/libc/string/wcschr.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 9c771e5f5f3f -r 071e9f156a49 lib/libc/string/wcschr.c
--- a/lib/libc/string/wcschr.c  Sat Jun 04 15:55:26 2005 +0000
+++ b/lib/libc/string/wcschr.c  Sat Jun 04 20:50:05 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wcschr.c,v 1.2.10.1 2005/05/30 21:35:58 tron Exp $     */
+/*     $NetBSD: wcschr.c,v 1.2.10.2 2005/06/04 20:50:05 riz Exp $      */
 
 /*-
  * Copyright (c)1999 Citrus Project,
@@ -30,7 +30,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: wcschr.c,v 1.2.10.1 2005/05/30 21:35:58 tron Exp $");
+__RCSID("$NetBSD: wcschr.c,v 1.2.10.2 2005/06/04 20:50:05 riz Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include <assert.h>
@@ -48,7 +48,6 @@
                }
                if (!*p)
                        return NULL;
-               p++;
        }
        /*NOTREACHED*/
 }



Home | Main Index | Thread Index | Old Index