Commit Graph

104 Commits

Author SHA1 Message Date
Warner Losh
b428ff6b67 follow style(9) more closely and list sys/types.h first after sys/defs.h.
Submitted by: max@
2008-01-01 10:04:10 +00:00
Warner Losh
ee4f10a0e0 Some systems need the types defined in sys/types.h, but lack the
sys/types.h polution  that FreeBSD  has in one  of its  include files.
Since  this  is  a  bootstrap  tool, include  more  than  is  strictly
necessary for FreeBSD.
2007-12-29 05:15:54 +00:00
Ruslan Ermilov
f682f10c76 Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
Ruslan Ermilov
edc431123e Make the format of LC_COLLATE files architecture independent. 2005-02-27 20:31:13 +00:00
Ruslan Ermilov
923d9b0109 Zero out the entire "struct __collate_st_chain_pri", or garbage
appears in LC_COLLATE files (due to alignment).  An alternative
would be to bump STR_LEN to 16.

(This is in preparation to make LC_COLLATE files architecture
independent.)
2005-02-27 14:05:38 +00:00
Ruslan Ermilov
6c7216df78 Sort sections. 2005-01-18 13:43:56 +00:00
Ruslan Ermilov
a866e17077 Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
Ruslan Ermilov
3c12a2e0d2 Markup nits. 2004-05-19 09:45:46 +00:00
Ruslan Ermilov
959d6c24f6 Get rid of duplicates. 2003-09-14 13:41:59 +00:00
Philippe Charnier
6d06b97c3b The .Fn function. Dot terminate sentences. Use .Bd/.Ed instead of .Ar to
emphasize examples of source definition file.
2003-09-07 14:33:07 +00:00
Ruslan Ermilov
06e482e60a mdoc(7) police: markup polishing.
Approved by:	re
2002-11-26 17:33:37 +00:00
Philippe Charnier
b94f6635c3 Normalize FILES section by using .Bl/.El enumerate. 2002-10-16 13:00:42 +00:00
Philippe Charnier
8a9d51c4f8 Test getopt() against -1 instead of EOF. 2002-10-16 12:56:22 +00:00
David Malone
b073168829 Avoid a signedness warning by casting chain_index to a size_t.
(Should be OK as chain_index is supposed to be positive).
2002-09-04 21:22:49 +00:00
Andrey A. Chernov
c9887a654b Switch to new format which allows unlimited numbers of chains and
usually saves 2K in both data file and program memory.
Updated libc required.
2002-08-31 01:48:56 +00:00
Andrey A. Chernov
3ce74edd70 Prepare for switching to unlimited chains format 2002-08-30 20:34:36 +00:00
Andrey A. Chernov
7f4fd84cf9 Tweak chain example to show more possibilities 2002-08-23 14:03:59 +00:00
Andrey A. Chernov
79458607f6 Allow chains in any form like <name1><name2> or \xf1\xf2, not binary
representation only.
2002-08-23 04:18:26 +00:00
Andrey A. Chernov
3b2d61780f Use proper #include 2002-08-14 11:59:57 +00:00
Andrey A. Chernov
02826007ca Add #undefs to separate local buffers declaration and now dinamic libc buffers 2002-08-14 11:51:26 +00:00
David Malone
b74c79078f ANSIify function definitions to avoid a warning.
PR:		38930
Submitted by:	keramida
2002-07-28 15:20:10 +00:00
Philippe Charnier
e8937ba009 Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
Ruslan Ermilov
c3e3cbe16e No longer needed to #ifdef __FBSDID, this is now handled by Makefile.inc1. 2002-04-09 11:39:05 +00:00
Mark Murray
e35f9517d6 Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
Mark Murray
91bd71d206 Remove leaf node WARNS?=2 (that mainly I added). This should
help the GCC3 transition and CURRENT in general.
2002-02-08 22:31:43 +00:00
John Baldwin
a4e5fd57ac Replace -I${.OBJDIR} with -I. and split the CFLAGS line up into two lines.
Requested by:	bde
2002-01-08 11:08:20 +00:00
John Baldwin
e2bac28d84 Use -I${.OBJDIR} -I${.CURDIR} rather than -I. so that this compiles in a
cross-build environment.
2002-01-08 08:13:23 +00:00
Warner Losh
bc505f7742 Only use __FBSDID if it is defined. This fixes the 4.4-release (but
not stable) -> current upgrade path.

Reviewed by: markm
2001-12-08 02:28:16 +00:00
Mark Murray
3945c68f93 WARNS=2 fixup.
Use __FBSDID().
Set NO_WERROR because this would rely on some lex(1) fixes that
cannot be committed yet.
2001-12-02 23:40:46 +00:00
Andrey A. Chernov
8b8722d2b2 Rewrite buffer handling code a bit to handle large values.
Add more checks for data overflow.
2001-11-28 09:50:24 +00:00
Andrey A. Chernov
99beb3fadf Increase internal buffer space 2001-11-28 09:26:57 +00:00
Andrey A. Chernov
d262b81bdb Add safeguard to prevent charmap symbol length overflowing 2001-11-27 23:39:14 +00:00
Andrey A. Chernov
1f23b5ad1a Move extern definitions to common.h
Increase charmap symbol length to 64
2001-11-27 23:11:05 +00:00
Maxim Sobolev
de853a38b8 Use strlcpy(3) instead of strcpy(3) to copy optarg into a fixed-size buffer.
MFC after:	2 weeks
2001-10-16 09:21:09 +00:00
Kris Kennaway
506d42c5b7 yyerror() is a printflike function
MFC after:	1 week
2001-07-24 12:20:17 +00:00
Ruslan Ermilov
c2d03ea879 Eliminate mdocNG warnings caused by misplaced or extraneous macro calls. 2001-02-28 17:38:53 +00:00
Ruslan Ermilov
d7b336c076 mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:47:53 +00:00
Kris Kennaway
da4cd46eac vsprintf() -> vsnprintf() 2000-11-26 08:14:55 +00:00
Ruslan Ermilov
8fe908ef0c mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
Ruslan Ermilov
251c176f41 mdoc(7) police: use certified section headers wherever possible. 2000-11-17 11:44:16 +00:00
Ruslan Ermilov
726b61ab5f Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
Sheldon Hearn
87faa07bec Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 12:20:22 +00:00
Andrey A. Chernov
a239d6697c Moved to share 1999-10-18 14:00:59 +00:00
Jordan K. Hubbard
0fe2cc8ec8 Remove one of the locales which is currently breaking the build. 1999-10-14 19:20:01 +00:00
Andrey A. Chernov
eea7efeb2f sv_SE collate
add one missing dependance

PR:		13928
Submitted by:	Palle Girgensohn <girgen@partitur.se>
1999-10-03 02:13:26 +00:00
Andrey A. Chernov
0c7899d082 ISO8859-5 collate
Submitted by:	 Nikolai Saoukh <nms@ethereal.ru>
1999-10-03 01:22:22 +00:00
Andrey A. Chernov
ae303f0b9e allow comments in map files 1999-10-03 01:21:33 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Foxfair Hu
c6570d1dc3 Change locale name of Traditional Chinese : zh_TW.BIG5 -> zh_TW.Big5.
It makes compatible with IANA charset defination, and let existent I18N
app happier.

Ref: <http://www.isi.edu/in-notes/iana/assignments/character-sets>
1999-06-08 02:25:19 +00:00
Julian Elischer
8759eb5c80 Support the IANA definition of Shift Jis nameley ja_JP.Shift_JIS
as well as the X11 version ja_JP.SJIS
1999-06-05 03:04:03 +00:00