catopen: set errno to EOPNOTSUPP
authorA. Wilcox <AWilcox@Wilcox-Tech.com>
Fri, 9 Jun 2017 05:26:16 +0000 (00:26 -0500)
committerRich Felker <dalias@aerifal.cx>
Wed, 14 Jun 2017 23:46:04 +0000 (19:46 -0400)
commitaf0517301677b4206c605caaef25f5d57a31b5b8
tree7dfbbc7859889b78fad9ebc797fd5e01ec8dc214
parent84eff797e3e38210cc311b000b1586b948b4fc35
catopen: set errno to EOPNOTSUPP

Per 1003.1-2008 (2016 ed.), catopen must set errno on failure.

We set errno to EOPNOTSUPP because musl does not currently support
message catalogues.
src/locale/catopen.c