Hello,
Please take a look at the attached code. Shouldn't poll() get a
POLLHUP event when the child process exits, closing the write end of
the pipe?
Thanks,
Vlad
poll.cpp
Description: Binary data
___
freebsd-stable@freebsd.org mailing list
Hm, according to the code at
http://www.greenend.org.uk/rjk/2001/06/poll.html, it seems to work as
expected (returning both POLLIN and POLLHUP), when closing the write
end of the pipe from within the same process.
On Wed, Jun 3, 2009 at 3:15 PM, Vlad Galu d...@dudu.ro wrote:
Hello,
Please
On Wed, Jun 03, 2009 at 03:15:32PM +0300, Vlad Galu wrote:
Hello,
Please take a look at the attached code. Shouldn't poll() get a
POLLHUP event when the child process exits, closing the write end of
the pipe?
It seems that you code forgot to close the write end of the pipe in
parent. Thus,
On Wed, Jun 3, 2009 at 3:32 PM, Kostik Belousov kostik...@gmail.com wrote:
On Wed, Jun 03, 2009 at 03:15:32PM +0300, Vlad Galu wrote:
Hello,
Please take a look at the attached code. Shouldn't poll() get a
POLLHUP event when the child process exits, closing the write end of
the pipe?
It
On Wed, Jun 3, 2009 at 3:35 PM, Vlad Galu d...@dudu.ro wrote:
On Wed, Jun 3, 2009 at 3:32 PM, Kostik Belousov kostik...@gmail.com wrote:
On Wed, Jun 03, 2009 at 03:15:32PM +0300, Vlad Galu wrote:
Hello,
Please take a look at the attached code. Shouldn't poll() get a
POLLHUP event when the
OK, so I've got my next little adventure here to share :-)
... after reading Your posts I was very eager to give the
whole boot-zfs-without-partitions thing a new try.
My starting situation was a ZFS mirror made up, as I wrote,
of two GPT partitions, so my pool looked like:
phaedrus# zpool
On Tue, Jun 02, 2009 at 06:06:48PM -0500, Erik Osterholm wrote:
On Tue, Jun 02, 2009 at 12:20:34PM -0700, Doug Barton wrote:
Up till Sunday in 8-current, and for a long time in general
network.subr (part of the rc.d system) has emitted a warning that
values of network_interfaces other than
On Wed, Jun 03, 2009 at 04:10:34PM +0300, Vlad Galu wrote:
Hm, I was having an issue with an internal piece of software, but
never checked what kind of pipe caused the problem. Turns out it was a
FIFO, and I got bitten by the same bug described here:
Dan Naumov wrote:
Reading that made me pause for a second and made me go WOW, this is how
UNIX system upgrades should be done. Any hope of us lowly users ever seeing
something like this implemented in FreeBSD? :)
I wrote a script implementing the most useful features of the solaris
live
Hi lists,
Now the topic of network_interfaces has been mentioned, and the freeze
for 8-stable is near I wonder if there is enough interest in the
following feature to be included:
http://ruben.is.verweg.com/stuff/freebsd/ifrename/
There is some dust there in that directory (It works, but
Anyone else think that this combined with freebsd-update integration
and a simplistic menu GUI for choosing the preferred boot environment
would make an _awesome_ addition to the base system? :)
- Dan Naumov
On Wed, Jun 3, 2009 at 5:42 PM, Philipp Wuenschecryx-free...@h3q.com wrote:
I wrote a
On Wed, Jun 03, 2009 at 05:30:51PM +0300, Kostik Belousov wrote:
On Wed, Jun 03, 2009 at 04:10:34PM +0300, Vlad Galu wrote:
Hm, I was having an issue with an internal piece of software, but
never checked what kind of pipe caused the problem. Turns out it was a
FIFO, and I got bitten by the
Doug Barton wrote:
If you use a value of network_interfaces other than AUTO please speak
up so that we can make an intelligent decision about this issue.
Maybe I am wrong, setting network_interfaces is the way I found I had to
use to be able to rename cloned interfaces.
eg:
On Wed, Jun 03, 2009 at 06:18:01PM +0200, Angelo Turetta wrote:
Doug Barton wrote:
If you use a value of network_interfaces other than AUTO please speak
up so that we can make an intelligent decision about this issue.
Maybe I am wrong, setting network_interfaces is the way I found I had to
On Wed, Jun 03, 2009 at 09:13:21AM -0500, Brooks Davis wrote:
On Tue, Jun 02, 2009 at 06:06:48PM -0500, Erik Osterholm wrote:
On Tue, Jun 02, 2009 at 12:20:34PM -0700, Doug Barton wrote:
Up till Sunday in 8-current, and for a long time in general
network.subr (part of the rc.d system) has
On Wed, 3 Jun 2009, Kostik Belousov wrote:
On Wed, Jun 03, 2009 at 05:30:51PM +0300, Kostik Belousov wrote:
On Wed, Jun 03, 2009 at 04:10:34PM +0300, Vlad Galu wrote:
Hm, I was having an issue with an internal piece of software, but
never checked what kind of pipe caused the problem. Turns
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
David and I have committed some fixes to 7-STABLE tree, and I think all
important bce(4) fixes has been merged now. If you have bce(4)
interfaces PLEASE help us to test them, the simplest way of doing this
is to sync your code with RELENG_7 and
David and I have committed some fixes to 7-STABLE tree, and I think all
important bce(4) fixes has been merged now. If you have bce(4)
interfaces PLEASE help us to test them, the simplest way of doing this
is to sync your code with RELENG_7 and rebuild kernel. [1]
I won't have timer to try
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pete French wrote:
David and I have committed some fixes to 7-STABLE tree, and I think all
important bce(4) fixes has been merged now. If you have bce(4)
interfaces PLEASE help us to test them, the simplest way of doing this
is to sync your code
David and I have committed some fixes to 7-STABLE tree, and I think
all important bce(4) fixes has been merged now. If you have bce(4)
interfaces PLEASE help us to test them, the simplest way of
doing this
is to sync your code with RELENG_7 and rebuild kernel. [1]
I won't have
**
THIS IS AN AUTOMATED EMAIL - .
**
Dear Moneybookers Customer,:
Due to concerns, for the
Where can I download the latest stable version of FreeBSD?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
On Wed, Jun 3, 2009 at 11:24 PM, AES allnetgr...@yahoo.com wrote:
Where can I download the latest stable version of FreeBSD?
http://www.freebsd.org/where.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
--
Glen Barber
http://www.dev-urandom.com
23 matches
Mail list logo