diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-02-16 21:14:24 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-02-16 21:14:24 +0000 |
commit | 8a2857f3ced8f191b56a3e690cacf03a3a745d67 (patch) | |
tree | 7d068af7d631e9073893504d0c19a5bb65bf7558 /porting.h | |
parent | qcache/qcheck: use O_CLOEXEC in more places (diff) | |
download | portage-utils-8a2857f3ced8f191b56a3e690cacf03a3a745d67.tar.gz portage-utils-8a2857f3ced8f191b56a3e690cacf03a3a745d67.tar.bz2 portage-utils-8a2857f3ced8f191b56a3e690cacf03a3a745d67.zip |
start using O_PATH
Diffstat (limited to 'porting.h')
-rw-r--r-- | porting.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* * Copyright 2005-2013 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvsroot/gentoo-projects/portage-utils/porting.h,v 1.1 2013/09/29 22:42:36 vapier Exp $ + * $Header: /var/cvsroot/gentoo-projects/portage-utils/porting.h,v 1.2 2014/02/16 21:14:24 vapier Exp $ * * Copyright 2005-2008 Ned Ludd - <solar@gentoo.org> * Copyright 2005-2013 Mike Frysinger - <vapier@gentoo.org> @@ -66,6 +66,9 @@ #ifndef O_CLOEXEC #define O_CLOEXEC 0 #endif +#ifndef O_PATH +#define O_PATH 0 +#endif #ifndef CONFIG_EPREFIX #define CONFIG_EPREFIX "/" |