OpenBSD patches for dtpdmd and dtprintinfo.

Casts, #ifdefs, SIGCLD ...
This commit is contained in:
Pascal Stumpf
2012-08-11 14:01:14 +02:00
committed by Jon Trulson
parent d418376944
commit 76984653b4
8 changed files with 15 additions and 13 deletions

View File

@@ -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

View File

@@ -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