OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [libiberty/] [make-relative-prefix.c] - Diff between revs 157 and 225

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 157 Rev 225
Line 291... Line 291...
            }
            }
        }
        }
    }
    }
 
 
  if ( resolve_links )
  if ( resolve_links )
    {
 
      full_progname = lrealpath (progname);
      full_progname = lrealpath (progname);
      if (full_progname == NULL)
 
        return NULL;
 
    }
 
  else
  else
    full_progname = strdup(progname);
    full_progname = strdup(progname);
 
  if (full_progname == NULL)
 
    return NULL;
 
 
  prog_dirs = split_directories (full_progname, &prog_num);
  prog_dirs = split_directories (full_progname, &prog_num);
  free (full_progname);
  free (full_progname);
  if (prog_dirs == NULL)
  if (prog_dirs == NULL)
    return NULL;
    return NULL;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.