Re: POSIXfy readlink() call

2009-05-12 Thread Ruslan Ermilov
On Mon, May 11, 2009 at 04:23:52PM -0400, John Baldwin wrote: On Monday 11 May 2009 2:58:14 pm Kostik Belousov wrote: On Mon, May 11, 2009 at 02:46:14PM -0400, John Baldwin wrote: On Monday 11 May 2009 2:33:09 pm Kostik Belousov wrote: On Mon, May 11, 2009 at 02:05:07PM -0400, John

Re: POSIXfy readlink() call

2009-05-11 Thread John Baldwin
On Friday 28 September 2007 10:39:56 pm Ighighi wrote: The POXIX prototype for readlink(2) is: ssize_t readlink(const char *restrict path, char *restrict buf, size_t bufsize); It can't simply be corrected as it would change the ABI and thus requires a new system call, etc. However, do you

Re: POSIXfy readlink() call

2009-05-11 Thread Kostik Belousov
On Mon, May 11, 2009 at 02:05:07PM -0400, John Baldwin wrote: On Friday 28 September 2007 10:39:56 pm Ighighi wrote: ^ The POXIX prototype for readlink(2) is: ssize_t readlink(const char *restrict path, char *restrict buf, size_t bufsize); It can't simply be

Re: POSIXfy readlink() call

2009-05-11 Thread John Baldwin
On Monday 11 May 2009 2:33:09 pm Kostik Belousov wrote: On Mon, May 11, 2009 at 02:05:07PM -0400, John Baldwin wrote: On Friday 28 September 2007 10:39:56 pm Ighighi wrote: ^ Yes, I had this stuck in the back of my head from when it first appeared. The POXIX

Re: POSIXfy readlink() call

2009-05-11 Thread Kostik Belousov
On Mon, May 11, 2009 at 02:46:14PM -0400, John Baldwin wrote: On Monday 11 May 2009 2:33:09 pm Kostik Belousov wrote: On Mon, May 11, 2009 at 02:05:07PM -0400, John Baldwin wrote: On Friday 28 September 2007 10:39:56 pm Ighighi wrote: ^ Yes, I had this stuck

Re: POSIXfy readlink() call

2009-05-11 Thread John Baldwin
On Monday 11 May 2009 2:58:14 pm Kostik Belousov wrote: On Mon, May 11, 2009 at 02:46:14PM -0400, John Baldwin wrote: On Monday 11 May 2009 2:33:09 pm Kostik Belousov wrote: On Mon, May 11, 2009 at 02:05:07PM -0400, John Baldwin wrote: On Friday 28 September 2007 10:39:56 pm Ighighi

POSIXfy readlink() call

2007-09-28 Thread Ighighi
The POXIX prototype for readlink(2) is: ssize_t readlink(const char *restrict path, char *restrict buf, size_t bufsize); See: http://www.opengroup.org/onlinepubs/95399/functions/readlink.html NetBSD already did it: http://netbsd.gw.com/cgi-bin/man-cgi?readlink+2+ It'd be good have it