Re: [PATCH v2 01/11] mount_setattr.2: document glibc >= 2.36 syscall wrappers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


(追記) (追記ここまで)



Hi Aleksa, Askar,
On Sat, Aug 09, 2025 at 12:42:58PM +0200, Alejandro Colomar wrote:
> Hi Aleksa, Askar,
>
> On Fri, Aug 08, 2025 at 09:55:10PM +1000, Aleksa Sarai wrote:
> > On 2025年08月08日, Askar Safin <safinaskar@xxxxxxxxxxxx> wrote:
> > > When I render "mount_setattr" from this (v2) pathset, I see weird quote mark. I. e.:
> > > 
> > > $ MANWIDTH=10000 man /path/to/mount_setattr.2
> > > ...
> > > SYNOPSIS
> > > #include <fcntl.h> /* Definition of AT_* constants */
> > > #include <sys/mount.h>
> > > 
> > > int mount_setattr(int dirfd, const char *path, unsigned int flags,
> > > struct mount_attr *attr, size_t size);"
> > > ...
> > 
> > Ah, my bad. "make -R lint-man" told me to put end quotes on the synopsis
> > lines, but I missed that there was a separate quote missing. This should
> > fix it:
> > 
> > diff --git a/man/man2/mount_setattr.2 b/man/man2/mount_setattr.2
> > index d44fafc93a20..46fcba927dd8 100644
> > --- a/man/man2/mount_setattr.2
> > +++ b/man/man2/mount_setattr.2
> > @@ -14,7 +14,7 @@ .SH SYNOPSIS
> > .B #include <sys/mount.h>
> > .P
> > .BI "int mount_setattr(int " dirfd ", const char *" path ", unsigned int " flags ","
> > -.BI " struct mount_attr *" attr ", size_t " size );"
> > +.BI " struct mount_attr *" attr ", size_t " size ");"
>
> Actually, I'd use
>
> .BI " struct mount_attr *" attr ", size_t " size );
I've pushed this as a fix. As a sanity check:
	$ diffman-git HEAD
	--- HEAD^:man/man2/mount_setattr.2
	+++ HEAD:man/man2/mount_setattr.2
	@@ -11,7 +11,7 @@
		#include <sys/mount.h>
	 
		int mount_setattr(int dirfd, const char *path, unsigned int flags,
	- struct mount_attr *attr, size_t size);"
	+ struct mount_attr *attr, size_t size);
	 
	 DESCRIPTION
		The mount_setattr() system call changes the mount properties of a mount
Have a lovely day!
Alex
>
> > .fi
> > .SH DESCRIPTION
> > The
>
> Hmmm, thanks for the catch! My CI server is down until I come back home
> and have a chance to fix it.
>
>
> Have a lovely day!
> Alex
>
> -- 
> <https://www.alejandro-colomar.es/>
-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature


[Index of Archives] [Linux USB Devel] [Video for Linux] [Linux Audio Users] [Yosemite News] [Linux Kernel] [Linux SCSI]

(追記) (追記ここまで)
Powered by Linux

AltStyle によって変換されたページ (->オリジナル) /