[net.unix-wizards] reversed ifdef in csh - problem with nice command

stuart (02/08/83)

Would someone please send me mail if this info is a repeat
of some earlier discussion.

The documentation CSH(1) says that nice without an argument 
will set the nice priority to 4.  On our system (running 4.1BSD),
when you do a 'nice' command in csh, your nice priority goes
all the way to 19, instead of to 4.  

Looking at sh.time.c, in function donice(),
I find that there is an,

#ifndef V6
	nice(20);
	nice(-10);
#endif

followed by a,

	nice(4);

A few lines further, there is a similar ifndef.
I don't know what is supposed to happen in V6,
but it sure doesn't work correctly for 4.1BSD.
(The 'ifndef' should be 'ifdef'.)

  -- Stuart Hollander (ucbvax!decvax!genradbolton!stuart)