git-svn-id: svn://svn.savannah.nongnu.org/lash/trunk@52 1de19dc7-4e3f-0410-a61d-eddf686bf0b7
This commit is contained in:
Dave Robillard 2007-01-14 18:02:35 +00:00
parent 4a75455683
commit c2b2c7e9de
1 changed files with 1 additions and 2 deletions

View File

@ -203,8 +203,7 @@ lash_init(const lash_args_t * args,
struct rlimit max_fds;
getrlimit(RLIMIT_NOFILE, &max_fds);
int fd;
for (fd = 3; fd < max_fds.rlim_cur; ++fd)
for (rlim_t fd = 3; fd < max_fds.rlim_cur; ++fd)
close(fd);
switch (fork()) {