Re: Bug in builtin function abspath (again)

2006-05-31 Thread Eli Zaretskii
> From: Boris Kolpackov <[EMAIL PROTECTED]> > Date: Wed, 31 May 2006 07:48:12 + (UTC) > > I just checked the page for realpath in SUS and I don't see anything > that implies this. My understanding that all components of the path > must exist. So it's probably system-dependent. > > Yes, that

Re: Bug in builtin function abspath (again)

2006-05-31 Thread Boris Kolpackov
Eli Zaretskii <[EMAIL PROTECTED]> writes: > > > The realpath function will resolve both absolute and relative paths > > > and return the absolute pathname corresponding to pathname. All but > > > the last component of pathname must exist when realpath is called. I just checked the page for realpa

Re: Bug in builtin function abspath (again)

2006-05-30 Thread Eli Zaretskii
> Date: Tue, 30 May 2006 10:49:17 -0400 > Cc: bug-make@gnu.org > From: "Paul D. Smith" <[EMAIL PROTECTED]> > > > The realpath function will resolve both absolute and relative paths > > and return the absolute pathname corresponding to pathname. All but > > the last component of pathname must exist

Re: Bug in builtin function abspath (again)

2006-05-30 Thread Paul D. Smith
%% Eli Zaretskii <[EMAIL PROTECTED]> writes: ez> Incidentally, shouldn't we emulate realpath's failures in ez> func_realpath on systems that don't have realpath? AFAIK, ez> realpath fails if the file does not exist, so perhaps we should ez> stat the result of abspath on such systems and r

Re: Bug in builtin function abspath (again)

2006-05-27 Thread Eli Zaretskii
Incidentally, shouldn't we emulate realpath's failures in func_realpath on systems that don't have realpath? AFAIK, realpath fails if the file does not exist, so perhaps we should stat the result of abspath on such systems and return an NULL if it fails. WDYT? __

Re: Bug in builtin function abspath (again)

2006-05-26 Thread Paul D. Smith
%% Andreas Büning <[EMAIL PROTECTED]> writes: ab> In July 2005 I sent an email to this list because the new builtin ab> function abspath does not support drive letters. I also sent a patch ab> to fix this. The last information I got about this issue was the ab> following email (24th of Jul

Bug in builtin function abspath (again)

2006-05-26 Thread Andreas Büning
Hello! In July 2005 I sent an email to this list because the new builtin function abspath does not support drive letters. I also sent a patch to fix this. The last information I got about this issue was the following email (24th of July, 2005) by Paul Smith stating that he wanted to find a differe