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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [gold/] [dirsearch.cc] - Diff between revs 27 and 159

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

Rev 27 Rev 159
Line 64... Line 64...
Dir_cache::read_files()
Dir_cache::read_files()
{
{
  DIR* d = opendir(this->dirname_);
  DIR* d = opendir(this->dirname_);
  if (d == NULL)
  if (d == NULL)
    {
    {
      // We ignore directories which do not exist.
      // We ignore directories which do not exist or are actually file
      if (errno != ENOENT)
      // names.
 
      if (errno != ENOENT && errno != ENOTDIR)
        gold::gold_error(_("%s: can not read directory: %s"),
        gold::gold_error(_("%s: can not read directory: %s"),
                         this->dirname_, strerror(errno));
                         this->dirname_, strerror(errno));
      return;
      return;
    }
    }
 
 

powered by: WebSVN 2.1.0

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