~wgrant/pygettextpo/bug-1269662

Viewing all changes in revision 25.

  • Committer: William Grant
  • Date: 2014-01-16 02:23:17 UTC
  • Revision ID: william.grant@canonical.com-20140116022317-7pfnxyoa7g3y4rtu
Fix set_msgstr, set_msgstr_plural and set_comments to not segfault when given None on gettext >= 0.18.2. NULL was never legal, it just happened to work because the values used to default to NULL, so the functions short-circuited.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: