Re: code style in the vfs

On Sun, Sep 26, 2004 at 01:26:17PM +0200, Leonard den Ottolander wrote:
> On Sun, 2004-09-26 at 13:09, Oswald Buddenhagen wrote:
> > we want a warning at *slash = 0;
> Explicitly casting the return type to char * would be a grave
> programming mistake, and the coder would violate his own rules.
> Even in the example below you will get a warning.
nobody claimed the opposite.

> Explicitly casting path2 to char * is about as silly as the above.
but this is exactly what all the str* & mem* searching functions do. you
can't be that blind/silly not to get it ...

Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
Chaos, panic, and disorder - my work here is done.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]