update nearly all FSF copyright year lists to include 2010
[gnulib.git] / lib / spawn_faction_addclose.c
index d2a03e8..f89209f 100644 (file)
@@ -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
 #include <unistd.h>
 
 #if !_LIBC
-# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
-#  include <stdio.h>
-#  define __sysconf(open_max) _getmaxstdio ()
-# else
-#  define __sysconf(open_max) getdtablesize ()
-# endif
+# define __sysconf(open_max) getdtablesize ()
 #endif
 
 #include "spawn_int.h"
@@ -37,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;