Source-Changes-HG archive

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

[src/trunk]: src/lib/libutil Update example using hex-escape-sequences to con...



details:   https://anonhg.NetBSD.org/src/rev/cc91051bb333
branches:  trunk
changeset: 789131:cc91051bb333
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Wed Aug 07 23:22:28 2013 +0000

description:
Update example using hex-escape-sequences to conform to gcc parsing rules.
(See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33167 for details.)

diffstat:

 lib/libutil/snprintb.3 |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 7c08d0acdef9 -r cc91051bb333 lib/libutil/snprintb.3
--- a/lib/libutil/snprintb.3    Wed Aug 07 22:51:59 2013 +0000
+++ b/lib/libutil/snprintb.3    Wed Aug 07 23:22:28 2013 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: snprintb.3,v 1.15 2013/08/07 22:51:59 pgoyette Exp $
+.\"     $NetBSD: snprintb.3,v 1.16 2013/08/07 23:22:28 pgoyette Exp $
 .\"
 .\" Copyright (c) 1998 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -228,9 +228,9 @@
 \(rA "03<BITTWO,BITONE>"
 
 snprintb(buf, buflen,
-       "\e20\ex10NOTBOOT\ex0fFPP\ex0eSDVMA\ex0cVIDEO"
-       "\ex0bLORES\ex0aFPA\ex09DIAG\ex07CACHE"
-       "\ex06IOCACHE\ex05LOOPBACK\ex04DBGCACHE",
+       "\e20\ex10NOTBOOT\ex0f" "FPP\ex0eSDVMA\ex0cVIDEO"
+       "\ex0bLORES\ex0a" "FPA\ex09" "DIAG\ex07" "CACHE"
+       "\ex06IOCACHE\ex05LOOPBACK\ex04" "DBGCACHE",
        0xe860)
 \(rA "0xe860<NOTBOOT,FPP,SDVMA,VIDEO,CACHE,IOCACHE>"
 .Ed



Home | Main Index | Thread Index | Old Index