X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fpopen-safer.c;h=07bfb1db33e7e8bdb1e963066def78ac3d1c8e39;hb=beb9fe0c8dd1b29b1f8ae3429dc1229c39ef5cbc;hp=0fd335011d9a539e8d443dfeb02b2388232ee8c9;hpb=441aa3044f43e5572f58c354f01e6bc070acd5c7;p=gnulib.git diff --git a/lib/popen-safer.c b/lib/popen-safer.c index 0fd335011..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 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)