+ int fd = atoi(last);
+ if (fd < TRACKFDS_STATIC_COUNT) {
+ tracked_fds[fd] = 1;
+ } else {
+ if (!tracked_fds_list) {
+ /* Pessimistic count estimate, but allocating a few more
+ * elements doesn't hurt. */
+ if (!init_tracked_fds_list(count)) {
+ /* Couldn't allocate memory, skip this entry. */
+ warning("foo\n");
+ goto next;
+ }
+ }
+ tracked_fds_list[i++] = fd;
+#ifdef DEBUG
+ debug(" large fd: %d\n", fd);
+#endif
+ }
+
+next: