From: <ny...@us...> - 2006-07-10 19:26:37
|
Revision: 130 Author: nyaochi Date: 2006-07-10 12:26:30 -0700 (Mon, 10 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=130&view=rev Log Message: ----------- Enable LF->CR conversion. EasyPMP still has difficulty in evaluating the script for Playlist object implementation. Modified Paths: -------------- trunk/lib/playlist/jspl.c Modified: trunk/lib/playlist/jspl.c =================================================================== --- trunk/lib/playlist/jspl.c 2006-07-10 19:15:25 UTC (rev 129) +++ trunk/lib/playlist/jspl.c 2006-07-10 19:26:30 UTC (rev 130) @@ -37,7 +37,6 @@ #include <pmp.h> #include <playlist.h> -#define JS_THREADSAFE #include <jsapi.h> #define MAX_SOURCE_DEPTH 64 @@ -441,7 +440,7 @@ jsval retval; /* Open the JavaScript file. */ - fp = ucs2fopen(filename, "rb"); + fp = ucs2fopen(filename, "r"); if (!fp) { return -1; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |