From: Mike Heffner <[EMAIL PROTECTED]>
Subject: Re: syslogd: Too many '/' in "/dev//console"
Date: Tue, Sep 04, 2001 at 07:55:33PM -0400

> On 04-Sep-2001 Giorgos Keramidas wrote:
> | 
> | The following patch seems to have fixed the bug for me.
> | 
> Yea, Kris said he was going to fix it. This must be some undefined behavior
> because I tested the change in a test program and the two sizeofs were giving
> me the same result..strange ;)

I want to test this without leaving "sizeof _PATH_DEV" surrounded by spaces,
with sizeof() explicitly using parentheses.  I'm not sure where the
undefined behavior is triggered, but this is a very likely point, and
the source of syslogd.c is just full of this.

I have it fixed now in my local CVS tree.  Hopefully Kris will commit
something to fix it soon :-)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to