URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
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;
|
}
|
}
|
|
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.