another unix joke

ben ullrich ben at bosco.UUCP
Thu Sep 15 14:50:57 AEST 1988


In article <26090 at ucbvax.BERKELEY.EDU> bostic at ucbvax.BERKELEY.EDU (Keith Bostic) writes:
]In article <8488 at smoke.ARPA>, gwyn at smoke.ARPA (Doug Gwyn ) writes:
]> More UNIX jokes, from 4.3BSD:
]> 
]> $ mkdir foo/
]> mkdir: foo/: No such file or directory
]> $ mkdir foo
]> $ rmdir foo/
]> rmdir: foo/: Is a directory
]
]Though I'm not sure what you're trying say, the behavior you're
]objecting to is correct.  As the NULL pathname is, by convention,
]the equivalent of ".", "foo/" is the same as "foo/.". Creating
]or removing "foo/." is illegal.  While it is arguable that the
]returned error should be different, or perhaps explicitly documented,
]4BSD is doing the right thing.  As POSIX 1003.1 does not support
]the equivalence of the NULL path and ".", the problem will die a
]natural death.

yeesh! it was only a amusing sort of anomaly; lighten up!
no one is ``objecting'' or purporting any ``arguable'' behavior!


...ben
--
ben ullrich				<something silly re: disclaimer>
sybase, inc.
emeryville, ca		{pyramid,pacbell,sun.com,mtxinu,capmkt}!sybase!ben



More information about the Comp.bugs.4bsd.ucb-fixes mailing list