Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/gen Use the same variable for the locale example.



details:   https://anonhg.NetBSD.org/src/rev/3efd2ce2286d
branches:  trunk
changeset: 447529:3efd2ce2286d
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Jan 15 03:30:58 2019 +0000

description:
Use the same variable for the locale example.

diffstat:

 lib/libc/gen/ctype.3 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r be16056dd547 -r 3efd2ce2286d lib/libc/gen/ctype.3
--- a/lib/libc/gen/ctype.3      Tue Jan 15 01:23:49 2019 +0000
+++ b/lib/libc/gen/ctype.3      Tue Jan 15 03:30:58 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ctype.3,v 1.28 2019/01/15 01:23:49 uwe Exp $
+.\"    $NetBSD: ctype.3,v 1.29 2019/01/15 03:30:58 riastradh Exp $
 .\"
 .\" Copyright (c) 1991 Regents of the University of California.
 .\" All rights reserved.
@@ -176,7 +176,7 @@
 % gcc -Wall -o test test.c
 test.c: In function 'main':
 test.c:12:2: warning: array subscript has type 'char'
-% LANG=C ./test $(printf '\e270')
+% LC_CTYPE=C ./test $(printf '\e270')
 -72 5
 184 0
 % LC_CTYPE=C ./test $(printf '\e377')



Home | Main Index | Thread Index | Old Index