code style in the vfs

Leonard den Ottolander leonard at den.ottolander.nl
Sun Sep 26 12:54:53 UTC 2004


Hi Oswald,

On Sun, 2004-09-26 at 14:24, Oswald Buddenhagen wrote:
> but this is exactly what all the str* & mem* searching functions do. you
> can't be that blind/silly not to get it ...

Yeah, maybe I am nitpicking too much on the example given. This is
probably what you wanted to point out:

char *dirname (const char *path)
{
     char *slash = strrchr (path, '/');
     return slash;
}

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





More information about the mc-devel mailing list