Check the return value of g_get_prgname for NULL before passing to strcmp.
authorBehdad Esfahbod <behdad@gnome.org>
Wed, 5 Apr 2006 05:56:47 +0000 (05:56 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Wed, 5 Apr 2006 05:56:47 +0000 (05:56 +0000)
commit8741c8bf5aacbacc4071019d23c47e9d0ea9a4ee
tree1438a322188c6d8eec30f2d051427cd977c29bcd
parent5525aa52c9191ff621ff4526167d554af902dc68
Check the return value of g_get_prgname for NULL before passing to strcmp.

2006-04-05  Behdad Esfahbod  <behdad@gnome.org>

        * tests/option-test.c: Check the return value of g_get_prgname for
        NULL before passing to strcmp.

        * tests/slice-test.c: Report the correct name in Usage summary.
ChangeLog
ChangeLog.pre-2-12
tests/option-test.c
tests/slice-test.c