From 4e1e07b8832fc97c40fd5e17c367d0225e629e91 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 31 Oct 2021 10:45:08 -0600 Subject: [PATCH] Escape some minus signs ('-') as required by newer groff. --- doc/sudo_plugin.man.in | 2 +- doc/sudo_plugin.mdoc.in | 2 +- doc/sudo_plugin_python.man.in | 8 ++++---- doc/sudo_plugin_python.mdoc.in | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/sudo_plugin.man.in b/doc/sudo_plugin.man.in index b02627535..3fab15088 100644 --- a/doc/sudo_plugin.man.in +++ b/doc/sudo_plugin.man.in @@ -4140,7 +4140,7 @@ The file or socket descriptor for I/O-based events or the signal number for signal events. For time-based events, \fIfd\fR -must be -1. +must be \-1. .TP 6n \fIevents\fR The following values determine what will trigger the event callback: diff --git a/doc/sudo_plugin.mdoc.in b/doc/sudo_plugin.mdoc.in index cadaa73b6..07c0d4969 100644 --- a/doc/sudo_plugin.mdoc.in +++ b/doc/sudo_plugin.mdoc.in @@ -3666,7 +3666,7 @@ The file or socket descriptor for I/O-based events or the signal number for signal events. For time-based events, .Fa fd -must be -1. +must be \-1. .It Fa events The following values determine what will trigger the event callback: .Bl -tag -width 4n diff --git a/doc/sudo_plugin_python.man.in b/doc/sudo_plugin_python.man.in index ebeee54b0..91cc35e84 100644 --- a/doc/sudo_plugin_python.man.in +++ b/doc/sudo_plugin_python.man.in @@ -112,9 +112,9 @@ l l. .PP \fRsudo.RC.REJECT\fR 0 .PP -\fRsudo.RC.ERROR\fR -1 +\fRsudo.RC.ERROR\fR \-1 .PP -\fRsudo.RC.USAGE_ERROR\fR -2 +\fRsudo.RC.USAGE_ERROR\fR \-2 .TE .RE .PP @@ -532,7 +532,7 @@ attempts to execute the command. The function arguments are as follows: .TP 6n \fIexit_status\fR -The exit status of the command if was executed, otherwise -1. +The exit status of the command if was executed, otherwise \-1. .TP 6n \fIerror\fR .br @@ -824,7 +824,7 @@ attempts to execute the command. The function arguments are as follows: .TP 6n \fIexit_status\fR -The exit status of the command if was executed, otherwise -1. +The exit status of the command if was executed, otherwise \-1. .TP 6n \fIerror\fR .br diff --git a/doc/sudo_plugin_python.mdoc.in b/doc/sudo_plugin_python.mdoc.in index ca803e428..2b4ef808a 100644 --- a/doc/sudo_plugin_python.mdoc.in +++ b/doc/sudo_plugin_python.mdoc.in @@ -94,8 +94,8 @@ The Python sudo module defines the following constants to improve readability: .It Dv sudo.RC.OK Ta 1 .It Dv sudo.RC.ACCEPT Ta 1 .It Dv sudo.RC.REJECT Ta 0 -.It Dv sudo.RC.ERROR Ta -1 -.It Dv sudo.RC.USAGE_ERROR Ta -2 +.It Dv sudo.RC.ERROR Ta \-1 +.It Dv sudo.RC.USAGE_ERROR Ta \-2 .El .Pp If a function returns @@ -434,7 +434,7 @@ attempts to execute the command. The function arguments are as follows: .Bl -tag -width 4n .It Fa exit_status -The exit status of the command if was executed, otherwise -1. +The exit status of the command if was executed, otherwise \-1. .It Fa error If the command could not be executed, this is set to the value of errno set by the @@ -668,7 +668,7 @@ attempts to execute the command. The function arguments are as follows: .Bl -tag -width 4n .It Fa exit_status -The exit status of the command if was executed, otherwise -1. +The exit status of the command if was executed, otherwise \-1. .It Fa error If the command could not be executed, this is set to the value of errno set by the