[TSAN] main: Stop calling g_set_prgname()
authorColin Walters <walters@verbum.org>
Thu, 17 Nov 2016 16:39:27 +0000 (11:39 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 17 Nov 2016 19:41:57 +0000 (19:41 +0000)
commitf0519e541f296fc277db636567bb0f0e4d9fc62d
tree675869160755d7c8922a54eb67c4a5ed0e6e1c24
parentb5c4e6d99ac0dc5e9aa20cabdb7208b11e7b6966
[TSAN] main: Stop calling g_set_prgname()

It turns out this is basically racy with the presence of other
threads.  It was really cosmetic so let's stop doing it and make
`-fsanitize=thread` happy.

Closes: #582
Approved by: jlebon
src/ostree/ot-main.c