Skip to content

Commit

Permalink
options/internal: Add support for NOEXPR in nl_langinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennisbonke committed Jun 10, 2024
1 parent ccaa174 commit 7d0f4e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions options/internal/generic/locale.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ char *nl_langinfo(nl_item item) {
return const_cast<char *>("%a %b %e %T %Y");
}else if(item == YESEXPR) {
return const_cast<char *>("^[yY]");
}else if(item == NOEXPR) {
return const_cast<char *>("^[nN]");
}else{
mlibc::infoLogger() << "mlibc: nl_langinfo item "
<< item << " is not implemented properly" << frg::endlog;
Expand Down

0 comments on commit 7d0f4e5

Please sign in to comment.