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
http://lis
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 wrote:
> Hello,
>
> Please take a look a
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. Th
On Wed, Jun 3, 2009 at 3:32 PM, Kostik Belousov 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 seems that
On Wed, Jun 3, 2009 at 3:35 PM, Vlad Galu wrote:
> On Wed, Jun 3, 2009 at 3:32 PM, Kostik Belousov 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
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 stat
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
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:
> http://lists.freebsd.org/pipermail/freeb
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 i
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 Wuensche wrote:
> I wrote a script implementing
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 b
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:
network_interfac
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 ha
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 sys
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 out
-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 r
> 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 tr
-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 you
> > 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'
**
THIS IS AN AUTOMATED EMAIL - .
**
Dear Moneybookers Customer,:
Due to concerns, for the safe
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 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
http://www.linkedin.com/in/glenjbarber
__
23 matches
Mail list logo