Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/lib/libast/string/strdup.c: - Remove obsolete VMDEBUG preprocessor workaround for vmalloc. (re: 40f4665) - Remove obsolete preprocessor workaround for MSVCRT, as in Microsoft Visual C++ Runtime. (re: a28507e, a34e831) - Use size_t instead of int for the size, fixing the duplication of strings larger than 2 GiB. Admittedly a largely theoretical fix, but correctness is always preferable. - De-obfuscate: use legible conditionals and call malloc(3) directly instead of via the oldof() macro.
- Loading branch information