Remove some white space at EOL.
commit723aa2cfee18d94ac22bf8b3fccacc0b6fa5b2dc
authorPeter Avalos <pavalos@dragonflybsd.org>
Sat, 13 Jan 2007 22:39:30 +0000 (13 22:39 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sat, 13 Jan 2007 22:39:30 +0000 (13 22:39 +0000)
treef4ccf168dc4909545bfee99f80c8154021006216
parenta891afb0e8c35e038de33454af91fc58f717565d
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