avoid calling new/malloc in signalhandler.
authorFumitoshi Ukai <ukai@google.com>
Thu, 17 Dec 2015 06:26:15 +0000 (15:26 +0900)
committerFumitoshi Ukai <ukai@google.com>
Thu, 17 Dec 2015 06:26:15 +0000 (15:26 +0900)
commit03123011437bd8754a7c5525971eebdb9c2968db
treef10005b8557e57c2c675dec0b161b0df071630ce
parentde75983a8172e078a1cc07ad0a10908629bcc0bd
avoid calling new/malloc in signalhandler.

FlushLogFilesUnsafe would be called in FailureSignalHandler,
so should avoid calling new/malloc, which are not signal safe.

fixes #78
src/logging.cc