X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fpopen-safer.c;h=07bfb1db33e7e8bdb1e963066def78ac3d1c8e39;hb=0b3b74d5643737f6e78f93a40f34462baee64131;hp=1791bc3b247735d0cb5d2177113257d624246ab5;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/lib/popen-safer.c b/lib/popen-safer.c index 1791bc3b2..07bfb1db3 100644 --- a/lib/popen-safer.c +++ b/lib/popen-safer.c @@ -1,6 +1,6 @@ /* Invoke popen, but avoid some glitches. - Copyright (C) 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2009-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,7 +34,7 @@ static int open_noinherit (char const *name, int flags) { int fd; -#ifdef O_CLOEXEC +#if O_CLOEXEC /* 0 = unknown, 1 = yes, -1 = no. */ static int have_cloexec; if (have_cloexec >= 0)