summaryrefslogtreecommitdiffstatshomepage
path: root/main.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-05 15:49:37 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-05 15:49:37 +0000
commit5f27623657f4ddca94ff04ce11a91213fa4583a9 (patch)
treeb6f1de0d7e5bbf51d9c930caf269aae323f38c7e /main.c
parentb35e18840fdc536364e4d41b021fe53af309bb59 (diff)
downloadmandoc-5f27623657f4ddca94ff04ce11a91213fa4583a9.tar.gz
mandoc-5f27623657f4ddca94ff04ce11a91213fa4583a9.tar.zst
mandoc-5f27623657f4ddca94ff04ce11a91213fa4583a9.zip
Merge schwarze@'s patch to allow uname() to fail without causing an exit.
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 5624134f..0f6994f8 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.116 2010/12/05 15:37:30 kristaps Exp $ */
+/* $Id: main.c,v 1.117 2010/12/05 15:49:37 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -170,6 +170,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"request scope close w/none open",
"scope already open",
"scope open on exit",
+ "uname(3) system call failed",
"macro requires line argument(s)",
"macro requires body argument(s)",
"macro requires argument(s)",
@@ -194,7 +195,6 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"NOT IMPLEMENTED: .so with absolute path or \"..\"",
"no document body",
"no document prologue",
- "utsname system call failed",
"static buffer exhausted",
};