[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] avoid assuming MAXPATHLEN in config(8)

* Robert Millan <rmh@debian.org>, 20110707 13:12:
> As for the __GLIBC__ bit, it is difficult to handle this without a
> function that canonicalizes arbitrary-length pathnames.  Would you
> prefer something like:
> // use realpath on a statically-allocated buffer
> #else
> // assume canonicalize_file_name() is present
> #endif

Considering that the function is rather small anyway, why not compile it
in unconditionally (though having a different name).

 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

Attachment: pgp9iNV4qvxQx.pgp
Description: PGP signature

Reply to: