summaryrefslogtreecommitdiffstats
path: root/usr.bin/gencat
Commit message (Collapse)AuthorAgeFilesLines
* mdoc: drop redundant .Pp and .LP callsuqs2010-10-081-1/+0
| | | | They have no effect when coming in pairs, or before .Bl/.Bd
* The NetBSD Foundation has granted permission to remove clause 3 and 4imp2010-02-161-7/+0
| | | | | | from their software. Obtained from: NetBSD
* 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-291-1/+1
| | | | | | | 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.
* Although the file has "ex:ts=4", do some " " -> \t translationsedwin2009-11-121-23/+23
| | | | so that it is also nicely readable with ts=8.
* Our bsd.*.mk only supports 6 WARNS levels and we should not use higher valuesjohan2005-06-301-1/+1
| | | | | | until it does. Approved by: re (dwhite)
* Fix build on sparc64.ru2005-02-271-2/+2
|
* Remove unused now stuff, also set WARNS to 8phantom2005-02-273-898/+1
|
* Bring in NetBSD's improvements and cleanups to NLS subsystem, makingphantom2005-02-271-123/+708
| | | | | | | | | | | | | | | | | | | | | | | | it type and endian clean. Also following changes were done: . Remove of outdated support for generating of include files for NLS catalogs being generated. . Integrate my old code optimizations . ANSI'fy prototypes . Remove duplicate defines, and cleanup includes . Remove first (unused) argument from error() function . Const'ify (gencat now WARNS=8 clean) . Convert corrupt() and nomem() functions to macros . Add *temporary* note what '-new' command line argument is deprecated now (instead of exiting with error message) WARNING: format of generated .cat files is changed! XXX: re-add support for *updating* of .cat files, NetBSD has this functionality disabled Obtained from: NetBSD (mostly)
* Avoid unconditional increasing of variable leading to SIGSEGV, if req'dphantom2005-02-011-1/+1
| | | | parameter for -lang is missing.
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Deal with double whitespace.ru2004-07-031-1/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-021-15/+30
|
* Check NULL pointer to avoid SIGSEGVdavidxu2002-12-241-1/+2
|
* Use mkstemp(3) to avoid /tmp race.tjr2002-05-291-4/+4
|
* Add FBSDID. Spelling. Remove unused includes. Check more malloc failures.charnier2002-03-263-10/+12
|
* * Don't SEGFAULT on attempt to write nothing (if no source files werephantom2002-02-131-1/+4
| | | | | | | specified) * Don't print currline if it's NULL MFC after: 3 days
* Remove leaf node WARNS?=2 (that mainly I added). This shouldmarkm2002-02-081-1/+0
| | | | help the GCC3 transition and CURRENT in general.
* Fix grammar in AUTHORS section.dd2001-11-231-2/+2
|
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-151-4/+2
|
* can not -> cannotsheldonh2001-08-081-1/+1
|
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
* Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$dd2001-06-301-0/+1
| | | | | | where necessary. Submitted by: Mike Barcroft <mike@q9media.com>
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+2
| | | | | | builtins (e.g., exit). Submitted by: Mike Barcroft <mike@q9media.com>
* Optimize gencat(1) sources in same manner as its libc part some time ago:phantom2001-02-083-299/+151
| | | | | | | | | | | | | | | . remove SYSV compatibility bits . sort #include's . ifdef unused code . cleanup BDECFLAGS warnings . fixed few typos in diagnostics messages . style(9) fixes as part of this cleanup I have changed all K&R declarations to ANSI style. Main reason for doing that was great mix of declarations used here - clean ASNI , clean K&R, ifdef'ed (both). Reviewed by: ache (mostly)
* mdoc(7) police: do not split author names in the AUTHORS section.ru2000-11-221-2/+3
|
* Fix octal numbers parsingache2000-07-151-0/+3
| | | | | PR: 19950 Submitted by: Alexey Klimov <klim@unique.kiev.ua>
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Various man page cleanup:mpp1999-08-151-2/+2
| | | | | | | | | - Sort xrefs - Be consistent with section names as outlines in mdoc(7). - Other misc mdoc cleanup. PR: doc/13144 Submitted by: Alexey M. Zelkin <phantom@cris.net>
* More egcs warning fixes:imp1999-04-251-1/+2
| | | | | | | | | | o main returns int not void o use return 0 at end of main when needed o use braces to avoid potentially ambiguous else o don't default to type int o #ifdef 0 -> #if 0 Reviewed by: obrien and chuckr
* Updated gencat(1) page from T. Lambert:jkoshy1998-11-181-16/+132
| | | | | | | | | | | | "Here is a new gencat(1) man page. It contains examples and information not in the current man page (e.g., file format) per the X/Open documentation. It also updates some aspects of the X/Open documentation (e.g., the X/Open document neglects to say how to embed a $quote character into a string)." Submitted by: Terry Lambert <tlambert@primenet.com> Review and small corrections by: jkoshy
* Fixed printf format errors.bde1998-08-021-3/+3
|
* Add (unsigned char) cast to ctype macrosache1998-04-301-12/+12
|
* Install gencat.1 manpage.wosch1997-09-142-2/+63
| | | | Obtained from: OpenBSD.
* Use err(3), remove unused variables.charnier1997-07-082-68/+40
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Add \' to valid escapes list to be compatible with printfache1996-12-151-0/+4
| | | | 2.2 candidate
* Accept escaped quotes in msg catalogs.jkh1995-08-261-0/+4
|
* Fix lseek arg by including unistd.hache1995-06-172-1/+2
|
* Remove trailing whitespace.rgrimes1995-05-303-37/+37
|
* Add the gencat command for creating message catalog fodder for the newjkh1995-03-304-0/+1258
catgets* routines. Obtained from: NetBSD
OpenPOWER on IntegriCloud