From: "Andries E. Brouwer" <Andries.Brouwer-rh8NL+sEX9E@public.gmane.org>
To: Casper.Dik-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org
Cc: "Andries E. Brouwer"
<Andries.Brouwer-rh8NL+sEX9E@public.gmane.org>,
"Michael Kerrisk (man-pages)"
<mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: realpath(3) bugs
Date: Sat, 5 May 2012 17:50:55 +0200 [thread overview]
Message-ID: <20120505155054.GA11316@iq> (raw)
In-Reply-To: <201205050734.q457Y2AC002399-Og0DlWfCjE/25RUcvsgne1aTQe2KTcn/@public.gmane.org>
On Sat, May 05, 2012 at 09:34:01AM +0200, Casper.Dik-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org wrote:
> >The note about Solaris came from the 4.4BSD-Lite man page realpath.3
> >(dated 1994-02-16) which says:
>
> Yes, it noticed that it exists in both BSD and Linux manual pages;
> I asssumed it was copied by one or the other. Yours address was the
> first I could find to get it remoed.
I am not sure something needs to be removed. One might write
"early versions of" when something is no longer true in recent versions.
Andries
[In case you wonder whether this variation ever existed:
I have no old sources, at least not easily accessible,
but where some man pages straightforwardly state
"The realpath() function derives, from the pathname pointed to
by file_name, an absolute pathname that names the same file,
whose resolution does not involve ".", "..", or symbolic links."
, there are older SunOS man pages that say
"realpath() resolves all links, symbolic links, and references to ``.''
and ``..'' in file_name and stores the path in resolved_name.
It can handle both relative and absolute path names:
* For absolute path names and the relative names whose resolved name
cannot be expressed relatively (for example, ../../reldir), it returns
the resolved absolute name.
* For the other relative path names, it returns the resolved relative name."
Such descriptions strongly suggest that the documented version
of realpath need not return an absolute pathname in all cases.]
--
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
next prev parent reply other threads:[~2012-05-05 15:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-04 11:22 realpath(3) bugs Casper.Dik-QHcLZuEGTsvQT0dZR+AlfA
[not found] ` <201205041122.q44BMDEO002270-Og0DlWfCjE/25RUcvsgne1aTQe2KTcn/@public.gmane.org>
2012-05-04 22:54 ` Michael Kerrisk (man-pages)
[not found] ` <CAKgNAkgjjKXx_Aw5iF_Phe7c7ixpqtfLSiV6fkTttN5ge4CGww-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-05-05 0:06 ` Andries E. Brouwer
2012-05-05 7:34 ` Casper.Dik-QHcLZuEGTsvQT0dZR+AlfA
[not found] ` <201205050734.q457Y2AC002399-Og0DlWfCjE/25RUcvsgne1aTQe2KTcn/@public.gmane.org>
2012-05-05 15:50 ` Andries E. Brouwer [this message]
2012-05-05 18:10 ` Casper.Dik-QHcLZuEGTsvQT0dZR+AlfA
[not found] ` <201205051810.q45IAU9K000837-Og0DlWfCjE/86v54HqmmKFaTQe2KTcn/@public.gmane.org>
2012-05-05 22:14 ` Andries E. Brouwer
2012-05-05 18:34 ` Casper.Dik-QHcLZuEGTsvQT0dZR+AlfA
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120505155054.GA11316@iq \
--to=andries.brouwer-rh8nl+sex9e@public.gmane.org \
--cc=Casper.Dik-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox