X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Fdup.c;fp=lib%2Fdup.c;h=564d93ced2701d683bd0d21a7b08485ea5a79e2c;hb=d57728a6ca2413a7c564d8b7bb13d9e5a5a180f3;hp=0a0b69ed4e918c5eec53920598f6ca09282afdc8;hpb=dc84183747ce1703eb99685b5dbde1f65a143c06;p=debian%2Fgzip diff --git a/lib/dup.c b/lib/dup.c index 0a0b69e..564d93c 100644 --- a/lib/dup.c +++ b/lib/dup.c @@ -1,6 +1,6 @@ /* Duplicate an open file descriptor. - Copyright (C) 2011-2012 Free Software Foundation, Inc. + Copyright (C) 2011-2013 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 @@ -27,7 +27,7 @@ #undef dup #if HAVE_MSVC_INVALID_PARAMETER_HANDLER -static inline int +static int dup_nothrow (int fd) { int result;