diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-05 15:49:37 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-05 15:49:37 +0000 |
commit | 5f27623657f4ddca94ff04ce11a91213fa4583a9 (patch) | |
tree | b6f1de0d7e5bbf51d9c930caf269aae323f38c7e /mandoc.h | |
parent | b35e18840fdc536364e4d41b021fe53af309bb59 (diff) | |
download | mandoc-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 'mandoc.h')
-rw-r--r-- | mandoc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.27 2010/12/05 15:37:30 kristaps Exp $ */ +/* $Id: mandoc.h,v 1.28 2010/12/05 15:49:37 kristaps Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -93,6 +93,7 @@ enum mandocerr { MANDOCERR_NOSCOPE, /* no such block is open */ MANDOCERR_SCOPEREP, /* scope already open */ MANDOCERR_SCOPEEXIT, /* scope open on exit */ + MANDOCERR_UNAME, /* uname(3) system call failed */ /* FIXME: merge following with MANDOCERR_ARGCOUNT */ MANDOCERR_NOARGS, /* macro requires line argument(s) */ MANDOCERR_NOBODY, /* macro requires body argument(s) */ @@ -117,7 +118,6 @@ enum mandocerr { MANDOCERR_SOPATH, /* NOT IMPLEMENTED: .so with absolute path or ".." */ MANDOCERR_NODOCBODY, /* no document body */ MANDOCERR_NODOCPROLOG, /* no document prologue */ - MANDOCERR_UTSNAME, /* utsname system call failed */ MANDOCERR_MEM, /* static buffer exhausted */ MANDOCERR_MAX }; |