man3/*: srcfix: trim a trailing space
PATCH 1/1 man3/*: srcfix: trim a trailing space
Output is from: test-groff -b -e -mandoc -T utf8 -rF0 -t -w w -z
[ "test-groff" is a developmental version of "groff" ]
There is no change in the output of "nroff" and "groff".
####
troff: <fts.3>:50: warning: trailing space
####
troff: <getgrnam.3>:175: warning: trailing space
####
troff: <getpwnam.3>:181: warning: trailing space
####
troff: <rcmd.3>:52: warning: trailing space
troff: <rcmd.3>:57: warning: trailing space
troff: <rcmd.3>:60: warning: trailing space
troff: <rcmd.3>:63: warning: trailing space
troff: <rcmd.3>:69: warning: trailing space
troff: <rcmd.3>:73: warning: trailing space
####
troff: <rexec.3>:48: warning: trailing space
troff: <rexec.3>:51: warning: trailing space
####
troff: <sem_open.3>:36: warning: trailing space
--- man3/fts.3 | 2 +- man3/getgrnam.3 | 2 +- man3/getpwnam.3 | 2 +- man3/rcmd.3 | 12 ++++++------ man3/rexec.3 | 4 ++-- man3/sem_open.3 | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-)
man3/fts.3 +1 -1
@@ -47,7 +47,7 @@ traverse a file hierarchy .B #include <sys/stat.h> .B #include <fts.h> .PP -.BI "FTS *fts_open(char * const *" path_argv ", int " options ", " +.BI "FTS *fts_open(char * const *" path_argv ", int " options , .BI " int (*" compar ")(const FTSENT **, const FTSENT **));" .PP .BI "FTSENT *fts_read(FTS *" ftsp );
man3/getgrnam.3 +1 -1
@@ -172,7 +172,7 @@ In case of error, an error number is returned, and NULL is stored in .IR *result . .SH ERRORS .TP -.BR 0 " or " ENOENT " or " ESRCH " or " EBADF " or " EPERM " or ... " +.BR 0 " or " ENOENT " or " ESRCH " or " EBADF " or " EPERM " or ..." The given .I name or
man3/getpwnam.3 +1 -1
@@ -178,7 +178,7 @@ In case of error, an error number is returned, and NULL is stored in .IR *result . .SH ERRORS .TP -.BR 0 " or " ENOENT " or " ESRCH " or " EBADF " or " EPERM " or ... " +.BR 0 " or " ENOENT " or " ESRCH " or " EBADF " or " EPERM " or ..." The given .I name or
man3/rcmd.3 +6 -6
@@ -49,28 +49,28 @@ stream to a remote command .nf .B #include <netdb.h> \ \ \fP/* Or <unistd.h> on some systems */ .PP -.BI "int rcmd(char **" ahost ", unsigned short " inport ", const char *" locuser ", " +.BI "int rcmd(char **" ahost ", unsigned short " inport ", const char *" locuser , .BI " const char *" remuser ", const char *" cmd ", int *" fd2p ); .PP .BI "int rresvport(int *" port ); .PP -.BI "int iruserok(uint32_t " raddr ", int " superuser ", " +.BI "int iruserok(uint32_t " raddr ", int " superuser , .BI " const char *" ruser ", const char *" luser ); .PP -.BI "int ruserok(const char *" rhost ", int " superuser ", " +.BI "int ruserok(const char *" rhost ", int " superuser , .BI " const char *" ruser ", const char *" luser ); .PP -.BI "int rcmd_af(char **" ahost ", unsigned short " inport ", const char *" locuser ", " +.BI "int rcmd_af(char **" ahost ", unsigned short " inport ", const char *" locuser , .BI " const char *" remuser ", const char *" cmd ", int *" fd2p , .BI " sa_family_t " af ); .PP .BI "int rresvport_af(int *" port ", sa_family_t " af ); .PP -.BI "int iruserok_af(const void *" raddr ", int " superuser ", " +.BI "int iruserok_af(const void *" raddr ", int " superuser , .BI " const char *" ruser ", const char *" luser \ ", sa_family_t " af ); .PP -.BI "int ruserok_af(const char *" rhost ", int " superuser ", " +.BI "int ruserok_af(const char *" rhost ", int " superuser , .BI " const char *" ruser ", const char *" luser \ ", sa_family_t " af ); .fi
man3/rexec.3 +2 -2
@@ -45,10 +45,10 @@ rexec, rexec_af \- return stream to a remote command .nf .B #include <netdb.h> .PP -.BI "int rexec(char **" ahost ", int " inport ", const char *" user ", " +.BI "int rexec(char **" ahost ", int " inport ", const char *" user , .BI " const char *" passwd ", const char *" cmd ", int *" fd2p ); .PP -.BI "int rexec_af(char **" ahost ", int " inport ", const char *" user ", " +.BI "int rexec_af(char **" ahost ", int " inport ", const char *" user , .BI " const char *" passwd ", const char *" cmd ", int *" fd2p , .BI " sa_family_t " af ); .fi
man3/sem_open.3 +1 -1
@@ -33,7 +33,7 @@ sem_open \- initialize and open a named semaphore .B #include <semaphore.h> .PP .BI "sem_t *sem_open(const char *" name ", int " oflag ); -.BI "sem_t *sem_open(const char *" name ", int " oflag ", " +.BI "sem_t *sem_open(const char *" name ", int " oflag , .BI " mode_t " mode ", unsigned int " value ); .fi .PP
Signature · 1 line
2.27.0
Hello Bjarni,
Quoted 25 lines · Bjarni Ingi Gislason
Output is from: test-groff -b -e -mandoc -T utf8 -rF0 -t -w w -z
[ "test-groff" is a developmental version of "groff" ]
There is no change in the output of "nroff" and "groff".
####
troff: <fts.3>:50: warning: trailing space
####troff: <getgrnam.3>:175: warning: trailing space
####troff: <getpwnam.3>:181: warning: trailing space
####troff: <rcmd.3>:52: warning: trailing space
troff: <rcmd.3>:57: warning: trailing space
troff: <rcmd.3>:60: warning: trailing space
troff: <rcmd.3>:63: warning: trailing space
troff: <rcmd.3>:69: warning: trailing space
troff: <rcmd.3>:73: warning: trailing space
####
Quoted 7 lines
troff: <rexec.3>:48: warning: trailing space
troff: <rexec.3>:51: warning: trailing space
####troff: <sem_open.3>:36: warning: trailing space
Signed-off-by Bjarni Ingi Gislason <[email protected]>
Thanks, patch applied.
Cheers,
Michael
Quoted 118 lines
--- man3/fts.3 | 2 +- man3/getgrnam.3 | 2 +- man3/getpwnam.3 | 2 +- man3/rcmd.3 | 12 ++++++------ man3/rexec.3 | 4 ++-- man3/sem_open.3 | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-)man3/fts.3 +1
-1@@ -47,7 +47,7 @@ traverse a file hierarchy .B #include <sys/stat.h> .B #include <fts.h> .PP -.BI "FTS *fts_open(char * const *" path_argv ", int " options ", " +.BI "FTS *fts_open(char * const *" path_argv ", int " options , .BI " int (*" compar ")(const FTSENT **, const FTSENT **));" .PP .BI "FTSENT *fts_read(FTS *" ftsp );man3/getgrnam.3 +1
-1@@ -172,7 +172,7 @@ In case of error, an error number is returned, and NULL is stored in .IR *result . .SH ERRORS .TP -.BR 0 " or " ENOENT " or " ESRCH " or " EBADF " or " EPERM " or ... " +.BR 0 " or " ENOENT " or " ESRCH " or " EBADF " or " EPERM " or ..." The given .I name orman3/getpwnam.3 +1
-1@@ -178,7 +178,7 @@ In case of error, an error number is returned, and NULL is stored in .IR *result . .SH ERRORS .TP -.BR 0 " or " ENOENT " or " ESRCH " or " EBADF " or " EPERM " or ... " +.BR 0 " or " ENOENT " or " ESRCH " or " EBADF " or " EPERM " or ..." The given .I name orman3/rcmd.3 +6
-6@@ -49,28 +49,28 @@ stream to a remote command .nf .B #include <netdb.h> \ \ \fP/* Or <unistd.h> on some systems */ .PP -.BI "int rcmd(char **" ahost ", unsigned short " inport ", const char *" locuser ", " +.BI "int rcmd(char **" ahost ", unsigned short " inport ", const char *" locuser , .BI " const char *" remuser ", const char *" cmd ", int *" fd2p ); .PP .BI "int rresvport(int *" port ); .PP -.BI "int iruserok(uint32_t " raddr ", int " superuser ", " +.BI "int iruserok(uint32_t " raddr ", int " superuser , .BI " const char *" ruser ", const char *" luser ); .PP -.BI "int ruserok(const char *" rhost ", int " superuser ", " +.BI "int ruserok(const char *" rhost ", int " superuser , .BI " const char *" ruser ", const char *" luser ); .PP -.BI "int rcmd_af(char **" ahost ", unsigned short " inport ", const char *" locuser ", " +.BI "int rcmd_af(char **" ahost ", unsigned short " inport ", const char *" locuser , .BI " const char *" remuser ", const char *" cmd ", int *" fd2p , .BI " sa_family_t " af ); .PP .BI "int rresvport_af(int *" port ", sa_family_t " af ); .PP -.BI "int iruserok_af(const void *" raddr ", int " superuser ", " +.BI "int iruserok_af(const void *" raddr ", int " superuser , .BI " const char *" ruser ", const char *" luser \ ", sa_family_t " af ); .PP -.BI "int ruserok_af(const char *" rhost ", int " superuser ", " +.BI "int ruserok_af(const char *" rhost ", int " superuser , .BI " const char *" ruser ", const char *" luser \ ", sa_family_t " af ); .fiman3/rexec.3 +2
-2@@ -45,10 +45,10 @@ rexec, rexec_af \- return stream to a remote command .nf .B #include <netdb.h> .PP -.BI "int rexec(char **" ahost ", int " inport ", const char *" user ", " +.BI "int rexec(char **" ahost ", int " inport ", const char *" user , .BI " const char *" passwd ", const char *" cmd ", int *" fd2p ); .PP -.BI "int rexec_af(char **" ahost ", int " inport ", const char *" user ", " +.BI "int rexec_af(char **" ahost ", int " inport ", const char *" user , .BI " const char *" passwd ", const char *" cmd ", int *" fd2p , .BI " sa_family_t " af ); .fiman3/sem_open.3 +1
-1@@ -33,7 +33,7 @@ sem_open \- initialize and open a named semaphore .B #include <semaphore.h> .PP .BI "sem_t *sem_open(const char *" name ", int " oflag ); -.BI "sem_t *sem_open(const char *" name ", int " oflag ", " +.BI "sem_t *sem_open(const char *" name ", int " oflag , .BI " mode_t " mode ", unsigned int " value ); .fi .PP
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/