SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- ict-main.cpp.orig Wed Nov 26 21:51:36 2014
+++ ict-main.cpp Wed Nov 26 21:52:12 2014
@@ -493,7 +493,7 @@ int main(int argc, char** argv)
if (uid != 0) {
fprintf(stderr, "insufficient privileges to use custom configuration (will use default)\n");
}
- else if (euidaccess(cfg.c_str(), R_OK) != 0) {
+ else if (access(cfg.c_str(), R_OK) != 0) {
perror("cannot read configuration file (will use default)");
}
}