File gettext-typo_to_segfault.patch of Package gettext-runtime

2008-05-16  Bruno Haible  <bruno@clisp.org>

	* gettext-tools/src/msgl-iconv.c (iconvable_prev_msgid): Fix typo.
	Reported by Karl Eichwalder <ke@novell.com>
	via Philipp Thomas <pth@novell.com>
	at <http://rudin.suse.de:8888/show_bug.cgi?id=391372>.

*** gettext-tools/src/msgl-iconv.c	7 Oct 2007 19:35:29 -0000	1.23
--- gettext-tools/src/msgl-iconv.c	16 May 2008 22:32:04 -0000
***************
*** 1,5 ****
  /* Message list charset and locale charset handling.
!    Copyright (C) 2001-2003, 2005-2007 Free Software Foundation, Inc.
     Written by Bruno Haible <haible@clisp.cons.org>, 2001.
  
     This program is free software: you can redistribute it and/or modify
--- 1,5 ----
  /* Message list charset and locale charset handling.
!    Copyright (C) 2001-2003, 2005-2008 Free Software Foundation, Inc.
     Written by Bruno Haible <haible@clisp.cons.org>, 2001.
  
     This program is free software: you can redistribute it and/or modify
***************
*** 411,417 ****
    if (mp->prev_msgid != NULL)
      if (!iconvable_string (cd, mp->prev_msgid))
        return false;
!   if (mp->msgid_plural != NULL)
      if (!iconvable_string (cd, mp->prev_msgid_plural))
        return false;
    return true;
--- 411,417 ----
    if (mp->prev_msgid != NULL)
      if (!iconvable_string (cd, mp->prev_msgid))
        return false;
!   if (mp->prev_msgid_plural != NULL)
      if (!iconvable_string (cd, mp->prev_msgid_plural))
        return false;
    return true;
openSUSE Build Service is sponsored by