~ubuntu-branches/ubuntu/karmic/gnupg2/karmic-updates

« back to all changes in this revision

Viewing changes to common/localename.c

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2009-03-08 22:46:47 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20090308224647-gq17gatcl71lrc2k
Tags: 2.0.11-1
* New upstream release. (Closes: #496663)
* debian/control: Make the description a little more distinctive than
  gnupg v1's. Thanks Jari Aalto. (Closes: #496323)

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
  /* Use the POSIX methods of looking to 'LC_ALL', 'LC_xxx', and 'LANG'.
66
66
     On some systems this can be done by the 'setlocale' function itself.  */
67
67
# if defined HAVE_SETLOCALE && defined HAVE_LC_MESSAGES && defined HAVE_LOCALE_NULL
 
68
  (void)categoryname;
68
69
  retval = setlocale (category, NULL);
69
70
# else 
70
71
  /* Setting of LC_ALL overwrites all other.  */