summaryrefslogtreecommitdiff
path: root/systemv
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2012-10-15 21:02:10 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2012-10-15 21:02:10 +0000
commit3dd9c340583c44d4dcb7223efbd0a815e0027ff7 (patch)
treeb152c85430602eae72e9d9ae80d27fbba715f4f5 /systemv
parent5a9febac19255ab8aea598449ea63bda730b2fe0 (diff)
downloadcups-3dd9c340583c44d4dcb7223efbd0a815e0027ff7.tar.gz
Merge changes from CUPS 1.7svn-r10643
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3940 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'systemv')
-rw-r--r--systemv/lpstat.c45
1 files changed, 1 insertions, 44 deletions
diff --git a/systemv/lpstat.c b/systemv/lpstat.c
index fd36fe898..6c9d734d7 100644
--- a/systemv/lpstat.c
+++ b/systemv/lpstat.c
@@ -205,38 +205,6 @@ main(int argc, /* I - Number of command-line arguments */
}
break;
-#ifdef __sgi
- case 'b' : /* Show both the local and remote status */
- op = 'b';
-
- if (argv[i][2])
- {
- /*
- * The local and remote status are separated by a blank line;
- * since all CUPS jobs are networked, we only output the
- * second list for now... In the future, we might further
- * emulate this by listing the remote server's queue, but
- * for now this is enough to make the SGI printstatus program
- * happy...
- */
-
- check_dest(argv[0], argv[i] + 2, &num_dests, &dests);
-
- puts("");
- status |= show_jobs(argv[i] + 2, NULL, 3, ranking, which);
- }
- else
- {
- _cupsLangPrintf(stderr,
- _("%s: Error - expected destination after "
- "\"-b\" option."),
- argv[0]);
-
- return (1);
- }
- break;
-#endif /* __sgi */
-
case 'c' : /* Show classes and members */
op = 'c';
@@ -299,18 +267,7 @@ main(int argc, /* I - Number of command-line arguments */
break;
case 'l' : /* Long status or long job status */
-#ifdef __sgi
- op = 'l';
-
- if (argv[i][2])
- {
- check_dest(argv[0], argv[i] + 2, &num_dests, &dests);
-
- status |= show_jobs(argv[i] + 2, NULL, 3, ranking, which);
- }
- else
-#endif /* __sgi */
- long_status = 2;
+ long_status = 2;
break;
case 'o' : /* Show jobs by destination */