Add ./configure check for vsnprintf returning negative on error
authorMike Kaplinskiy <mikekap@vineapp.com>
Mon, 22 Jun 2015 23:15:24 +0000 (16:15 -0700)
committerSara Golemon <sgolemon@fb.com>
Mon, 22 Jun 2015 23:45:17 +0000 (16:45 -0700)
commit61a1244ec0d11e8a612c4e2614c8cea32f4d87d4
tree69b2620cae27424e799d81ea79083de8b846d86b
parent33f2a1c9f813a5a54aa2aedd333ee5208e724f8b
Add ./configure check for vsnprintf returning negative on error

Summary: This is slightly more correct than assuming that
__APPLE__ is the only place this assumption breaks.

Pulled from relevant section of folly-PR#95, other sections
are either already applied by other fixes, or have been code-moved.

Closes #95

Reviewed By: @jwatzman

Differential Revision: D2178439
folly/configure.ac
folly/test/StringTest.cpp