Don't call strlen(nullptr) in mkdtemp and mkstemp
authorChristopher Dykes <cdykes@fb.com>
Fri, 12 Aug 2016 21:29:28 +0000 (14:29 -0700)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Fri, 12 Aug 2016 21:38:27 +0000 (14:38 -0700)
commit3062d1cda02b34872e9d046ee31b6d753a8422fd
treec06b5125279e3bfd143a29c4cc875f9d9f8da71d
parente8308aaf329b26d07e36a0c1b0f97073a4270eb9
Don't call strlen(nullptr) in mkdtemp and mkstemp

Summary: Because it's a terrible idea. It also didn't work.

Reviewed By: yfeldblum

Differential Revision: D3711443

fbshipit-source-id: 48ab77dfff005347c72daeaf0d27390bb86f4bd1
folly/portability/Stdlib.cpp