Re: svn commit: r368606 - head/usr.bin/calendar
Stefan Esser <[email protected]> Sun, 13 Dec 2020 19:57:05 +0100
| Newsgroups | gmane.os.freebsd.devel.cvs,gmane.os.freebsd.current.scm |
|---|---|
| Message-ID | <[email protected]> |
Am 13.12.20 um 12:13 schrieb Yuri Pankov: > Stefan Eßer wrote: >> Author: se >> Date: Sun Dec 13 09:38:50 2020 >> New Revision: 368606 >> URL: https://svnweb.freebsd.org/changeset/base/368606 >> >> Log: >> Fix WITHOUT_ICONV build >> There was an unprotected use of nl_langinfo() to determine the >> order of >> day vs. month in the generated output. > > That's strange, nl_langinfo() is standard and its visibility should not > (and does not?) depend on WITH/WITHOUT_ICONV. May be just move > langinfo.h include outside of "#ifdef WITH_ICONV" block? Yes, you are perfectly right ... I had noticed that WITHOUT_ICONV lead to a problem due to the missing prototype, but I had not seen that this was due to the include of langinfo.h being conditional on WITH_ICONV. I'll revert this commit and move the include of langinfo.h out of the conditional block, as suggested by you. Thanks for pointing this out! Best regards, STefan
OpenPGP_signature
(application/pgp-signature, 495 B) - not displayed