pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/pkgtools/pkg_install/files/add
Module Name: pkgsrc
Committed By: schmonz
Date: Tue Mar 4 16:00:18 UTC 2025
Modified Files:
pkgsrc/pkgtools/pkg_install/files/add: perform.c
Log Message:
pkg_install: define O_CLOEXEC if needed. Fixes Mac OS X Tiger.
To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.133 pkgsrc/pkgtools/pkg_install/files/add/perform.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/pkgtools/pkg_install/files/add/perform.c
diff -u pkgsrc/pkgtools/pkg_install/files/add/perform.c:1.132 pkgsrc/pkgtools/pkg_install/files/add/perform.c:1.133
--- pkgsrc/pkgtools/pkg_install/files/add/perform.c:1.132 Wed Feb 19 15:19:49 2025
+++ pkgsrc/pkgtools/pkg_install/files/add/perform.c Tue Mar 4 16:00:18 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: perform.c,v 1.132 2025/02/19 15:19:49 wiz Exp $ */
+/* $NetBSD: perform.c,v 1.133 2025/03/04 16:00:18 schmonz Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
@@ -6,7 +6,7 @@
#if HAVE_SYS_CDEFS_H
#include <sys/cdefs.h>
#endif
-__RCSID("$NetBSD: perform.c,v 1.132 2025/02/19 15:19:49 wiz Exp $");
+__RCSID("$NetBSD: perform.c,v 1.133 2025/03/04 16:00:18 schmonz Exp $");
/*-
* Copyright (c) 2003 Grant Beattie <grant%NetBSD.org@localhost>
@@ -708,6 +708,9 @@ extract_files(struct pkg_task *pkg)
return -1;
}
+#ifndef O_CLOEXEC
+#define O_CLOEXEC 0
+#endif
#ifndef O_DIRECTORY
#define O_DIRECTORY 0
#endif
Home |
Main Index |
Thread Index |
Old Index