Module Name:    src
Committed By:   riastradh
Date:           Tue Jan 15 03:30:58 UTC 2019

Modified Files:
        src/lib/libc/gen: ctype.3

Log Message:
Use the same variable for the locale example.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 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.28 src/lib/libc/gen/ctype.3:1.29
--- src/lib/libc/gen/ctype.3:1.28	Tue Jan 15 01:23:49 2019
+++ src/lib/libc/gen/ctype.3	Tue Jan 15 03:30:58 2019
@@ -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 @@ out of your nose:
 % 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')

Reply via email to