aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/mklocale
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Allow GB18030 localeAndrey A. Chernov2003-07-291-0/+1
| | | | Notes: svn path=/head/; revision=118147
* Bump WARNS to 6. Add usage(). Use provided xmalloc() instead of malloc().Philippe Charnier2003-06-173-57/+45
| | | | | | | Use err(). Notes: svn path=/head/; revision=116502
* Change fatal to warnx() for unknown encodingAndrey A. Chernov2003-06-031-4/+2
| | | | Notes: svn path=/head/; revision=115776
* Hardcore supported encodings listAndrey A. Chernov2003-06-021-1/+11
| | | | Notes: svn path=/head/; revision=115722
* english(4) police.Jens Schweikhardt2002-12-271-1/+1
| | | | Notes: svn path=/head/; revision=108317
* Mark the INVALID keyword as being deprecated since the concept ofTim J. Robbins2002-12-212-1/+5
| | | | | | | "invalid runes" is useless without the rest of the deprecated rune interface. Notes: svn path=/head/; revision=108158
* mdoc(7) police: markup polishing.Ruslan Ermilov2002-11-261-10/+10
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107276
* Use more verbose diagnostics for wrong DIGIT rangeAndrey A. Chernov2002-10-201-5/+5
| | | | Notes: svn path=/head/; revision=105589
* Add checks for DIGIT set consistency to prevent common misinterpretationAndrey A. Chernov2002-10-201-11/+53
| | | | | | | | | automatically. Remove output file on error. Staticize functions declared as static. Notes: svn path=/head/; revision=105548
* Add Big5, MSKanji and UTF-8 to the list of supported encodings.Tim J. Robbins2002-10-141-10/+29
| | | | | | | Mark UTF2 as being deprecated. Notes: svn path=/head/; revision=105072
* Document SWIDTH*Andrey A. Chernov2002-08-201-0/+12
| | | | Notes: svn path=/head/; revision=102186
* Add swidth definitions and lex code to mklocaleMichael C . Wu2002-08-161-0/+4
| | | | | | | | | | | | After adding swidth support in iswctype.c and ctype.h Submitted by: clkao@clkao.org Reviewed by: keichii,ache Obtained from: NetBSD MFC after: 1 month Notes: svn path=/head/; revision=101986
* WARNS=4Alfred Perlstein2002-07-142-4/+2
| | | | Notes: svn path=/head/; revision=99984
* WARNS=2, de-__P()Alfred Perlstein2002-07-142-3/+4
| | | | Notes: svn path=/head/; revision=99982
* Declarations cleanup; make sure externs are in a common header.Mark Murray2002-04-283-9/+72
| | | | | | | Fix declarations, casts and return values. Notes: svn path=/head/; revision=95643
* Usage style sweep: spell "usage" with a small 'u'.Dag-Erling Smørgrav2002-04-221-1/+1
| | | | | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/. Notes: svn path=/head/; revision=95258
* o Move NTOHL() and associated macros into <sys/param.h>. These areMike Barcroft2002-02-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland. Tested on: alpha, i386 Reviewed by: bde, jake, tmm Notes: svn path=/head/; revision=90868
* Initialize fp in main()Peter Wemm2001-08-131-1/+2
| | | | Notes: svn path=/head/; revision=81606
* Remove whitespace at EOL.Dima Dorfman2001-07-151-2/+2
| | | | Notes: svn path=/head/; revision=79755
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+0
| | | | Notes: svn path=/head/; revision=74848
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-3/+3
| | | | Notes: svn path=/head/; revision=71895
* Change the spelling of `.' to `.' from .OBJDIR since `.' really is whereDavid E. O'Brien2000-12-051-1/+1
| | | | | | | generated files land. Also give precedence to generated files. Notes: svn path=/head/; revision=69640
* Grrr... GCC 2.95.2 and 2.96 just will not agree what the default includeDavid E. O'Brien2000-12-011-1/+1
| | | | | | | search paths are. So add the requirements of both. :-( Notes: svn path=/head/; revision=69489
* The GCC 2.96 snapshots have slightly different rules for finding includeDavid E. O'Brien2000-12-011-1/+1
| | | | | | | | | | files. Mostly -I${.CURDIR} was needed -- especially for YACC generated files as the new cpp does not look in the ultimate source file (ie, the .y file)'s directory as told by the "#line" directive. Some were misspellings of "-I${.CURDIR}" as "-I.". Notes: svn path=/head/; revision=69453