Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2000 12:08:55 -0400
From:      Dan Papasian <bugg@bugg.strangled.net>
To:        Alexander Langer <alex@big.endian.de>
Cc:        Clive Lin <clive@CirX.ORG>, FreeBSD current <current@FreeBSD.ORG>
Subject:   Re: let badsect recog IFCHR in 5.0-C
Message-ID:  <20000627120855.A3798@moe.c705742-a.htfdw1.ct.home.com>
In-Reply-To: <20000627173821.A98097@cichlids.cichlids.com>; from alex@big.endian.de on Tue, Jun 27, 2000 at 05:38:21PM %2B0200
References:  <20000627230456.A18587@cartier.cirx.org> <20000627173821.A98097@cichlids.cichlids.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 27, 2000 at 05:38:21PM +0200, Alexander Langer wrote:
> Thus spake Clive Lin (clive@CirX.ORG):
> 
> > -	memcpy(name_dir_end + 1, name_dir_end, strlen(name_dir_end) + 1);
> > -	*name_dir_end = 'r';
> > +	// un-needed.
> > +	// memcpy(name_dir_end + 1, name_dir_end, strlen(name_dir_end) + 1);
> > +	// *name_dir_end = 'r';
> 
> Use /* */ comments or #if 0.

Actually, there was just a discussion on comp.lang.c about how
they aren't interchangable.  The 'un-needed' part will have
to be commented with /* */ because the preprocessor will
parse tokens before it evaluates conditionals.

Fairly interesting read, but the majority of you
probably knew that anyway :)

> Please see style(9) :)

I don't see style(9) referring to using #if 0, but that's ok :)

-Dan

> Alex
> 
> -- 
> cat: /home/alex/.sig: No such file or directory


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000627120855.A3798>