Summary: | setlocale returns a valid locale and sets errno to ENOENT | ||
---|---|---|---|
Product: | glibc | Reporter: | Pedro Izecksohn <Pedro.Izecksohn> |
Component: | localedata | Assignee: | GNU C Library Locale Maintainers <libc-locales> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | glibc-bugs |
Priority: | P2 | Flags: | fweimer:
security-
|
Version: | 2.9 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Pedro Izecksohn
2009-08-10 05:35:29 UTC
errno is allowed to be modified except in very few exception cases. setlocale is not among them. The caller must not look at errno unless the call fails. |