This is a discussion on Re: realpath(1) within the mailing.openbsd.tech forums, part of the OpenBSD category; --> Message-ID: <424FC1C9.3040106@mindrot.org> Date: Sun, 03 Apr 2005 20:13:29 +1000 From: Damien Miller <djm@mindrot.org> User-Agent: Mozilla Thunderbird 1.0 (X11/20050317) X-Accept-Language: ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Message-ID: <424FC1C9.3040106@mindrot.org> Date: Sun, 03 Apr 2005 20:13:29 +1000 From: Damien Miller <djm@mindrot.org> User-Agent: Mozilla Thunderbird 1.0 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Han Boetes <han@mijncomputer.nl>, tect@mindrot.org Subject: Re: realpath(1) References: <20050403095510.GY14574@boetes.org> In-Reply-To: <20050403095510.GY14574@boetes.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Han Boetes wrote: > After a discussion on #openbsd on irc.freenode.net a frontend for > realpath(3) was requested. > > I did some creative cutting and pasting and had the code reviewed > on #openbsd > > FreeBSD and Debian also have a binary for this, though my binary > is based on dirname(1). The manpage is based on realpath(3) and > dirname(1). Maybe this would be better as a mode for dirname(1), based on argv[0]? Like what we do for stat(1), ksh(1), etc. No extra copy of crt0 that way. -d |