Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/citrus/modules Remove tautology.
details: https://anonhg.NetBSD.org/src/rev/0badf0ec4c9f
branches: trunk
changeset: 759380:0badf0ec4c9f
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Dec 07 22:01:45 2010 +0000
description:
Remove tautology.
diffstat:
lib/libc/citrus/modules/citrus_iso2022.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 39a902c6dfc6 -r 0badf0ec4c9f lib/libc/citrus/modules/citrus_iso2022.c
--- a/lib/libc/citrus/modules/citrus_iso2022.c Tue Dec 07 22:01:22 2010 +0000
+++ b/lib/libc/citrus/modules/citrus_iso2022.c Tue Dec 07 22:01:45 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: citrus_iso2022.c,v 1.19 2008/06/14 16:01:07 tnozaki Exp $ */
+/* $NetBSD: citrus_iso2022.c,v 1.20 2010/12/07 22:01:45 joerg Exp $ */
/*-
* Copyright (c)1999, 2002 Citrus Project,
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: citrus_iso2022.c,v 1.19 2008/06/14 16:01:07 tnozaki Exp $");
+__RCSID("$NetBSD: citrus_iso2022.c,v 1.20 2010/12/07 22:01:45 joerg Exp $");
#endif /* LIBC_SCCS and not lint */
#include <assert.h>
@@ -880,7 +880,7 @@
/* buffer is not empty */
p = psenc->ch;
- while (psenc->chlen < sizeof(psenc->ch) && n >= 0) {
+ while (psenc->chlen < sizeof(psenc->ch)) {
if (n > 0) {
psenc->ch[psenc->chlen++] = *s0++;
n--;
Home |
Main Index |
Thread Index |
Old Index