Ihor Dutchak
Ihor Dutchak
One more thing: `usbi_reallocf` is used only in like two places, and I don't see how `0` could even be a possible argument for the `size`. @zkh8227 where did you...
> So making the libusb version the same also still seems quite advisable to me... I don't see anything advisable here: 1) Not unless someone checks the behavior with GCC,...
> Since there's only 1 use of this private function Yeah, I'd vote to remove it completely instead. --- > you think libusb's usbi_reallocf should be different? Can you explain...
> is clearly trying to re-implement `reallocf`, agreed? For starters - why does `reallocf` even exists? Because the behavior of `realloc` is not well defined, so someone at some point...
Right. @tormodvolden I vote to remove `usbi_reallocf` from libusb altogether and stop trying to fix something that is not needed.
Please see https://github.com/signal11/hidapi/issues/468 and consider closing this issue.
This looks like a bot action.
Please see #468 and close this issue.
For historical reasons: here is Android iconv implementation: https://android-review.googlesource.com/c/platform/bionic/+/464455/3/libc/bionic/iconv.cpp