Commit graph

3 commits

Author SHA1 Message Date
Jung-uk Kim
cee04cb56e Use sysctl(3) instead of procfs(5) when we need executable path from PID.
MFH:		2015Q3
2015-07-02 18:18:16 +00:00
Greg Lewis
6f1ddbf6db Update to 7u60. 2014-06-07 23:37:24 +00:00
Jung-uk Kim
d7cffff692 - Fix printing services. When CUPS is used, ${LOCALBASE}/bin/lpr must be
used to print a generated PostScript file.  When lpd(8) is used, lpr(1) from
base must be used.  Also, status command for lpc(8) requires a printer name.
If no argument is specified, i.e., "/usr/sbin/lpc status", then it displays
the command usage, i.e., "usage: status  {all | printer ...}".
Unfortunately, "usage" is interpreted as a printer name because ":" is
included.  Add "all" and adjust an expression for grep(1). [1]
- Use /proc/curproc/file to find its executable path if available.  It fixes
java/icedtea-web, for example. [2]

PR:		ports/178856 [1]
PR:		java/189905 [2]
2014-05-21 20:03:14 +00:00