Source-Changes-HG archive

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

[src/trunk]: src/lib/libc \\ -> \e



details:   https://anonhg.NetBSD.org/src/rev/88d3b74874c4
branches:  trunk
changeset: 753664:88d3b74874c4
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Apr 05 21:33:54 2010 +0000

description:
\\ -> \e

diffstat:

 lib/libc/gen/ctype.3   |  4 ++--
 lib/libc/stdio/fopen.3 |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 3639f4682065 -r 88d3b74874c4 lib/libc/gen/ctype.3
--- a/lib/libc/gen/ctype.3      Mon Apr 05 21:33:25 2010 +0000
+++ b/lib/libc/gen/ctype.3      Mon Apr 05 21:33:54 2010 +0000
@@ -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++;
 }
diff -r 3639f4682065 -r 88d3b74874c4 lib/libc/stdio/fopen.3
--- a/lib/libc/stdio/fopen.3    Mon Apr 05 21:33:25 2010 +0000
+++ b/lib/libc/stdio/fopen.3    Mon Apr 05 21:33:54 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: fopen.3,v 1.23 2005/05/25 16:01:24 kleink Exp $
+.\"    $NetBSD: fopen.3,v 1.24 2010/04/05 21:34:47 joerg Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -100,7 +100,7 @@
 extension.
 .Pp
 Any created files will have mode
-.Pf \\*q Dv S_IRUSR
+.Pf \*q Dv S_IRUSR
 \&|
 .Dv S_IWUSR
 \&|
@@ -110,7 +110,7 @@
 \&|
 .Dv S_IROTH
 \&|
-.Dv S_IWOTH Ns \\*q
+.Dv S_IWOTH Ns \*q
 .Pq Li 0666 ,
 as modified by the process'
 umask value (see



Home | Main Index | Thread Index | Old Index