* Gordon Matzigkeit writes:
> [EMAIL PROTECTED] (Alfred M. Szmidt) writes:
> Minor nit:
>> char * gdb_realpath (const char *filename) { -#ifdef HAVE_REALPATH
>> +#ifdef HAVE_CANONICALIZE_FILE_NAME + return canonicalize_file_name
>> (filename); +#elif HAVE_REALPATH
> To keep their old semantics,
[EMAIL PROTECTED] (Alfred M. Szmidt) writes:
> Will the following be OK (I didn't bother adding the patch for the
> regenerated configure and config.in, the patches become so messy)?
That looks good.
Minor nit:
> char *
> gdb_realpath (const char *filename)
> {
> -#ifdef HAVE_REALPATH
> +#i
* Mark Kettenis writes:
> It makes sense to me to use canonicalize_file_name. However using
> #ifdef _GNU_SOURCE is not the right way to do this. Use an autoconf
> test for canonicalize filename instead.
Will the following be OK (I didn't bother adding the patch for the regenerated
configure an
Hi,
Looks like we have more fun MAXPATHLEN/PATH_MAX problems.
And as we don't define them the follow change will make the
compilation of GDB barf with a nice error that MAXPATHLEN and/or
PATH_MAX not being defined.
2002-01-19 Andrew Cagney <[EMAIL PROTECTED]>
* utils.c: Include for MA