ghuntley/pianobarfly — pull request #17 by nega0 (2011-12-14 23:50:18+00:00)
Title: OS X doesn't have a strndup(), so roll our own.

a better solution would be to just whack it, as you can get some memory
leaks if you're not careful. i haven't seen any tho.