Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LibC: Make scanf always copy its va_list
On x86_64 GCC implements va_list as an array. This makes the syntax for taking a pointer to it break & crash. The workaround / solution is to create a copy. Since va_list is a tiny struct referencing the actual varargs, this is little overhead (especially compared to va_args itself)
- Loading branch information