Alan Cox wrote:
> > AC> Millions of apps rely on // working.
> >
> > Are you sure ? Why ? Till there no warning we can not check it.
>
> Because everyone knows // is fine so everyone is really sloppy about
> combining paths together.
The most "telling" example is that someone has a $TOPDIR variable.
If it is set to /usr/local and you want to put something in the etc
directory you use: $(TOPDIR)/etc . Now how do you specify a TOPDIR
of "/"? You'll end up with "//etc".
You could start out by requiring the variable to end in "/". But
nobody does that.
Roger.
-- ** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 ** *-- BitWizard writes Linux device drivers for any device you may have! --* * Common sense is the collection of * ****** prejudices acquired by age eighteen. -- Albert Einstein ********- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:09 EST