History log of /freebsd-10.0-release/usr.bin/gencat/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


241737 19-Oct-2012 ed

More -Wmissing-variable-declarations fixes.

In addition to adding `static' where possible:

- bin/date: Move `retval' into extern.h to make it visible to date.c.
- bin/ed: Move globally used variables into ed.h.
- sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings.
- usr.bin/calendar: Remove unneeded variables.
- usr.bin/chat: Make `line' local instead of global.
- usr.bin/elfdump: Comment out unneeded function.
- usr.bin/rlogin: Use _Noreturn instead of __dead2.
- usr.bin/tset: Pull `Ospeed' into extern.h.
- usr.sbin/mfiutil: Put global variables in mfiutil.h.
- usr.sbin/pkg: Remove unused `os_corres'.
- usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.


231816 16-Feb-2012 eadler

Removed unused code: fixes compiler warning with CC=gcc46
error: parameter 'fd' set but not used

Approved by: cperciva
MFC after: 1 week


213573 08-Oct-2010 uqs

mdoc: drop redundant .Pp and .LP calls

They have no effect when coming in pairs, or before .Bl/.Bd


203971 16-Feb-2010 imp

The NetBSD Foundation has granted permission to remove clause 3 and 4
from their software.

Obtained from: NetBSD


201386 02-Jan-2010 ed

Build usr.bin/ with WARNS=6 by default.

Also add some missing $FreeBSD$ to keep svn happy.


201227 29-Dec-2009 ed

ANSIfy almost all applications that use WARNS=6.

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.


199236 12-Nov-2009 edwin

Although the file has "ex:ts=4", do some " " -> \t translations
so that it is also nicely readable with ts=8.


147694 30-Jun-2005 johan

Our bsd.*.mk only supports 6 WARNS levels and we should not use higher values
until it does.

Approved by: re (dwhite)


142684 27-Feb-2005 ru

Fix build on sparc64.


142663 27-Feb-2005 phantom

Remove unused now stuff, also set WARNS to 8


142662 27-Feb-2005 phantom

Bring in NetBSD's improvements and cleanups to NLS subsystem, making
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)


141117 01-Feb-2005 phantom

Avoid unconditional increasing of variable leading to SIGSEGV, if req'd
parameter for -lang is missing.


140368 17-Jan-2005 ru

Added the EXIT STATUS section where appropriate.


131507 03-Jul-2004 ru

Deal with double whitespace.


131491 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


108254 24-Dec-2002 davidxu

Check NULL pointer to avoid SIGSEGV


97460 29-May-2002 tjr

Use mkstemp(3) to avoid /tmp race.


93218 26-Mar-2002 charnier

Add FBSDID. Spelling. Remove unused includes. Check more malloc failures.


90609 13-Feb-2002 phantom

* Don't SEGFAULT on attempt to write nothing (if no source files were
specified)
* Don't print currline if it's NULL

MFC after: 3 days


90415 08-Feb-2002 markm

Remove leaf node WARNS?=2 (that mainly I added). This should
help the GCC3 transition and CURRENT in general.


86823 23-Nov-2001 dd

Fix grammar in AUTHORS section.


81687 15-Aug-2001 ru

mdoc(7) police: utilize the new .Ex macro.


81298 08-Aug-2001 sheldonh

can not -> cannot


79755 15-Jul-2001 dd

Remove whitespace at EOL.


79011 30-Jun-2001 dd

Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$
where necessary.

Submitted by: Mike Barcroft <mike@q9media.com>


78717 24-Jun-2001 dd

Include missing header files which define functions for which gcc has
builtins (e.g., exit).

Submitted by: Mike Barcroft <mike@q9media.com>


72164 08-Feb-2001 phantom

Optimize gencat(1) sources in same manner as its libc part some time ago:

. 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)


69027 22-Nov-2000 ru

mdoc(7) police: do not split author names in the AUTHORS section.


63227 15-Jul-2000 ache

Fix octal numbers parsing

PR: 19950
Submitted by: Alexey Klimov <klim@unique.kiev.ua>


50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


49823 15-Aug-1999 mpp

Various man page cleanup:

- 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>


46081 25-Apr-1999 imp

More egcs warning fixes:
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


41234 18-Nov-1998 jkoshy

Updated gencat(1) page from T. Lambert:
"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


38022 02-Aug-1998 bde

Fixed printf format errors.


35547 30-Apr-1998 ache

Add (unsigned char) cast to ctype macros


29411 14-Sep-1997 wosch

Install gencat.1 manpage.

Obtained from: OpenBSD.


27274 08-Jul-1997 charnier

Use err(3), remove unused variables.


23012 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

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.


20541 15-Dec-1996 ache

Add \' to valid escapes list to be compatible with printf

2.2 candidate


10340 26-Aug-1995 jkh

Accept escaped quotes in msg catalogs.


9251 17-Jun-1995 ache

Fix lseek arg by including unistd.h


8874 30-May-1995 rgrimes

Remove trailing whitespace.


7496 30-Mar-1995 jkh

Add the gencat command for creating message catalog fodder for the new
catgets* routines.
Obtained from: NetBSD