projects
/
dss.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
run: Improve error diagnostics for chdir(2) failure.
[dss.git]
/
file.c
diff --git
a/file.c
b/file.c
index 84944082960055e272e942aa40a760b5709eb875..d606c16e15242a4ed9069cd1929428ec42bbcd02 100644
(file)
--- a/
file.c
+++ b/
file.c
@@
-69,19
+69,6
@@
out:
closedir(dir);
return ret;
}
closedir(dir);
return ret;
}
-/**
- * Wrapper for chdir(2).
- *
- * \param path The specified directory.
- *
- * \return Standard.
- */
-int dss_chdir(const char *path)
-{
- if (chdir(path) >= 0)
- return 1;
- return -ERRNO_TO_DSS_ERROR(errno);
-}
/**
* Set a file descriptor to non-blocking mode.
/**
* Set a file descriptor to non-blocking mode.