X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fdup-safer-flag.c;h=e4d1b2118cac0f8e77f12c275c8feabab18ef8a0;hb=bbf0d723ed2335add96bcc0f842885d8a5d8b6da;hp=e4c0597ca0fb1b7e22c670f147481983563cd530;hpb=ffb0b29997c66526985e1f4a496335d0ab4ef111;p=gnulib.git diff --git a/lib/dup-safer-flag.c b/lib/dup-safer-flag.c index e4c0597ca..e4d1b2118 100644 --- a/lib/dup-safer-flag.c +++ b/lib/dup-safer-flag.c @@ -1,7 +1,7 @@ /* Duplicate a file descriptor result, avoiding clobbering STD{IN,OUT,ERR}_FILENO, with specific flags. - Copyright (C) 2001, 2004-2006, 2009-2010 Free Software Foundation, Inc. + Copyright (C) 2001, 2004-2006, 2009-2012 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 @@ -26,8 +26,6 @@ #include #include -#include "cloexec.h" - /* Like dup, but do not return STDIN_FILENO, STDOUT_FILENO, or STDERR_FILENO. If FLAG contains O_CLOEXEC, behave like fcntl(F_DUPFD_CLOEXEC) rather than fcntl(F_DUPFD). */