[go: up one dir, main page]

Skip to content

Commit

Permalink
renamed memcpy to memmove (for consistency with ctypes) in dlmodule.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Szabo committed Dec 25, 2019
1 parent c02fce3 commit 502a681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules.dlmodule.2.7.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void *dlsym(void *handle, const char *symbol) {
if (!strcmp(symbol, "mmap")) return mmap;
if (!strcmp(symbol, "mprotect")) return mprotect;
if (!strcmp(symbol, "munmap")) return munmap;
if (!strcmp(symbol, "memcpy")) return memcpy;
if (!strcmp(symbol, "memmove")) return memmove;
return 0;
}
int dlclose(void *handle) {
Expand Down

0 comments on commit 502a681

Please sign in to comment.