[PD-cvs] SF.net SVN: pure-data: [9687] trunk/externals/zexy/src/msgfile.c

zmoelnig at users.sourceforge.net zmoelnig at users.sourceforge.net
Wed Apr 9 20:48:46 CEST 2008


Revision: 9687
          http://pure-data.svn.sourceforge.net/pure-data/?rev=9687&view=rev
Author:   zmoelnig
Date:     2008-04-09 11:48:45 -0700 (Wed, 09 Apr 2008)

Log Message:
-----------
read as binary to avoid fighting with linefeeds

Modified Paths:
--------------
    trunk/externals/zexy/src/msgfile.c

Modified: trunk/externals/zexy/src/msgfile.c
===================================================================
--- trunk/externals/zexy/src/msgfile.c	2008-04-09 18:43:23 UTC (rev 9686)
+++ trunk/externals/zexy/src/msgfile.c	2008-04-09 18:48:45 UTC (rev 9687)
@@ -568,7 +568,7 @@
     sprintf(filnam, "%s/%s", buf, bufptr);
   }
 
-  fil=fopen(filnam, "r");
+  fil=fopen(filnam, "rb");
   fseek(fil, 0, SEEK_END);
   if(fil==NULL) {
     pd_error(x, "could not open '%s'", filnam);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Pd-cvs mailing list