* mandoc: Support the "powerpc64" architecture name.
@ 2020-06-29 19:22 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2020-06-29 19:22 UTC (permalink / raw)
To: source
Log Message:
-----------
Support the "powerpc64" architecture name.
The first file using it in .Dt was just committed by kettenis@.
Modified Files:
--------------
mandoc:
arch.c
cgi.c
Revision Data
-------------
Index: cgi.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/cgi.c,v
retrieving revision 1.172
retrieving revision 1.173
diff -Lcgi.c -Lcgi.c -u -p -r1.172 -r1.173
--- cgi.c
+++ cgi.c
@@ -122,10 +122,11 @@ static const char *const sec_names[] = {
static const int sec_MAX = sizeof(sec_names) / sizeof(char *);
static const char *const arch_names[] = {
- "amd64", "alpha", "armv7", "arm64",
- "hppa", "i386", "landisk",
- "loongson", "luna88k", "macppc", "mips64",
- "octeon", "sgi", "socppc", "sparc64",
+ "amd64", "alpha", "armv7", "arm64",
+ "hppa", "i386", "landisk", "loongson",
+ "luna88k", "macppc", "mips64", "octeon",
+ "powerpc64", "sgi", "socppc", "sparc64",
+
"amiga", "arc", "armish", "arm32",
"atari", "aviion", "beagle", "cats",
"hppa64", "hp300",
Index: arch.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/arch.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -Larch.c -Larch.c -u -p -r1.15 -r1.16
--- arch.c
+++ arch.c
@@ -1,4 +1,4 @@
-/* $Id$ */
+/* $Id$ */
/*
* Copyright (c) 2017, 2019 Ingo Schwarze <schwarze@openbsd.org>
*
@@ -26,7 +26,7 @@ arch_valid(const char *arch, enum mandoc
const char *openbsd_arch[] = {
"alpha", "amd64", "arm64", "armv7", "hppa", "i386",
"landisk", "loongson", "luna88k", "macppc", "mips64",
- "octeon", "sgi", "sparc64", NULL
+ "octeon", "powerpc64", "sgi", "sparc64", NULL
};
const char *netbsd_arch[] = {
"acorn26", "acorn32", "algor", "alpha", "amiga",
--
To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-29 19:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-29 19:22 mandoc: Support the "powerpc64" architecture name schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).