X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fspawn_faction_addclose.c;h=f89209f7696992b3541f58f25e6e9df897fe00d2;hb=ab43907148e80f3895280928c05d4be93875580f;hp=356604722119490c44c1f5c51a108bbe2d3f06e6;hpb=eaff1728aebaf49a7bc6f1c8ff7bc85025fe1151;p=gnulib.git diff --git a/lib/spawn_faction_addclose.c b/lib/spawn_faction_addclose.c index 356604722..f89209f76 100644 --- a/lib/spawn_faction_addclose.c +++ b/lib/spawn_faction_addclose.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2000 Free Software Foundation, Inc. +/* Copyright (C) 2000, 2009, 2010 Free Software Foundation, Inc. This file is part of the GNU C Library. This program is free software: you can redistribute it and/or modify @@ -32,7 +32,7 @@ `close' for the given file descriptor during the `spawn' call. */ int posix_spawn_file_actions_addclose (posix_spawn_file_actions_t *file_actions, - int fd) + int fd) { int maxfd = __sysconf (_SC_OPEN_MAX); struct __spawn_action *rec;