Displaying 20 results from an estimated 29 matches for "sfd".
Did you mean:
fd
2010 Jun 07
1
Transforming list to data frame with corresponding columns
Hi all,
Consider the following.
a<-list(c("MHsub","MHsub","SFD","Duplex"))
b<-list(c("MHsub","MHsub","SFD"))
c<-list(c("MHpark","SFD","SFD"))
d<-list(c("MultiFam","MultiFam","MultiFam","Duplex"))
all<-list(a,b,c,d)
names(all)<-c(&q...
2007 Jan 16
0
patch to enable ssh use sock fd 3,4
...sshd connects back to ssh(which is executed by a
a script that binds to the port then execute ssh:
on sshd side:
$ nc -w 60 -c '/usr/sbin/sshd -i' ssh_host 12345
on ssh side:
#!/usr/bin/perl
use Socket qw(:all);
our $bind_port = 12345;
our $bind_addr = "0";
$^F = 5;
socket(my $sfd, AF_INET, SOCK_STREAM, 6) || die "socket: $!";
bind($sfd, sockaddr_in($bind_port, inet_aton $bind_addr)) || die "bind: $!";
listen($sfd,SOMAXCONN) || die "listen: $!";
accept (Cfd,$sfd);
close $sfd;
open 3,"<&Cfd";
open 4,"<&Cfd";
if(!...
2008 Jan 16
8
PATCH [xenconsoled]: makes pty slave raw early
Hi,
on my system (Linux 2.6.18.8 - ia64), if a domain write on the xencons
before xenconsole is initialized the domain gets back what it wrote.
This patch fixes this issue by making raw the pty slave very early.
(I suppose it doesn''t happen with linux as a guest because it takes a little
bit of time before writing to xencons).
Tristan.
_______________________________________________
2006 Aug 11
1
fcntl Bad file descriptor
I've seen a couple of these in the log while testing the proxy too. Do you know what would cause this?
Aug 10 23:30:29 director5 dovecot: imap-login: fcntl(-1, F_GETFL) failed: Bad file descriptor
Aug 10 23:30:29 director5 dovecot: imap-login: fd_set_nonblock(-1) failed: Bad file descriptor
Aug 10 23:30:29 director5 dovecot: child 14016 (login) returned error 89
2010 Mar 22
1
Setting breaks to data more appropriately
...% 60%
0.00000000 0.05054675 0.07787235 0.11235238 0.14424786 0.18089360 0.21475990
70% 80% 90% 100%
0.26309899 0.30807771 0.39478573 0.67573483.
But what i want is for the values to be placed in bins corresponding to
their value(0-.1, .11-.2, .21-.3 etc)
Pct.SFD<-c(.1,.2,.3,.4,.5,.6,.7,.8,.9,1,2,3)
brks <- quantile(Pct.SFD, seq(0,1,1/10))
I think this is clear. Thanks
--
View this message in context: http://n4.nabble.com/Setting-breaks-to-data-more-appropriately-tp1678019p1678019.html
Sent from the R help mailing list archive at Nabble.com.
2010 Sep 07
3
Lost Connection 15~20 Minutes after starting Shorewall - Shorewall really culprit?
...frustrating to test as it does not happen immediately.
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
2019 Aug 14
0
[PATCH libnbd 3/3] python: Add test for doing asynch copy from one handle to another.
...for buf, offset in writes:
+ # See above link about broken Python lambdas.
+ dst.aio_pwrite (buf, offset,
+ lambda err, buf=buf:
+ write_completed (buf, err))
+ writes = []
+
+ poll = select.poll ()
+
+ sfd = src.aio_get_fd ()
+ dfd = dst.aio_get_fd ()
+
+ sevents = 0
+ devents = 0
+ if src.aio_get_direction () & nbd.AIO_DIRECTION_READ:
+ sevents += select.POLLIN
+ if src.aio_get_direction () & nbd.AIO_DIRECTION_WRITE:
+ sevents += selec...
2006 Jun 22
1
Patch for rawlog.c
...TAMP_FORMAT "* OK [RAWLOG TIMESTAMP] %Y-%m-%d %H:%M:%S\n"
+#define RAWLOG_DIRNAME "./dovecot.rawlog"
static struct ioloop *ioloop;
@@ -261,20 +262,14 @@
static void rawlog_open(bool write_timestamps)
{
- const char *home, *path;
struct stat st;
int sfd[2];
pid_t pid;
- home = getenv("HOME");
- if (home == NULL)
- home = ".";
-
/* see if we want rawlog */
- path = t_strconcat(home, "/dovecot.rawlog", NULL);
- if (lstat(path, &st) < 0) {
+ if (lstat(R...
2020 Apr 04
0
[nbdkit PATCH 2/2] server: Sanitize stdin/out before running plugin code
....
+ * Copyright (C) 2018-2020 Red Hat Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -125,6 +125,8 @@ main (int argc, char *argv[])
if (pid == 0) { /* Child. */
dup2 (sfd[1], 0);
dup2 (sfd[1], 1);
+ close (sfd[0]);
+ close (sfd[1]);
close (pfd[0]);
dup2 (pfd[1], 2);
close (pfd[1]);
--
2.26.0.rc2
2007 Mar 09
2
xen / AOE / vblade
...statements to the vblade server.
It turns out that for some reason the packets were shorter
than vblade expected, and it was ignoring them. I changed the
check for packet length to be if < 32 instead of if < 60, and
voila it works. (in aoe.c)
for (;;) {
n = getpkt(sfd, buf, bufsz);
if (n < 0) {
perror("read network");
exit(1);
}
// if (n < 60) {
if (n < 32) {
// fprintf(stderr,"skipping short read (%d<3...
2019 Aug 11
4
[PATCH libnbd v2 0/3] python: Add test for doing asynch copy.
v1 was here:
https://www.redhat.com/archives/libguestfs/2019-August/msg00103.html
In v2 I've made several changes:
- Fix Python callbacks so if they don't return something
which is int-like, we assume they mean to return 0.
- Add nbd.Buffer free() method. Read commit message in
patch 2 to see what this is about.
- Fixed the asynch copy test to deal with the unbelievably
2020 Apr 04
6
[nbdkit PATCH 0/2] stdin/out cleanups
This is what I've been playing with in response to my earlier question
about what to do with 'nbdkit -s sh -'
(https://www.redhat.com/archives/libguestfs/2020-April/msg00032.html)
I'm still open to ideas on a better name, and/or whether adding
<stdbool.h> to our public include files is a good idea (if not,
returning int instead of bool is tolerable).
Eric Blake (2):
2019 Aug 14
5
[PATCH libnbd 0/3] Use free callback to hold ref to AIO buffer.
Basically the same as this patch series, but for Python:
https://www.redhat.com/archives/libguestfs/2019-August/msg00235.html
plus adding the 590 asynch test at the end.
Rich.
2019 Aug 10
7
[PATCH libnbd 0/5] WIP: python: Add test for doing asynch copy.
This doesn't yet work. However it does make me more convinced than
ever that we really need to sort out persistent buffer lifetimes in
the library (similar to what we did for closures).
Rich.
2008 Mar 07
0
Wine release 0.9.57
...rnel32: Return upper cased drive letters in paths, some applications depend on it.
winex11: Add a workaround for Metacity being too strict and disabling fullscreen support for not resizable windows.
kernel32: Add stubs for fiber local storage APIs.
fonts: Change encoding of tahoma.sfd to unicode.
fonts: Add capital cyrillic glyphs to tahoma.sfd.
fonts: Add small cyrillic glyphs to tahoma.sfd.
fonts: Add the bitmap sets for cyrillic glyphs to tahoma.sfd.
fonts: Add cyrillic glyphs of a 9 pixel bitmap set to Tahoma.
Eric Pouech (1):
ntdll: Removed co...
2016 Apr 24
1
Unable to start winbindd, Could not fetch our SID - did we join?
...REWDSCOTT.COM
root at cloud:/var/log/samba# net ads join -UAdministrator
Enter Administrator's password:
Using short domain name -- HOME
Joined 'CLOUD' to dns domain 'home.andrewdscott.com'
All good, right?
But winbindd will not start:
root at cloud:/var/log/samba# winbindd -SFd 9
INFO: Current debug levels:
all: 9
tdb: 9
printdrivers: 9
lanman: 9
smb: 9
rpc_parse: 9
rpc_srv: 9
rpc_cli: 9
passdb: 9
sam: 9
auth: 9
winbind: 9
vfs: 9
idmap: 9
quota: 9
acls: 9
locking: 9
msdfs: 9
dmapi: 9
registry: 9
scavenger: 9
dns: 9
ldb: 9
te...
2020 Mar 25
3
[PATCH libnbd v4] Add Go language bindings (golang) (RHBZ#1814538).
Now runs a complete set of tests, notably including the AIO test.
File descriptors are passed in and out as plain ints (instead of
*os.File) for a couple of reasons: (1) We have to pass the plain int
to syscall.Select. (2) Turning an fd into an os.File causes golang to
set the blocking flag which is deeply unhelpful.
Rich.
2019 Aug 02
0
[nbdkit PATCH v2 07/17] build: Audit for use of pipe2
...@ -101,7 +101,9 @@ main (int argc, char *argv[])
exit (77);
#endif
- /* Socket for communicating with nbdkit. */
+ /* Socket for communicating with nbdkit. The test doesn't care about
+ * fd leaks, so we don't bother with CLOEXEC.
+ */
if (socketpair (AF_LOCAL, SOCK_STREAM, 0, sfd) == -1) {
perror ("socketpair");
exit (EXIT_FAILURE);
diff --git a/tests/test-streaming.c b/tests/test-streaming.c
index 4aaac9cd..e8c52ee8 100644
--- a/tests/test-streaming.c
+++ b/tests/test-streaming.c
@@ -70,8 +70,9 @@ main (int argc, char *argv[])...
2019 Aug 15
13
[PATCH libnbd v2 00/10] Callbacks and OCaml and Python persistent buffers.
This is a combination of these two earlier series:
https://www.redhat.com/archives/libguestfs/2019-August/msg00235.html
https://www.redhat.com/archives/libguestfs/2019-August/msg00240.html
plus changes to allow .callback = NULL / .free != NULL, and to reduce
the complexity of freeing callbacks.
Although it's rather long there's nothing complex here. We might
consider squashing some
2006 May 02
8
Further to 0.9.8 to 0.9.12 update problems
Hi NG
Well I started with a vanilla install using the SuSE 0.9.12 9.3 rpm as
previously mentioned. I erased the 0.9.8 version first.
Then ran wineprefixcreate
Then launched winecfg; This is the screen output
http://members.cox.net/bob3bob3/winecfg.png
notepad also had the same kind of output with small/non existant text
Tried installing fonts from the winetools folder I had before, thinking