Project

General

Profile

Bug #4964

nl_langinfo(CRNCYSTR) returns wrong alignment character

Added by Garrett D'Amore over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
lib - userland libraries
Start date:
2014-07-07
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

It turns out that I got the sense backwards when I coded up the handling of CRNCYSTR in nl_langinfo(). The prefix should be "-" for the case where the currency symbol is to the left (as in USA), and "+" for when the currency symbol trails the number. I got this exactly backwards.

History

#1

Updated by Electric Monk over 5 years ago

  • % Done changed from 80 to 100
  • Status changed from New to Closed

git commit 538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2

commit  538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2
Author: Garrett D'Amore <garrett@damore.org>
Date:   2014-07-15T21:05:46.000Z

    4964 nl_langinfo(CRNCYSTR) returns wrong alignment character
    4999 libc test suite enhancements
    4939 desire wcsnrtombs() function
    Reviewed by: Jason King <jason.brian.king@gmail.com>
    Reviewed by: Dan McDonald <danmcd@omniti.com>
    Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF