make toxic handle input in a more sane manner
Macports support (OS X only). MAP_ANON -> MAP_ANONYMOUS (OS X only).
Macports support (OS X only). MAP_ANON -> MAP_ANONYMOUS (OS X only).
Merge commit '4b217bca97' into HEAD
Merge pull request #410 from KostyaKow/array

Array
Merge pull request #411 from slvr/master

Macports support (OS X only). MAP_ANON -> MAP_ANONYMOUS (OS X only).
Merge pull request #409 from lukechampine/betterprompt

make toxic handle input in a more sane manner
Kill EOF whitespace.
Extracted repeated code into a function
Moved some checks around
Changed the way statusmessage is allocated
Introduced data pointer and data_length
Merge pull request #412 from cbrueffer/misc

Kill EOF whitespace.
Returned the length check
Merge pull request #413 from nurupo/master

Cleanup of Messenger.c
Fixed possible bug.
Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core into misc_fixes

Conflicts:
	testing/toxic/prompt.c