freebsd-ports/net/generic-nqs/files/patch-aa
Chris Piazza cad6c0c117 Generic-NQS, a freely available Network Queuing System that provides
configurable limits on jobs on a per queue basis as well as for the
total queue system.
It is based on the de facto NQS standards and is interoperable with
commercial NQS products.

PR:		6699
Submitted by:	Tony Maher <tonym@angis.org.au>
1999-06-28 07:07:31 +00:00

19 lines
593 B
Text

--- Source-Tree/qmgr/all-systems/mgr_main.c.orig Mon Sep 9 08:24:58 1996
+++ Source-Tree/qmgr/all-systems/mgr_main.c Sat May 2 11:09:26 1998
@@ -502,14 +502,14 @@
* On systems with named pipes, we get a pipe to the local
* daemon automatically the first time we call inter().
*/
-#if IS_POSIX_1 | IS_SYSVr4 | IS_BSD4_4
-#else
#if IS_BSD
if (interconn () < 0) {
fprintf (stderr, "%s(FATAL): Unable to get ", Nqsmgr_prefix);
fprintf (stderr, "a pipe to the local daemon.\n");
exit (16);
}
+#else
+#if IS_POSIX_1 | IS_SYSVr4 | IS_BSD4_4
#else
BAD SYSTEM TYPE
#endif