diff options
Diffstat (limited to 'gl/fd-safer.c')
-rw-r--r-- | gl/fd-safer.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gl/fd-safer.c b/gl/fd-safer.c index df38c8f..fb99001 100644 --- a/gl/fd-safer.c +++ b/gl/fd-safer.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* Return a safer copy of a file descriptor. | 1 | /* Return a safer copy of a file descriptor. |
2 | 2 | ||
3 | Copyright (C) 2005, 2006 Free Software Foundation, Inc. | 3 | Copyright (C) 2005, 2006, 2009 Free Software Foundation, Inc. |
4 | 4 | ||
5 | This program is free software: you can redistribute it and/or modify | 5 | This program is free software: you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
@@ -24,12 +24,6 @@ | |||
24 | #include <errno.h> | 24 | #include <errno.h> |
25 | 25 | ||
26 | #include <unistd.h> | 26 | #include <unistd.h> |
27 | #ifndef STDIN_FILENO | ||
28 | # define STDIN_FILENO 0 | ||
29 | #endif | ||
30 | #ifndef STDERR_FILENO | ||
31 | # define STDERR_FILENO 2 | ||
32 | #endif | ||
33 | 27 | ||
34 | /* Return FD, unless FD would be a copy of standard input, output, or | 28 | /* Return FD, unless FD would be a copy of standard input, output, or |
35 | error; in that case, return a duplicate of FD, closing FD. On | 29 | error; in that case, return a duplicate of FD, closing FD. On |