* [PATCH] stat.2: tweak description of AT_EMPTY_PATH
@ 2017-04-01 19:23 Marcin Ślusarz
[not found] ` <CA+GA0_vdZxOQaUji0c+Sbv=qTYX3uRRGVnEov91_OM=DrNfg1g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Marcin Ślusarz @ 2017-04-01 19:23 UTC (permalink / raw)
To: linux-man-u79uwXL29TY76Z2rM5mHXA
Currently it says when dirfd is AT_FDCWD it can be something
other than directory, which doesn't make much sense. Just swap
the order of sentences.
Signed-off-by: Marcin Ślusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
man2/stat.2 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/man2/stat.2 b/man2/stat.2
index 1d838a9..7ec2593 100644
--- a/man2/stat.2
+++ b/man2/stat.2
@@ -506,14 +506,14 @@ is an empty string, operate on the file referred to by
.BR open (2)
.B O_PATH
flag).
+In this case,
+.I dirfd
+can refer to any type of file, not just a directory.
If
.I dirfd
is
.BR AT_FDCWD ,
the call operates on the current working directory.
-In this case,
-.I dirfd
-can refer to any type of file, not just a directory.
This flag is Linux-specific; define
.B _GNU_SOURCE
.\" Before glibc 2.16, defining _ATFILE_SOURCE sufficed
--
2.9.3
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] stat.2: tweak description of AT_EMPTY_PATH
[not found] ` <CA+GA0_vdZxOQaUji0c+Sbv=qTYX3uRRGVnEov91_OM=DrNfg1g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2017-04-10 15:21 ` Michael Kerrisk (man-pages)
[not found] ` <ceea65c2-45d8-725d-0d38-9f1a0f42391f-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Michael Kerrisk (man-pages) @ 2017-04-10 15:21 UTC (permalink / raw)
To: Marcin Ślusarz, linux-man-u79uwXL29TY76Z2rM5mHXA
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
Hello Marcin
On 04/01/2017 09:23 PM, Marcin Ślusarz wrote:
> Currently it says when dirfd is AT_FDCWD it can be something
> other than directory, which doesn't make much sense. Just swap
> the order of sentences.
>
> Signed-off-by: Marcin Ślusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> ---
> man2/stat.2 | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/man2/stat.2 b/man2/stat.2
> index 1d838a9..7ec2593 100644
> --- a/man2/stat.2
> +++ b/man2/stat.2
> @@ -506,14 +506,14 @@ is an empty string, operate on the file referred to by
> .BR open (2)
> .B O_PATH
> flag).
> +In this case,
> +.I dirfd
> +can refer to any type of file, not just a directory.
> If
> .I dirfd
> is
> .BR AT_FDCWD ,
> the call operates on the current working directory.
> -In this case,
> -.I dirfd
> -can refer to any type of file, not just a directory.
> This flag is Linux-specific; define
> .B _GNU_SOURCE
> .\" Before glibc 2.16, defining _ATFILE_SOURCE sufficed
Thanks! Patch applied.
Cheers,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] stat.2: tweak description of AT_EMPTY_PATH
[not found] ` <ceea65c2-45d8-725d-0d38-9f1a0f42391f-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2017-04-12 18:35 ` Marcin Ślusarz
[not found] ` <CA+GA0_sjHnu9+-hFw_+z6Q=d4fnhL02W-rQ6ohfu-8yr1oQmuA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Marcin Ślusarz @ 2017-04-12 18:35 UTC (permalink / raw)
To: Michael Kerrisk (man-pages); +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
2017-04-10 17:21 GMT+02:00 Michael Kerrisk (man-pages) <mtk.manpages@gmail.com>:
> Hello Marcin
>
> On 04/01/2017 09:23 PM, Marcin Ślusarz wrote:
>> Currently it says when dirfd is AT_FDCWD it can be something
>> other than directory, which doesn't make much sense. Just swap
>> the order of sentences.
>>
>> Signed-off-by: Marcin Ślusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>> ---
>> man2/stat.2 | 6 +++---
>> 1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/man2/stat.2 b/man2/stat.2
>> index 1d838a9..7ec2593 100644
>> --- a/man2/stat.2
>> +++ b/man2/stat.2
>> @@ -506,14 +506,14 @@ is an empty string, operate on the file referred to by
>> .BR open (2)
>> .B O_PATH
>> flag).
>> +In this case,
>> +.I dirfd
>> +can refer to any type of file, not just a directory.
>> If
>> .I dirfd
>> is
>> .BR AT_FDCWD ,
>> the call operates on the current working directory.
>> -In this case,
>> -.I dirfd
>> -can refer to any type of file, not just a directory.
>> This flag is Linux-specific; define
>> .B _GNU_SOURCE
>> .\" Before glibc 2.16, defining _ATFILE_SOURCE sufficed
>
> Thanks! Patch applied.
I'm not seeing it in any of these trees:
https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
https://github.com/mkerrisk/man-pages
Some secret repo? ;)
Marcin
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] stat.2: tweak description of AT_EMPTY_PATH
[not found] ` <CA+GA0_sjHnu9+-hFw_+z6Q=d4fnhL02W-rQ6ohfu-8yr1oQmuA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2017-04-19 15:23 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 4+ messages in thread
From: Michael Kerrisk (man-pages) @ 2017-04-19 15:23 UTC (permalink / raw)
To: Marcin Ślusarz
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA
On 04/12/2017 08:35 PM, Marcin Ślusarz wrote:
> 2017-04-10 17:21 GMT+02:00 Michael Kerrisk (man-pages) <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
>> Hello Marcin
>>
>> On 04/01/2017 09:23 PM, Marcin Ślusarz wrote:
>>> Currently it says when dirfd is AT_FDCWD it can be something
>>> other than directory, which doesn't make much sense. Just swap
>>> the order of sentences.
>>>
>>> Signed-off-by: Marcin Ślusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>>> ---
>>> man2/stat.2 | 6 +++---
>>> 1 file changed, 3 insertions(+), 3 deletions(-)
>>>
>>> diff --git a/man2/stat.2 b/man2/stat.2
>>> index 1d838a9..7ec2593 100644
>>> --- a/man2/stat.2
>>> +++ b/man2/stat.2
>>> @@ -506,14 +506,14 @@ is an empty string, operate on the file referred to by
>>> .BR open (2)
>>> .B O_PATH
>>> flag).
>>> +In this case,
>>> +.I dirfd
>>> +can refer to any type of file, not just a directory.
>>> If
>>> .I dirfd
>>> is
>>> .BR AT_FDCWD ,
>>> the call operates on the current working directory.
>>> -In this case,
>>> -.I dirfd
>>> -can refer to any type of file, not just a directory.
>>> This flag is Linux-specific; define
>>> .B _GNU_SOURCE
>>> .\" Before glibc 2.16, defining _ATFILE_SOURCE sufficed
>>
>> Thanks! Patch applied.
>
> I'm not seeing it in any of these trees:
> https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
> https://github.com/mkerrisk/man-pages
>
> Some secret repo? ;)
No, I just hadn't pushed yet. Should be visible now.
Cheers,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-04-19 15:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-01 19:23 [PATCH] stat.2: tweak description of AT_EMPTY_PATH Marcin Ślusarz
[not found] ` <CA+GA0_vdZxOQaUji0c+Sbv=qTYX3uRRGVnEov91_OM=DrNfg1g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-04-10 15:21 ` Michael Kerrisk (man-pages)
[not found] ` <ceea65c2-45d8-725d-0d38-9f1a0f42391f-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-04-12 18:35 ` Marcin Ślusarz
[not found] ` <CA+GA0_sjHnu9+-hFw_+z6Q=d4fnhL02W-rQ6ohfu-8yr1oQmuA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-04-19 15:23 ` Michael Kerrisk (man-pages)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.