OpenBSD patches for dtpdmd and dtprintinfo.
Casts, #ifdefs, SIGCLD ...
This commit is contained in:
committed by
Jon Trulson
parent
d418376944
commit
76984653b4
@@ -41,7 +41,7 @@
|
||||
#define boolean boolean_t
|
||||
#define true B_TRUE
|
||||
#define false B_FALSE
|
||||
#elif defined(linux)
|
||||
#elif defined(linux) || defined(CSRG_BASED)
|
||||
#define false 0
|
||||
#define true 0
|
||||
#define boolean int
|
||||
|
||||
@@ -774,7 +774,7 @@ void LocalPrintJobs(char *printer, char **return_job_list, int *return_n_jobs)
|
||||
}
|
||||
#endif // HP LOCAL PARSER
|
||||
|
||||
#if defined(__osf__) || defined(linux)
|
||||
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
//
|
||||
// DEC/OSF1 PARSER - Output from "lpstat -o<printer>
|
||||
//
|
||||
@@ -870,7 +870,7 @@ void LocalPrintJobs(char *printer, char **return_job_list, int *return_n_jobs)
|
||||
#if defined(__osf__)
|
||||
sprintf(buf, "lpstat -o%s", printer);
|
||||
#endif
|
||||
#if defined(linux)
|
||||
#if defined(linux) || defined(CSRG_BASED)
|
||||
sprintf(buf, "lpq -P%s", printer);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user