Path: utzoo!mnetor!uunet!husc6!bloom-beacon!mit-eddie!ll-xn!ames!pasteur!ucbvax!hplabs!hpda!hpcupt1!hpisod2!decot From: decot@hpisod2.HP.COM (Dave Decot) Newsgroups: comp.unix.wizards Subject: Re: Re: command line options (UNIX-specific) Message-ID: <14020031@hpisod2.HP.COM> Date: 19 Apr 88 21:52:19 GMT References: <1036@mcgill-vision.UUCP> Organization: Hewlett Packard, Cupertino Lines: 23 > ->Why don't we bite the bullet and change our kernels to refuse > ->to create files whose names begin with a hyphen or contain > ->non-printing characters (unless special arrangements are made > ->by the user to permit it)? > -> > NO!!!!! NYET!!!!!!! NO!!!!!! > > Kernels are big enough without adding features(bugs) to prevent > users from causing damage due to their own ignorance. Put it in > programs like cp (mv, ln), sh, ksh, csh, vi (ex, view), etc but not > the kernel. There is enough crap in it now. Repeat the same code over and over (probably not quite right in some cases), and still don't totally solve the problem? > What would you have the > kernel return for an open(2) statement? [EDUHSCFN] (Error Dumb User > Has Stupid Characters in file name :-) ). No, I think EINVAL might be an appropriate errno value for this condition. Dave Decot hpda!decot