ckolivas/cgminer — pull request #270 by luke-jr (2012-07-23 15:48:27+00:00)
Title: Bugfix: Copy argv[0] given to dirname()

Per manpage, dirname can (and does on GNU/Linux!) modify its argument