components/sox/patches/5.oss.c.patch
author Tomas Klacko <tomas.klacko@oracle.com>
Wed, 16 Jul 2014 13:04:34 +0200
branchs11u2-sru
changeset 3207 2b2b75980f35
parent 239 f5dbfc736a65
permissions -rw-r--r--
18977188 update timezone data to 2014e

--- 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);
 }