Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/string Only advance 'p' once each time around the l...
details: https://anonhg.NetBSD.org/src/rev/a509090d124f
branches: trunk
changeset: 581742:a509090d124f
user: dsl <dsl%NetBSD.org@localhost>
date: Sat Jun 04 20:09:56 2005 +0000
description:
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 e3ce643c0b6f -r a509090d124f lib/libc/string/wcschr.c
--- a/lib/libc/string/wcschr.c Sat Jun 04 16:17:17 2005 +0000
+++ b/lib/libc/string/wcschr.c Sat Jun 04 20:09:56 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wcschr.c,v 1.3 2005/05/30 06:00:01 christos Exp $ */
+/* $NetBSD: wcschr.c,v 1.4 2005/06/04 20:09:56 dsl 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.3 2005/05/30 06:00:01 christos Exp $");
+__RCSID("$NetBSD: wcschr.c,v 1.4 2005/06/04 20:09:56 dsl 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