~vcs-imports/dpkg/master

Viewing all changes in revision 9157.

  • Committer: Guillem Jover
  • Date: 2019-10-30 21:02:45 UTC
  • Revision ID: git-v1:935072fed354c9ddd0704a552be1f6996bfccc10
libdpkg: Add new versiondescribe_c() to force a C locale

In some contexts we need output in the C locale, such as log files.
We add a new versiondescribe_c() that wraps the locale-dependant
versiondescribe() function and switches to the C locale and back
to the previous one before returning.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: