aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/mklocale
Commit message (Collapse)AuthorAgeFilesLines
* Remove mklocale(1) and colldef(1) which are deprecated since FreeBSD 11Baptiste Daroussin2019-09-107-1480/+0
| | | | | | | | | | | | In FreeBSD 11 along with the rework on the collation, mklocale(1) and colldef(1) has been replaced by localedef(1) (a note has been added to the manpage to state it). mklocale(1) and colldef(1) has been kept around to be able to build older versions of FreeBSD. None of the version requiring those tools are supported anymore so it is time to remove them from base Notes: svn path=/head/; revision=352128
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-204-0/+8
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Adopt SRCTOP in usr.binWarner Losh2017-03-121-1/+1
| | | | | | | | | | | | Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo over ${.CURDIR}/../foo for paths in Makefiles. Differential Revision: https://reviews.freebsd.org/D9932 Sponsored by: Netflix Silence on: arch@ (twice) Notes: svn path=/head/; revision=315170
* Renumber copyright clause 4Warner Losh2017-02-285-5/+5
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Use strlcpy() instead of strncpy() when copying the encoding valueDon Lewis2016-05-121-1/+1
| | | | | | | | | | | | | | | | to ensure that the destination is NUL terminated. Length truncation of one more character should not be an issue since encoding values that long are not supported by libc. The destination string is treated as a NUL terminated string, but it is only passed to strcmp() for comparison to a set of shorter, fixed length strings, so this is not a serious problem. Reported by: Coverity CID: 974769 MFC after: 1 week Notes: svn path=/head/; revision=299524
* Note that mklocale(1) and colldef(1) are no longer usedBaptiste Daroussin2016-04-171-1/+8
| | | | | | | | | mklocale and colldef has been replaced by localedef, but they have to be kept until 10.2 is EOL for mklocale (it has been added to 10.3 as a bootstrap tools) and until 10.3 is EOL for colldef (it has never been added to bootstrap tools) Notes: svn path=/head/; revision=298170
* DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery2016-02-241-6/+0
| | | | | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295989
* Reintegrate colldef(1) and mklocale(1)Baptiste Daroussin2015-11-207-0/+1472
| | | | | | | | | | | | | | While those tools are not needed anymore they are necessary to build FreeBSD 9 and 10. it does not hurt to keep those tools around until both 9 and 10 branch become EOLed. Modify colldef(1) to build after the change in the collation header, and ensure it does produce the same collation definition it used to generate for 9 and 10 Reported by: Oliver Pinter Notes: svn path=/head/; revision=291115
* Remove mklocale which is not needed anymoreBaptiste Daroussin2015-08-087-1472/+0
| | | | Notes: svn path=/projects/collation/; revision=286467
* new dependsSimon J. Gerraty2015-06-161-0/+1
| | | | Notes: svn path=/head/; revision=284481
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+25
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Merge from headSimon J. Gerraty2013-09-052-0/+4
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=255263
| * Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+26
| | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | Work around build breakages with GCC 4.2.Jung-uk Kim2013-05-231-0/+2
| | | | | | | | | | | | | | Reported by: tinderbox Notes: svn path=/head/; revision=250926
* | Add the Clang specific -Wmissing-variable-declarations to WARNS=6.Ed Schouten2013-04-191-0/+2
|/ | | | | | | | | | | | | | | | This compiler flag enforces that that people either mark variables static or use an external declarations for the variable, similar to how -Wmissing-prototypes works for functions. Due to the fact that Yacc/Lex generate code that cannot trivially be changed to not warn because of this (lots of yy* variables), add a NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this specific compiler warning. Announced on: toolchain@ Notes: svn path=/head/; revision=249657
* Fix world after byacc import:Baptiste Daroussin2012-05-221-1/+0
| | | | | | | | | | | - old yacc(1) use to magicially append stdlib.h, while new one don't - new yacc(1) do declare yyparse by itself, fix redundant declaration of 'yyparse' Approved by: des (mentor) Notes: svn path=/head/; revision=235789
* Minor mdoc nits.Joel Dahl2012-05-131-1/+1
| | | | Notes: svn path=/head/; revision=235400
* Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl2010-12-115-20/+0
| | | | | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson Notes: svn path=/head/; revision=216370
* Build usr.bin/ with WARNS=6 by default.Ed Schouten2010-01-021-1/+0
| | | | | | | Also add some missing $FreeBSD$ to keep svn happy. Notes: svn path=/head/; revision=201386
* ANSIfy almost all applications that use WARNS=6.Ed Schouten2009-12-292-23/+10
| | | | | | | | | | I was considering committing all these patches one by one, but as discussed with brooks@, there is no need to do this. If we ever need/want to merge these changes back, it is still possible to do this per application. Notes: svn path=/head/; revision=201227
* Revert most part of 200420 as requested, as more review and polish isXin LI2009-12-131-0/+1
| | | | | | | needed. Notes: svn path=/head/; revision=200462
* Remove unneeded header includes from usr.bin/ except contributed code.Xin LI2009-12-111-1/+0
| | | | | | | Tested with: make universe Notes: svn path=/head/; revision=200420
* Make mklocale work again, now that fwrite()'s return codes are different.Ed Schouten2009-07-141-2/+2
| | | | | | | | Submitted by: Navdeep Parhar <nparhar gmail com> Approved by: re (kib) Notes: svn path=/head/; revision=195676
* Understand newly introduced "ASCII" encodingAndrey A. Chernov2008-01-222-0/+3
| | | | Notes: svn path=/head/; revision=175556
* - Include runefile.h for _CACHED_RUNESRong-En Fan2007-11-071-0/+1
| | | | Notes: svn path=/head/; revision=173421
* Use NULL instead of 0 for the return value of fopen().Kevin Lo2007-09-211-1/+1
| | | | | | | Approved by: re (kensmith) Notes: svn path=/head/; revision=172261
* getopt(3) returns -1, not EOF.Kevin Lo2007-02-061-1/+1
| | | | Notes: svn path=/head/; revision=166529
* Make <runefile.h> internal to libc.Ruslan Ermilov2005-05-162-2/+2
| | | | | | | Suggested by: phantom Notes: svn path=/head/; revision=146261
* Make the format of LC_CTYPE files architecture independent byRuslan Ermilov2005-02-263-82/+78
| | | | | | | | | | | | | | | | introducing the disk formats for _RuneLocale and friends. The disk formats do not have (useless) pointers and have 32-bit quantities instead of rune_t and long. (htonl(3) only works with 32-bit quantities, so there's no loss). Bootstrap mklocale(1) when necessary. (Bootstrapping from 4.x would be trivial (verified), but we no longer provide pre-5.3 source upgrades and this is the first commit to actually break it.) Notes: svn path=/head/; revision=142582
* Fixed xref.Ruslan Ermilov2005-01-211-1/+1
| | | | Notes: svn path=/head/; revision=140568
* Sort sections.Ruslan Ermilov2005-01-181-4/+4
| | | | Notes: svn path=/head/; revision=140420
* Remove the obsolete <rune.h> interface.Tim J. Robbins2004-10-171-2/+0
| | | | Notes: svn path=/head/; revision=136609
* Use <runetype.h> instead of <rune.h> since the latter is going away.Tim J. Robbins2004-10-171-2/+2
| | | | Notes: svn path=/head/; revision=136605
* Remove explicit support for generating LC_CTYPE data files that specifyTim J. Robbins2004-10-172-8/+1
| | | | | | | the obsolete "UTF2" encoding. Notes: svn path=/head/; revision=136602
* The UTF2 encoding and the INVALID keyword are now obsolete.Tim J. Robbins2004-08-211-3/+3
| | | | Notes: svn path=/head/; revision=134109
* Deal with double whitespace.Ruslan Ermilov2004-07-031-1/+1
| | | | Notes: svn path=/head/; revision=131507
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-3/+6
| | | | Notes: svn path=/head/; revision=131491
* Prefix the names of members of _RuneLocale and its sub-structuresTim J. Robbins2004-06-231-33/+37
| | | | | | | | | with ``__'' to avoid polluting the namespace. This doesn't change the documented rune interface at all, but breaks applications that accessed _RuneLocale directly. Notes: svn path=/head/; revision=130961
* Fix section number in cross reference.Tim J. Robbins2004-01-231-1/+1
| | | | Notes: svn path=/head/; revision=124878
* Update cross references after utf2/euc move.Tim J. Robbins2003-11-151-2/+2
| | | | Notes: svn path=/head/; revision=122731
* Add GB2312 to the list of supported encodings. Cross-reference gb2312(5).Tim J. Robbins2003-11-081-1/+4
| | | | Notes: svn path=/head/; revision=122289
* Add gb2312 encoding.David Xu2003-11-051-0/+1
| | | | Notes: svn path=/head/; revision=122145
* #include <runetype.h> directly for the definition of _CACHED_RUNES, neededTim J. Robbins2003-09-051-0/+1
| | | | | | | | | by ldef.h, rather than relying on GCC-specific pollution from <ctype.h>. Noticed by: Stefan Farfeleder Notes: svn path=/head/; revision=119776
* Add GB18030 and GBK to the list of encodings. Cross-reference theTim J. Robbins2003-08-101-1/+10
| | | | | | | new manual pages for the Big5, GB18030, GBK, and MSKanji encodings. Notes: svn path=/head/; revision=118727