diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-07-26 13:30:24 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-07-26 13:30:24 -0400 |
| commit | b2e752ee3257e967fa4796b39054a7f32629291d (patch) | |
| tree | e87ef2581de45301571b0c9d79bad78aaa4677ae /tomo.c | |
| parent | cfe46ee393aa3c9a2344a916bccfc4a69d4b8b77 (diff) | |
Replace heap_str with GC_strdup
Diffstat (limited to 'tomo.c')
| -rw-r--r-- | tomo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -192,7 +192,7 @@ int main(int argc, char *argv[]) // For shared objects, link up all the object files into one .so file: if (mode == MODE_COMPILE_SHARED_OBJ) { - char *libname_id = heap_str(libname); + char *libname_id = GC_strdup(libname); for (char *p = libname_id; *p; p++) { if (!isalnum(*p) && *p != '_' && *p != '$') *p = '_'; |
