#1571: [PATCH]patch for building on win32.patch after immutable strings merge
-------------------+--------------------------------------------------------
Reporter: jimmy | Type: bug
Status: new | Priority: normal
Milestone: | Component: none
Version: 2.4.0 | Severity: medium
Keywords: | Lang:
Patch: | Platform:
-------------------+--------------------------------------------------------
{{{
Index: src/dynext.c
===================================================================
--- src/dynext.c (版本 45854)
+++ src/dynext.c (工作副本)
@@ -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);
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1571>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets