Ticket #1571 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

[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

patch for building on win32.patch Download (0.9 KB) - added by jimmy 4 years ago.

Change History

Changed 4 years ago by jimmy

Changed 4 years ago by bacek

  • owner set to bacek
  • patch set to applied

Hello.

I applied patch in r45855. Waiting for at least TapTinder build status to resolve this ticket.

-- Bacek

Changed 4 years ago by bacek

  • status changed from new to closed
  • resolution set to fixed

Ok. TapTinder is green now. Resolving ticket.

Note: See TracTickets for help on using tickets.