svn path=/trunk/; revision=6253
2008-01-06 Matthias Clasen <mclasen@redhat.com>
+ * glib/gspawn.c (fdwalk): Don't set open_max to
+ RLIM_INFINITY. (#495589, Tommi Komulainen)
+
+2008-01-06 Matthias Clasen <mclasen@redhat.com>
+
* README.in, INSTALL.in: Document new dependencies.
2008-01-06 Matthias Clasen <mclasen@redhat.com>
#ifdef HAVE_SYS_RESOURCE_H
- if (getrlimit(RLIMIT_NOFILE, &rl) == 0)
+ if (getrlimit(RLIMIT_NOFILE, &rl) == 0 && rl.rlim_max != RLIM_INFINITY)
open_max = rl.rlim_max;
else
#endif