Displaying 7 results from an estimated 7 matches for "argsused".
2007 Nov 09
1
Patch for progressmeter.c
...rlcat(buf, "/s ", win_size);
+
/* ETA */
if (!transferred)
stalled += elapsed;
@@ -224,6 +237,7 @@ refresh_progress_meter(void)
atomicio(vwrite, STDOUT_FILENO, buf, win_size - 1);
last_update = now;
+ last_pos = cur_pos;
}
/*ARGSUSED*/
@@ -270,6 +284,7 @@ void
stop_progress_meter(void)
{
alarm(0);
+ char lbuf[10];
if (!can_output())
return;
@@ -277,7 +292,9 @@ stop_progress_meter(void)
/* Ensure we complete the progress */
if (cur_pos != end_pos)
r...
2010 Jun 22
0
BCB5 CGI.EXE in Ubuntu Lucid 64bit
Hi All,
I am trying to use an exiting CGI.EXE program on 64bit Ubuntu Lucid.
I have made a test program with the compiler (Borland C++Builder 5 ? BCB5) that just starts prints and closes.
Code:
#include <vcl.h>
#include <conio.h>
#pragma hdrstop
#pragma argsused
int main(int argc, char* argv[])
{
cprintf("small test");
return 0;
}
Launched from Bash Script:
Code:
before="$(date +%s%N)"
wine ./testProject1.exe
after="$(date +%s%N)"
elapsed_seconds="$(expr $after - $before)"
echo Elapsed ti...
2008 Aug 30
1
Exiting ssh when MaxSessions=0
Hi,
I've been experimenting with MaxSessions=0 in the sshd_config and have
encountered one unfortunate problem. Once the client authenticates to
the server, it ceases to respond to keyboard input.
At first glance, it looks like the client is in a hung state and does
not time out. If port forwarding was requested on the command-line and
the server accepts the request, that continues to work.
2009 Oct 25
0
alternate output for progressmeter
...winch);
? ? ? ?alarm(UPDATE_INTERVAL);
?}
@@ -278,7 +289,8 @@
? ? ? ?if (cur_pos != end_pos)
? ? ? ? ? ? ? ?refresh_progress_meter();
- ? ? ? atomicio(vwrite, STDOUT_FILENO, "\n", 1);
+ ? ? ? if (progresstype==0)
+ ? ? ? ? ? ? ? atomicio(vwrite, STDOUT_FILENO, "\n", 1);
?}
?/*ARGSUSED*/
2010 Jan 14
1
ssh(1) multiplexing rewrite
...6 @@ channel_pre_open(Channel *c, fd_set *rea
FD_SET(c->efd, readset);
}
/* XXX: What about efd? races? */
- if (compat20 && c->ctl_fd != -1 &&
- c->istate == CHAN_INPUT_OPEN && c->ostate == CHAN_OUTPUT_OPEN)
- FD_SET(c->ctl_fd, readset);
}
/* ARGSUSED */
@@ -981,6 +983,26 @@ channel_pre_x11_open(Channel *c, fd_set
}
}
+static void
+channel_pre_mux_client(Channel *c, fd_set *readset, fd_set *writeset)
+{
+ if (c->istate == CHAN_INPUT_OPEN &&
+ buffer_check_alloc(&c->input, CHAN_RBUF))
+ FD_SET(c->rfd, readset);
+ i...
2012 Oct 22
1
[PATCH] Implement remote dynamic TCP forwarding
...*/
+ int sock;
+ if ((sock = connect_next(&c->connect_ctx)) > 0) {
+ close(c->sock);
+ c->sock = c->rfd = c->wfd = sock;
+ channel_max_fd = channel_find_maxfd();
+ return;
+ }
+ chan_mark_dead(c);
+ }
+ }
+}
+
/* This is our fake X11 server socket. */
/* ARGSUSED */
static void
@@ -1984,6 +2094,7 @@ channel_handler_init_20(void)
channel_pre[SSH_CHANNEL_DYNAMIC] = &channel_pre_dynamic;
channel_pre[SSH_CHANNEL_MUX_LISTENER] = &channel_pre_listener;
channel_pre[SSH_CHANNEL_MUX_CLIENT] = &channel_pre_mux_client;
+ channel_pre[SSH_CHANNEL_R...
2007 Sep 29
64
[Bug 1371] New: Add PKCS#11 (Smartcards) support into OpenSSH
http://bugzilla.mindrot.org/show_bug.cgi?id=1371
Summary: Add PKCS#11 (Smartcards) support into OpenSSH
Product: Portable OpenSSH
Version: 4.7p1
Platform: All
URL: http://alon.barlev.googlepages.com/openssh-pkcs11
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: