Re: module suggestion: realpath

2007-10-29 Thread Ben Pfaff
Sam Steingold <[EMAIL PROTECTED]> writes: > Bruno Haible wrote: >> Linux manpage: >> >> BUGS >>Avoid using this function. It is broken by design since it >>is impossible to determine a suitable size for the output >>buffer, resolved_path. According to POSIX a

Re: module suggestion: realpath

2007-10-29 Thread Sam Steingold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruno Haible wrote: > Sam Steingold wrote: >> CLISP comes with a replacement realpath implementation for platforms >> which lacks it (are there still such platforms?). > > If someone provides a correct implementation of realpath for gnulib, we will >

Re: module suggestion: realpath

2007-10-28 Thread Bruno Haible
Sam Steingold wrote: > > There is an alternative modules 'canonicalize-lgpl'; it has fewer > > dependencies. > > how is it functionally different? > if it is not, why two versions? It is functionally the same. The 'canonicalize' module also has a mode CAN_ALL_BUT_LAST that correspondings to clisp

Re: module suggestion: realpath

2007-10-28 Thread Sam Steingold
> * Bruno Haible <[EMAIL PROTECTED]> [2007-10-28 05:43:54 +0200]: > > Sam Steingold wrote: >> > But it's better to use canonicalize_file_name() >> >> it comes with a huge dependecy set... > > There is an alternative modules 'canonicalize-lgpl'; it has fewer > dependencies. how is it functionally

Re: module suggestion: realpath

2007-10-27 Thread Bruno Haible
Sam Steingold wrote: > > But it's better to use canonicalize_file_name() > > it comes with a huge dependecy set... There is an alternative modules 'canonicalize-lgpl'; it has fewer dependencies. Bruno

Re: module suggestion: realpath

2007-10-27 Thread Sam Steingold
> * Bruno Haible <[EMAIL PROTECTED]> [2007-10-27 00:25:01 +0200]: > > Sam Steingold wrote: >> CLISP comes with a replacement realpath implementation for platforms >> which lacks it (are there still such platforms?). > > If someone provides a correct implementation of realpath for gnulib, > we will

Re: module suggestion: realpath

2007-10-26 Thread Bruno Haible
Sam Steingold wrote: > CLISP comes with a replacement realpath implementation for platforms > which lacks it (are there still such platforms?). If someone provides a correct implementation of realpath for gnulib, we will accept it. But it's better to use canonicalize_file_name(), because - real

Re: module suggestion: realpath

2007-10-26 Thread Bruce Korb
On 10/26/07, Ben Pfaff <[EMAIL PROTECTED]> wrote: > > ... realpath implementation for platforms > > which lacks it (are there still such platforms?). > > gnulib has an implementation of canonicalize_file_name. Is that > sufficient? 1. Normally, long names don't bother me too much. Nevertheless

Re: module suggestion: realpath

2007-10-26 Thread Ben Pfaff
Sam Steingold <[EMAIL PROTECTED]> writes: > CLISP comes with a replacement realpath implementation for platforms > which lacks it (are there still such platforms?). gnulib has an implementation of canonicalize_file_name. Is that sufficient? -- "Unix... is not so much a product as it is a pains

module suggestion: realpath

2007-10-26 Thread Sam Steingold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CLISP comes with a replacement realpath implementation for platforms which lacks it (are there still such platforms?). I think gnulib is a good home for the code (or, rather, CLISP is not). Sam. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/