Displaying 2 results from an estimated 2 matches for "fdlim_set".
Did you mean:
fdlim_get
2000 Dec 21
2
[PATCH]: Compile cleanly under Cygwin
Hi,
the attached patch is relative to the current CVS content. It's needed
to build and compile cleanly under Cygwin. The problem are the
functions setrlimit/getrlimit. I have added checks for getrlimit, sysconf
and setdtablesize to configure.in and appropriate checks in the source
code.
Corinna
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen at redhat.com
2012 Nov 24
0
ssh-keyscan continuity patch --
...{
+ while ((opt = getopt(argc, argv, "HLv46p:T:t:f:")) != -1) {
switch (opt) {
case 'H':
hash_hosts = 1;
break;
+ case 'L':
+ log_verbose = 1;
+ break;
case 'p':
ssh_port = a2port(optarg);
if (ssh_port <= 0) {
@@ -714,7 +859,7 @@
fdlim_set(maxfd);
fdcon = xcalloc(maxfd, sizeof(con));
- read_wait_nfdset = howmany(maxfd, NFDBITS);
+ read_wait_nfdset = howmany(maxfd + 1, NFDBITS);
read_wait = xcalloc(read_wait_nfdset, sizeof(fd_mask));
for (j = 0; j < fopt_count; j++) {