summaryrefslogtreecommitdiff
path: root/usr.bin/gencat
AgeCommit message (Collapse)Author
2018-07-28Use An -nosplit. Use Mt. Fix some mandoc lint.wiz
2013-11-27Use LIST_FOREACH, LIST_NEXT, etc., instead of direct access toapb
the internals of queue.h structs.
2012-03-09Improve the handling of quoted messages.ginsbach
- warn about messages with an unexpected quote character - warn about extra characters after a quote character - warn about an unterminated quoted message
2011-12-29Make usage() match man page.wiz
2011-12-29Make msgfile optional like other OS'schristos
2011-09-21PR/45385: Henning Petersen: Swapped arguments in lseekchristos
2011-09-04static + __deadjoerg
2009-07-13Rename internal getline() function to get_line() so it doesroy
conflict with the soon to be added getline(3) libc function.
2009-04-16Fix build problem on big endian ports where ntohl() doesn't convert thetron
argument to "uint32_t" automatically.
2009-04-14Enable WARNS=4 by default for usr.bin, except for:lukem
awk bdes checknr compile_et error gss hxtool kgetcred kinit klist ldd less lex locale login m4 man menuc mk_cmds mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh string2key telnet tn3270 verify_krb5_conf xlint
2009-04-12fix sign-compare issueslukem
2009-03-09Fix preamble to match order set out by mdoc(7). Discussed with wiz.joerg
2009-02-18- long -> size_tchristos
- don't allocate memory before the negative check is done CID 4722
2008-11-04Change for standards compliance:ginsbach
- Store an empty string in the catalog when the message text is empty an a <blank> (space or tab) field separator is present. Standards: The Open Group Base Specifications Issue 6 IEEE Std 1003.1, 2004 Edition
2008-10-19Spelling and whitespace and punctuation nits.wiz
2008-10-17More or less a complete rewrite. The man page now better matches reality.ginsbach
2008-10-17WARNS=3ginsbach
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2007-11-21Changes for standards compliance:ginsbach
- Accept "-" for msgfile (STDIN) and catfile (STDOUT) - Merge msgfile into formatted catfile. The catfile is created if it does not exist (current behavior). If the catfile exists, its messages are included in the new catfile. Collisions between set and message numbers cause the msgfile message text to replace the existing message text. (The $delset directive now makes more sense.) Standards: The Open Group Base Specifications Issue 6 IEEE Std 1003.1, 2004 Edition - Replace corrupt()/nomem() with errx(). The replaced routines called local error() -> warning() which prints an input file line number. This probably makes no sense for these conditions (it is not a syntax error in msgfile). Line numbers are completely nonsense when dealing with reading a formatted catfile. - Modify warning() to only print line number when reading from a message file. Also print the current file being processed. - Don't issue a warning when processing a line with only a message number and no trailing space. This is valid and will delete any existing message with that number from the current set. - Reset lineno for each msgfile processed.
2007-10-11More code clean up (KNF): de-__P and ANSI'ify function declarationsginsbach
2007-10-10- add const qualifiers where necessaryginsbach
- remove unnecessary argument from error(); first argument was always NULL [changes mostly from FreeBSD]
2007-10-06Changes for standards compliance:ginsbach
- "If no $set directive is specified in a message text source file, all messages shall be located in an implementation-defined default message set NL_SETD." - The n argument to $delset indicates the set number which should be in the range 1 to NL_SETMAX. Standards: The Open Group Base Specifications Issue 6 IEEE Std 1003.1, 2004 Edition
2006-03-30MCDelSet() contains an infinite loop!dsl
I suspect it has never, ever, ever been asked to delete anything that exists. Also neither it, nor MCDelMsg() below free() the set and msg structures. Found by Coverty SID:54
2004-01-05Homogenize usage messages: make the 'usage' word all lowercase, as this seemsjmmv
to be the most common practice in our tree.
2003-10-27Overhaul how `build.sh tools' are used:lukem
* Rename "config.h" to "nbtool_config.h" and HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H. This makes in more obvious in the source when we're using tools/compat/config.h versus "standard autoconf" config.h * Consistently move the inclusion of nbtool_config.h to before <sys/cdefs.h> so that the former can provide __RCSID() (et al), and there's no need to protect those macros any more. These changes should make it easier to "tool-ify" a program by adding: #if HAVE_NBTOOL_CONFIG_H #include "nbtool_config.h" #endif to the top of the source files (for the general case).
2003-05-18Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),lukem
there's no need to special-case .include-ing it.
2003-05-02Xref nls(7). Addresses PR#14576.gmcgarry
2003-02-14The correct capitalisation of 'NetBSD.org' is (yougrant
guessed it) 'NetBSD.org'. some mdoc fixes.
2003-02-05Improve Xrefs. Give credit to the real author.gmcgarry
2002-04-24... and in NetBSD-current, <netinet/in.h> needs <sys/types.h>.bjh21
2002-04-24On NetBSD, <arpa/inet.h> needs <netinet/in.h>. POSIX-2001 says it shouldn't,bjh21
but cope anyway.
2002-04-24Include <arpa/inet.h> to get htonl(). This is necessary on Solaris, andbjh21
POSIX says that's the right header for it.
2002-02-03Text expanding the NLS abbreviation added per PR 14576.fair
2002-01-31Roll in fixes to permit cross-compiling from non-NetBSD hosts. Thistv
round has been tested on Solaris/x86 and Linux hosts. * Add host tools cap_mkdb, ctags, m4, uudecode. * Protect __RCSID() and __COPYRIGHT() better. * Reduce the number of places that need to include "config.h", to keep sources closer to their "vanilla" versions. * Add more compat #defines and autoconf-checked functions.
2002-01-29Make almost all tools compile and run properly on non-NetBSD hosts. (Intv
particular, most tools now run correctly on Solaris 7.)
2001-09-23enable checking limit of setid and msgid.yamt
2001-09-20fix possible 1-byte overflow.yamt
2001-08-14Add hooks to allow toolchain bits to be reachover-built at the top level.tv
2001-06-05Minor fixes.wiz
2001-04-09Add RCS Id, and one whitespace fix.wiz
2001-02-19convert to use getprogname()cgd
1999-12-29Use:cgd
.Sh SEE ALSO rather than: .Sh "SEE ALSO" The former is the correct form, and it makes a (barely persceptible) difference in formatting for some output devices (e.g. 'ps').
1999-12-21A gencat(1) manual page, which satisfies PR 4749fair
1999-02-13convert from NOxxx= to MKxxx=no.lukem
include <bsd.own.mk> if testing a MKxxx variable.
1998-10-09The range of the argument of ctype(3) functions is not that of "char",itohy
but "unsigned char" plus EOF. The original code may cause troubles processing 8-bit code files.
1998-04-28Clean up some quote handlingmjacob
1997-10-19WARNSifylukem
1997-10-08Fix tipo inherited from old version of TNF copyright template.jtc
1997-02-09RCS id police.veego
1997-02-09Add missing ;veego
Fix pr #3201.