[RFC PATCH] configure: check for POSIX.1-2008 realpath(3) implementation.
David Bremner
david at tethera.net
Sun Jan 26 08:49:55 PST 2014
Tomi Ollila <tomi.ollila at iki.fi> writes:
>
> We could also create
>
> char * realpath2008 (const char * path, char * resolved_path)
> {
> if (resolved_path == NULL) {
> resolved_path = malloc (MAX_PATH);
> if (resolved_path == NULL)
> return NULL;
> }
> return realpath (path, resolved_path);
> }
>
I sent several private replies to Tomi this morning while being
sleepy. But they were not so great replies anyway.
What about implimenting a compat version of canonicalize_file_name ?
that function is a gnu extension, but since we only call realpath with a
NULL second argument, it might be slighltly simpler to test/google for.
d
More information about the notmuch
mailing list