On Fri, 2008-08-22 at 02:54 +0200, zhengda wrote:
> When a port_info object is created by ports_create_port() and
> ports_get_right() hasn't been called,
> we have to call ports_port_deref() to destroy the port_info object.
You are still organizing things wrongly, and that's what's messing you
up
On Fri, 2008-08-22 at 01:49 +0200, [EMAIL PROTECTED] wrote:
> Hi,
>
> On Tue, Aug 19, 2008 at 11:29:28PM -0700, Thomas Bushnell BSG wrote:
> > On Fri, 2008-08-01 at 21:18 +0100, Samuel Thibault wrote:
>
> > > I'd agree on the principle to not leave a nul port for stdin/stdout,
> > > any other opi
Madhusudan C.S, le Fri 22 Aug 2008 23:32:55 +0530, a écrit :
> I am trying from a long time. But the build of proc server in hurd
> is
> failing when I run make proc. The build error is below. Can someone tell me
> what the problem is?
>...
> make[1]: Leaving directory `/root/hurdcorrect
Hi all,
I am trying from a long time. But the build of proc server in hurd
is failing when I run make proc. The build error is below. Can someone tell
me what the problem is?
mv -f cancel-cond.d.new cancel-cond.d
set -e; gcc -std=gnu99 -fgnu89-inline -g -O3 -g -O2 -I.
-I../../hurd/libthr
Ben Asselstine, le Fri 22 Aug 2008 13:03:37 -0400, a écrit :
> On Fri, Aug 22, 2008 at 6:52 AM, Samuel Thibault
> <[EMAIL PROTECTED]> wrote:
> > Da Zheng, le Fri 22 Aug 2008 11:55:52 +0200, a écrit :
> >> I wonder why strstr() is harmful.
> >
> > Because it's far less efficient than strchr. Try to
On Fri, Aug 22, 2008 at 6:52 AM, Samuel Thibault
<[EMAIL PROTECTED]> wrote:
> Da Zheng, le Fri 22 Aug 2008 11:55:52 +0200, a écrit :
>> I wonder why strstr() is harmful.
>
> Because it's far less efficient than strchr. Try to implement strstr
> and strchr yourself without the help of strcmp.
>
It'
Da Zheng, le Fri 22 Aug 2008 11:55:52 +0200, a écrit :
> I wonder why strstr() is harmful.
Because it's far less efficient than strchr. Try to implement strstr
and strchr yourself without the help of strcmp.
Samuel
[EMAIL PROTECTED] wrote:
Hi,
On Thu, Aug 21, 2008 at 10:43:03AM +0200, zhengda wrote:
Ben Asselstine wrote:
On Tue, Aug 19, 2008 at 4:02 PM, zhengda <[EMAIL PROTECTED]> wrote:
+case 'f':
+ dev_file = strstr (arg, "=");
+ if (dev_file == NULL)
+ return A
[EMAIL PROTECTED] wrote:
Hi,
On Tue, Aug 19, 2008 at 03:27:06PM +0200, zhengda wrote:
- socket_t server;
+ socket_t server = MACH_PORT_NULL;
As I already said, this is unnecessary -- it will be assigned
unconditionally.
It's necessary here. If __asprintf() returns -1, the funct