components/proftpd/patches/proftpd-ioctl-s11.patch
author Sonam Gupta <sonam.x.gupta@oracle.com>
Fri, 17 May 2013 20:31:53 +0200
branchs11u1-sru
changeset 2625 5dad0fc5ed82
parent 838 e3efa8edf0c1
permissions -rw-r--r--
16362516 lpstat and lpq commands report bad value 16321334 lpstat -p always reports job id as '-0' 15731683 SUNBT7072114 cupsd: segfault in move_job+0x29d

--- a/src/inet.c
+++ b/src/inet.c
@@ -1238,7 +1238,7 @@ conn_t *pr_inet_openrw(pool *p, conn_t *c, pr_netaddr_t *addr, int strm_type,
   res->mode = CM_OPEN;
 
 #if defined(HAVE_STROPTS_H) && defined(I_SRDOPT) && defined(RPROTDIS) && \
-    defined(SOLARIS2)
+    defined(SOLARIS2) && !defined(SOLARIS2_11)
   /* This is needed to work around control messages in STREAMS devices
    * (as on Solaris 9/NFS).
    */