Ticket #1571 (closed bug: fixed)
[PATCH]patch for building on win32.patch after immutable strings merge
Reported by: | jimmy | Owned by: | bacek |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | none | Version: | 2.4.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | applied | Platform: |
Description
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);
Attachments
Change History
Note: See
TracTickets for help on using
tickets.