Remove some white space at EOL.
authorPeter Avalos <pavalos@dragonflybsd.org>
Sat, 13 Jan 2007 22:39:30 +0000 (22:39 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sat, 13 Jan 2007 22:39:30 +0000 (22:39 +0000)
commitd5f479bc68d13a63193be9ba491f227bf8eb2ccc
treeea1501d7481f7a90a388ce510ed3eacae5e97c4f
parentf7c1d76d03901874b4152c1baa73074effcea832
Remove some white space at EOL.

Protect a setmode call with INT{ON,OFF} as it calls malloc internally.

Fix the error message if the mask that is passed to umask -S contains
non-digits.

Remove dead code.  Inspection of the control and data flow showed that
variable "backslash" is always false (0) when the "if"-expression is
evaluated, hence the whole block is effectively dead code.
Additionally, the skipping of characters after a backslash is already
performed correctly a few lines above, so this code is also not
needed at all.

- Don't use quad_t when we really mean rlim_t.
- Cast rlim_t to intmax_t when printing it.

Callers of error() don't need to supply a program name prefix in the
error message. Stops ulimit giving error messages like "ulimit: ulimit: xyz".

Obtained-from:  FreeBSD
bin/sh/miscbltin.c