Module Name: src
Committed By: joerg
Date: Mon Apr 5 21:33:54 UTC 2010
Modified Files:
src/lib/libc/gen: ctype.3
Log Message:
\\ -> \e
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/lib/libc/gen/ctype.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/ctype.3
diff -u src/lib/libc/gen/ctype.3:1.19 src/lib/libc/gen/ctype.3:1.20
--- src/lib/libc/gen/ctype.3:1.19 Wed Mar 11 12:57:03 2009
+++ src/lib/libc/gen/ctype.3 Mon Apr 5 21:33:54 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: ctype.3,v 1.19 2009/03/11 12:57:03 joerg Exp $
+.\" $NetBSD: ctype.3,v 1.20 2010/04/05 21:33:54 joerg Exp $
.\"
.\" Copyright (c) 1991 Regents of the University of California.
.\" All rights reserved.
@@ -78,7 +78,7 @@
code:
.Bd -literal
const char *s = ...;
-while (*s != '\\0') {
+while (*s != '\e0') {
putchar(toupper((int)(unsigned char)*s));
s++;
}