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,14 @@
--- src/common.c.orig Sun Nov 9 21:57:04 2014
+++ src/common.c Sat Jan 23 12:49:21 2016
@@ -44,9 +44,9 @@ void print_event_descriptions() {
}
int isdir( char const * path ) {
- static struct stat64 my_stat;
+ static struct stat my_stat;
- if ( -1 == lstat64( path, &my_stat ) ) {
+ if ( -1 == lstat( path, &my_stat ) ) {
if (errno == ENOENT) return 0;
fprintf(stderr, "Stat failed on %s: %s\n", path, strerror(errno));
return 0;