Please sign in to comment.
Fix build on some linux distros & fix generic bug
* Fix a bug in the use of asprintf. asprintf returns an error code and sets the buffer to NULL if it can't allocate memory. Handle that case gracefully. * Define _GNU_SOURCE globally since it seems that the stdlib includes in some Linux distributions (Gentoo, Ubuntu) are broken and don't work without giving warnings if _GNU_SOURCE isn't defined. * Reported-by: Cody Schafer (jmesmon) * Fixes-Issue: 1
- Loading branch information...