chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prep v239: fs-util: Mask new chase_symlinks_and_*() functions.
[elogind.git]
/
src
/
basic
/
fs-util.c
diff --git
a/src/basic/fs-util.c
b/src/basic/fs-util.c
index 5a9b1c950f26bc1533d4f343e4d0b22487967d35..a82d3a14eb22cde90b6711acf8f142d883f76722 100644
(file)
--- a/
src/basic/fs-util.c
+++ b/
src/basic/fs-util.c
@@
-958,6
+958,7
@@
chased_one:
return 0;
}
return 0;
}
+#if 0 /// UNNEEDED by elogind
int chase_symlinks_and_open(
const char *path,
const char *root,
int chase_symlinks_and_open(
const char *path,
const char *root,
@@
-1077,6
+1078,7
@@
int chase_symlinks_and_stat(
return 1;
}
return 1;
}
+#endif // 0
int access_fd(int fd, int mode) {
char p[STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(fd) + 1];
int access_fd(int fd, int mode) {
char p[STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(fd) + 1];