[svn:parrot] r45855 - trunk/src
bacek at svn.parrot.org
bacek at svn.parrot.org
Wed Apr 21 11:18:14 UTC 2010
Author: bacek
Date: Wed Apr 21 11:18:13 2010
New Revision: 45855
URL: https://trac.parrot.org/parrot/changeset/45855
Log:
Apply patch from TT#1571 to restore build on Win32. JimmyZ++
Modified:
trunk/src/dynext.c
Modified: trunk/src/dynext.c
==============================================================================
--- trunk/src/dynext.c Wed Apr 21 10:29:41 2010 (r45854)
+++ trunk/src/dynext.c Wed Apr 21 11:18:13 2010 (r45855)
@@ -341,7 +341,7 @@
if (!STRING_IS_EMPTY(lib) && memcmp(lib->strstart, "lib", 3) == 0) {
*handle = Parrot_dlopen((char *)lib->strstart + 3, 0);
if (*handle) {
- path = Parrot_str_substr(interp, lib, 3, lib->strlen - 3, NULL, 0);
+ path = Parrot_str_substr(interp, lib, 3, lib->strlen - 3);
return path;
}
}
@@ -351,7 +351,7 @@
#ifdef __CYGWIN__
if (!STRING_IS_EMPTY(lib) && memcmp(lib->strstart, "lib", 3) == 0) {
path = Parrot_str_concat(interp, CONST_STRING(interp, "cyg"),
- Parrot_str_substr(interp, lib, 3, lib->strlen - 3, NULL, 0));
+ Parrot_str_substr(interp, lib, 3, lib->strlen - 3));
*handle = dlopen_string(interp, flags, path);
More information about the parrot-commits
mailing list