We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b85eacd commit db7d426Copy full SHA for db7d426
src/shared/helpers.h
@@ -124,13 +124,6 @@ RC_UNUSED static const char *basename_c(const char *path)
124
return (path);
125
}
126
127
-RC_UNUSED static bool existss(const char *pathname)
128
-{
129
- struct stat buf;
130
-
131
- return (stat(pathname, &buf) == 0 && buf.st_size != 0);
132
-}
133
134
RC_UNUSED static FILE *do_fopenat(int dirfd, const char *pathname, int mode)
135
{
136
int fd = openat(dirfd, pathname, mode, 0666);
0 commit comments