svn commit: samba r5684 - in branches/SAMBA_3_0/source/printing: .

jerry at samba.org jerry at samba.org
Mon Mar 7 22:10:27 GMT 2005


Author: jerry
Date: 2005-03-07 22:10:27 +0000 (Mon, 07 Mar 2005)
New Revision: 5684

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5684

Log:
BUG 2405: patch from Torsten Werner <torsten.werner at assyst-intl.com> to define 'lpstat' printcap output on HPUX
Modified:
   branches/SAMBA_3_0/source/printing/pcap.c
   branches/SAMBA_3_0/source/printing/print_svid.c


Changeset:
Modified: branches/SAMBA_3_0/source/printing/pcap.c
===================================================================
--- branches/SAMBA_3_0/source/printing/pcap.c	2005-03-07 22:06:25 UTC (rev 5683)
+++ branches/SAMBA_3_0/source/printing/pcap.c	2005-03-07 22:10:27 UTC (rev 5684)
@@ -129,7 +129,7 @@
 	}
 #endif
 
-#ifdef SYSV
+#if defined(SYSV) || defined(HPUX)
 	if (strequal(pcap_name, "lpstat")) {
 		pcap_reloaded = sysv_cache_reload();
 		goto done;

Modified: branches/SAMBA_3_0/source/printing/print_svid.c
===================================================================
--- branches/SAMBA_3_0/source/printing/print_svid.c	2005-03-07 22:06:25 UTC (rev 5683)
+++ branches/SAMBA_3_0/source/printing/print_svid.c	2005-03-07 22:10:27 UTC (rev 5684)
@@ -34,7 +34,7 @@
 
 #include "includes.h"
 
-#ifdef SYSV
+#if defined(SYSV) || defined(HPUX)
 BOOL sysv_cache_reload(void)
 {
 	char **lines;



More information about the samba-cvs mailing list