| From | Subject | Date |
|---|---|---|
| Tobias Ulmer | which
which(1) prints error messages on stdout, breaking shell scripts and
common usage patterns:
ldd `which foo`
ldd: foo:: No such file or directory
ldd: Command: No such file or directory
ldd: not: No such file or directory
ldd: found.: No such file or directory
X=$(which foo 2>/dev/null)
test -n "$X" || echo "foo not found"
This works contrary to the csh builtin it was modeled after and `which'
from coreutils.
The patch below fixes that. As a bonus, print "which: " in front of ...
| May 27, 2:23 pm 2010 |
| Matthew Dempsky | Patch to remove unused spllpt()
I noticed that spllpt() was defined twice in amd64/include/intr.h, and
then upon further inspection that it's not actually used anywhere.
The patch below removes the spllpt() definition from the only three
architectures that still define it (alpha, amd64, sparc64).
Disclaimer: I don't have any alpha or sparc64 hardware, so I've only
tested that it still compiles on amd64. However, grep can't find any
other mentions of "spllpt" or "PIL_LPT" in /usr/src/sys, so it seems
safe.
Index: ...
| May 26, 5:52 pm 2010 |
| previous day | today | next day |
|---|---|---|
| May 26, 2010 | May 27, 2010 | May 28, 2010 |
