X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fdup2.c;h=77deaf62d0b4751673d8c7f033020d53c9f23c7c;hb=d6103c5e50ea7a7d52e98a3112d3d22f3c78c846;hp=32afed50f424728b89e13902f630ad2fbdeff83e;hpb=d1cfafbacd4c455be19c12fc23b94418d091d2a1;p=gnulib.git diff --git a/lib/dup2.c b/lib/dup2.c index 32afed50f..77deaf62d 100644 --- a/lib/dup2.c +++ b/lib/dup2.c @@ -1,5 +1,5 @@ /* Duplicate an open file descriptor to a specified file descriptor. - Copyright 1999 Free Software Foundation, Inc. + Copyright (C) 1999, 2004 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 @@ -13,7 +13,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* written by Paul Eggert */ @@ -22,13 +22,8 @@ #endif #include -#ifndef errno -extern int errno; -#endif -#if HAVE_FCNTL_H -# include -#endif +#include #if HAVE_UNISTD_H # include