7149865 protftpd perfomance is unacceptable on Solaris
authorTomas Klacko <tomas.klacko@oracle.com>
Wed, 30 May 2012 03:40:32 -0700
changeset 838 e3efa8edf0c1
parent 837 3496f33edfbb
child 839 a0aa4d6306c4
7149865 protftpd perfomance is unacceptable on Solaris
components/proftpd/patches/proftpd-ioctl-s11.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/proftpd/patches/proftpd-ioctl-s11.patch	Wed May 30 03:40:32 2012 -0700
@@ -0,0 +1,12 @@
+--- a/src/inet.c
++++ b/src/inet.c
[email protected]@ -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).
+    */
+