* Robert Millan <[email protected]>, 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:
> 
> #ifdef MAXPATHLEN
> // 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 <[email protected]>
 WWW: http://80386.nl/

Attachment: pgp13TINd4oPx.pgp
Description: PGP signature

Reply via email to