components/sox/patches/5.oss.c.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Tue, 18 Nov 2014 04:33:14 -0800
changeset 2222 ad929ef7a9df
parent 239 f5dbfc736a65
permissions -rw-r--r--
20051239 Upgrade Apache Web Server to version 2.2.29 20020763 problem in UTILITY/APACHE

--- sox-14.3.0/src/oss.c	Wed Aug 19 16:15:08 2009
+++ sox-14.3.0/src/oss.c.new	Wed Aug 19 16:23:46 2009
@@ -190,8 +190,10 @@
         return (SOX_EOF);
     }
 
+#if !defined sun
     /* Change to non-buffered I/O */
     setvbuf(ft->fp, NULL, _IONBF, sizeof(char) * file->size);
+#endif
     return(SOX_SUCCESS);
 }