[389-devel] Please review: [389 Project] #563: DSCreate.pm: Error messages cannot be used in the if expression since they could be localized.

Noriko Hosoi nhosoi at redhat.com
Fri Jan 25 00:37:41 UTC 2013


https://fedorahosted.org/389/ticket/563

https://fedorahosted.org/389/attachment/ticket/563/0001-Ticket-563-DSCreate.pm-Error-messages-cannot-be-used.patch

  Bug description: Error messages from the command line interface
  could be localized based upon the users' configuration.  But the
  script expects English sentence.

  Fix description: Set the C locale '$ENV{LANG} = "C"' before running
  the command line if the message from the command is examined in
  the expression.




More information about the 389-devel mailing list