summaryrefslogtreecommitdiffstats
path: root/usr.bin/mklocale
Commit message (Collapse)AuthorAgeFilesLines
* Work around build breakages with GCC 4.2.jkim2013-05-231-0/+2
| | | | Reported by: tinderbox
* Add the Clang specific -Wmissing-variable-declarations to WARNS=6.ed2013-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@
* Fix world after byacc import:bapt2012-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)
* Minor mdoc nits.joel2012-05-131-1/+1
|
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-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
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-1/+0
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* ANSIfy almost all applications that use WARNS=6.ed2009-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.
* Revert most part of 200420 as requested, as more review and polish isdelphij2009-12-131-0/+1
| | | | needed.
* Remove unneeded header includes from usr.bin/ except contributed code.delphij2009-12-111-1/+0
| | | | Tested with: make universe
* Make mklocale work again, now that fwrite()'s return codes are different.ed2009-07-141-2/+2
| | | | | Submitted by: Navdeep Parhar <nparhar gmail com> Approved by: re (kib)
* Understand newly introduced "ASCII" encodingache2008-01-222-0/+3
|
* - Include runefile.h for _CACHED_RUNESrafan2007-11-071-0/+1
|
* Use NULL instead of 0 for the return value of fopen().kevlo2007-09-211-1/+1
| | | | Approved by: re (kensmith)
* getopt(3) returns -1, not EOF.kevlo2007-02-061-1/+1
|
* Make <runefile.h> internal to libc.ru2005-05-162-2/+2
| | | | Suggested by: phantom
* Make the format of LC_CTYPE files architecture independent byru2005-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.)
* Fixed xref.ru2005-01-211-1/+1
|
* Sort sections.ru2005-01-181-4/+4
|
* Remove the obsolete <rune.h> interface.tjr2004-10-171-2/+0
|
* Use <runetype.h> instead of <rune.h> since the latter is going away.tjr2004-10-171-2/+2
|
* Remove explicit support for generating LC_CTYPE data files that specifytjr2004-10-172-8/+1
| | | | the obsolete "UTF2" encoding.
* The UTF2 encoding and the INVALID keyword are now obsolete.tjr2004-08-211-3/+3
|
* Deal with double whitespace.ru2004-07-031-1/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-021-3/+6
|
* Prefix the names of members of _RuneLocale and its sub-structurestjr2004-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.
* Fix section number in cross reference.tjr2004-01-231-1/+1
|
* Update cross references after utf2/euc move.tjr2003-11-151-2/+2
|
* Add GB2312 to the list of supported encodings. Cross-reference gb2312(5).tjr2003-11-081-1/+4
|
* Add gb2312 encoding.davidxu2003-11-051-0/+1
|
* #include <runetype.h> directly for the definition of _CACHED_RUNES, neededtjr2003-09-051-0/+1
| | | | | | by ldef.h, rather than relying on GCC-specific pollution from <ctype.h>. Noticed by: Stefan Farfeleder
* Add GB18030 and GBK to the list of encodings. Cross-reference thetjr2003-08-101-1/+10
| | | | new manual pages for the Big5, GB18030, GBK, and MSKanji encodings.
* Allow GB18030 localeache2003-07-291-0/+1
|
* Bump WARNS to 6. Add usage(). Use provided xmalloc() instead of malloc().charnier2003-06-173-57/+45
| | | | Use err().
* Change fatal to warnx() for unknown encodingache2003-06-031-4/+2
|
* Hardcore supported encodings listache2003-06-021-1/+11
|
* english(4) police.schweikh2002-12-271-1/+1
|
* Mark the INVALID keyword as being deprecated since the concept oftjr2002-12-212-1/+5
| | | | "invalid runes" is useless without the rest of the deprecated rune interface.
* mdoc(7) police: markup polishing.ru2002-11-261-10/+10
| | | | Approved by: re
* Use more verbose diagnostics for wrong DIGIT rangeache2002-10-201-5/+5
|
* Add checks for DIGIT set consistency to prevent common misinterpretationache2002-10-201-11/+53
| | | | | | automatically. Remove output file on error. Staticize functions declared as static.
* Add Big5, MSKanji and UTF-8 to the list of supported encodings.tjr2002-10-141-10/+29
| | | | Mark UTF2 as being deprecated.
* Document SWIDTH*ache2002-08-201-0/+12
|
* Add swidth definitions and lex code to mklocalekeichii2002-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
* WARNS=4alfred2002-07-142-4/+2
|
* WARNS=2, de-__P()alfred2002-07-142-3/+4
|
* Declarations cleanup; make sure externs are in a common header.markm2002-04-283-9/+72
| | | | Fix declarations, casts and return values.
* Usage style sweep: spell "usage" with a small 'u'.des2002-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}/.
* o Move NTOHL() and associated macros into <sys/param.h>. These aremike2002-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
* Initialize fp in main()peter2001-08-131-1/+2
|
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
OpenPOWER on IntegriCloud