summaryrefslogtreecommitdiffstats
path: root/include/xlocale
Commit message (Collapse)AuthorAgeFilesLines
* Add META_MODE support.sjg2015-06-131-0/+11
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge head from 7/28sjg2014-08-193-3/+49
| |\
| * \ Merge from headsjg2013-09-052-1/+47
| |\ \
| * | | Updated dependenciessjg2013-02-161-2/+0
| | | |
| * | | Sync with HEAD.obrien2013-02-081-1/+1
| |\ \ \
| * | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-222-1/+14
| | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | Remove NO_OBJsjg2015-06-111-1/+0
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | For meta mode we will want objdirs. Differential Revision: D2748 Reviewed by: brooks imp
* | | | Fix strcasecmp_l() and strncasecmp_l() POSIX 2008 compliance.pfg2014-05-303-3/+49
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | POSIX.1-2008 specifies that those two functions should be declared by including <strings.h>, not <string.h> (the latter only has strcoll_l() and strxfrm_l()): http://pubs.opengroup.org/onlinepubs/9699919799/functions/strcasecmp.html Obtained from: DragonFlyBSD Reviewed by: theraven MFC after: 2 weeks
* | | Add <uchar.h>.ed2013-05-212-1/+47
| |/ |/| | | | | | | | | | | | | | | | | | | | | The <uchar.h> header, part of C11, adds a small number of utility functions for 16/32-bit "universal" characters, which may or may not be UTF-16/32. As our wchar_t is already ISO 10646, simply add light-weight wrappers around wcrtomb() and mbrtowc(). While there, also add (non-yet-standard) _l functions, similar to the ones we already have for the other locale-dependent functions. Reviewed by: theraven
* | Use defined() to test macro definitions.demon2012-11-141-1/+1
|/ | | | Approved by: theraven
* Fix a bug caused by some misplaced brackets.theraven2012-04-221-2/+2
| | | | Reported by: das
* And remove the duplicate inlines...theraven2012-03-131-2/+2
| | | | Approved by: dim (mentor)
* Fix the other missing prototypes.theraven2012-03-131-0/+5
| | | | Approved by: dim (mentor)
* Add missing prototypes.theraven2012-03-131-0/+5
| | | | Approved by: dim (mentor)
* More xlocale cleanups.theraven2012-03-131-26/+26
| | | | Approved by: dim (mentor)
* After r232498, programs built with -ansi or -std=c89 including <ctype.h>dim2012-03-061-2/+2
| | | | | | | | would not compile anymore, due to plain 'inline' keywords. Fix this by using __inline instead. Reported by: Jia-Shiun Li <jiashiun@gmail.com> Discussed with: theraven
* Reapply 227753 (xlocale cleanup), plus some fixes so that it passes buildtheraven2012-03-0411-0/+763
| | | | | | universe with gcc. Approved by: dim (mentor)
* Revert r231673 and r231682 for now, until we can run a full makedim2012-02-1411-752/+0
| | | | | | universe with them. Sorry for the breakage. Pointy hat to: me and brooks
* Cleanup of xlocale:theraven2012-02-1411-0/+752
- Address performance regressions encountered by das@ by caching per-thread data in TLS where available. - Add a __NO_TLS flag to cdefs.h to indicate where not available. - Reorganise the xlocale.h definitions into xlocale/*.h so that they can be included from multiple places. - Export the POSIX2008 subset of xlocale when POSIX2008 says it should be exported, independently of whether xlocale.h is included. - Fix the bug where programs using ctype functions always assumed ASCII unless recompiled. - Fix some style(9) violations. Reviewed by: brooks (mentor) Approved by: dim (mentor)
OpenPOWER on IntegriCloud