Commit Graph

5075 Commits

Author SHA1 Message Date
Jeff Roberson
6f2671750e Remove malloc_type's ks_limit.
Updated the kmemzones logic such that the ks_size bitmap can be used as an
index into it to report the size of the zone used.

Create the kern.malloc sysctl which replaces the kvm mechanism to report
similar data.  This will provide an easy place for statistics aggregation if
malloc_type statistics become per cpu data.

Add some code ifdef'd under MALLOC_PROFILING to facilitate a tool for sizing
the malloc buckets.
2002-04-15 04:05:53 +00:00
Dag-Erling Smørgrav
5f0ae68a18 PAMified passwd(1). Some NIS-related issues remain to be solved, but this
should work for everyday use.

Sponsored by:	DARPA, NAI Labs
2002-04-15 03:02:57 +00:00
Dag-Erling Smørgrav
a2fefc8d1d Skip zombies. Add an option (-z) to revert to the historical behaviour
of trying to kill zombies (which has no effect except emit a few error
messages)
2002-04-14 22:25:57 +00:00
David E. O'Brien
75a778e9f8 Back out rev 1.17, it breaks dependencies.
With rev 1.7 one cannot build src/bin/sh -- because make fails to create
the buildtools before trying to use them.  Actually it does compile the
buildtools into .o's before trying to use them, but not all the way into
binaries.
2002-04-14 04:15:34 +00:00
David E. O'Brien
6f98638581 Clean up the 1/2 a** committing from Thu, 3 May 2001 11:05:39 -0700 (PDT).
Since then we have living with a GPL'ed find(1) due to grabbing getdate.y
from src/contrib/cvs and its user of the GPL'ed xtime.h.  I don't even want
to think about how this could have affected people using our source base.

Would it have been too much trouble to do then what I did now?
Copied getdate.y (public domain) to usr.bin/find and change to use
standard system headers.  find(1) now compiles simply with out having
to go to extra effort to do so.

Pointed hat to:	phk
Build fixed on:	gcc 3.1 using platforms
2002-04-14 01:30:20 +00:00
Dag-Erling Smørgrav
839316e581 Remove bogus dependency on rlogin. 2002-04-13 23:31:27 +00:00
David Malone
3cd2a58926 Warns cleanups:
1) Add missing initialisers.
2) Avoid shadowing rcswhich.
3) Use intmax_t and %j for printing rather than quad_t and %q.
4) Don't modify a variable twice between sequence points.
2002-04-13 21:28:17 +00:00
David Malone
72c7c2e625 Remove previously unneeded and now incorrect cast of user_from_uid()
to a char *.
Fix up vendor ID.
2002-04-13 21:09:55 +00:00
David Malone
13685eeec2 Fix up vendor IDs.
Put a sequence point between writing to a variable and using it.
2002-04-13 20:59:48 +00:00
David E. O'Brien
ade4ded301 Revision 1.17 seems to break a subsequent buildworld (i.e. with the new
make installed) in gnu/usr.bin/groff/src/preproc/eqn (which, being a
build tool itself, is built with the original make during buildworld).

The problem seems to be that in str_concat(), the string is not
terminated when the length of the second string is 0.
This apparently can happen during null suffix rule processing.

Submitted by:	tmm
2002-04-13 19:36:47 +00:00
David Malone
8da9a6b0c5 Add some constness to make this WARNS clean again. 2002-04-13 18:38:16 +00:00
David E. O'Brien
79f407f91e Fix a minor lint warning. 2002-04-13 12:20:51 +00:00
David E. O'Brien
664a5a88d4 Prefer BSDmakefile over makefile and Makefile.
Submitted by:	jmallett
Obtained from:	OpenBSD
2002-04-13 12:18:00 +00:00
David E. O'Brien
9b24805230 Fix copyrights, and undo SCS ID damage. 2002-04-13 10:57:56 +00:00
Jeroen Ruigrok van der Werven
e2cf520799 Fix a missed conversion of lld to llu for the uint64_t ks_calls and cast
to unsigned long long.

Don't be too overzealous with the printing of ks_calls in the total
statistics, cut back from 20 to 13 positions to print (which should last
a couple of years easily (20 digits is enough for 3168 years of calls at a
measly billion (10^9) calls per second.)).

Submitted by:	bde
2002-04-13 10:32:36 +00:00
David E. O'Brien
4d1f4209a6 Update SCM ID method. 2002-04-13 10:17:18 +00:00
David E. O'Brien
302d0b1426 Make str_concat handle NULL arguments properly (a-la how ODE-2.3.6 make does).
Submitted by:	jmallett
Inspired by:	CMU BUILDTOOLS4 coredumping, ODE-2.3.6 make(1)
2002-04-13 10:13:39 +00:00
David E. O'Brien
a59e308cd7 De'register. 2002-04-13 10:05:30 +00:00
David E. O'Brien
46f905209d Constify str_concat()
Submitted by:	jmallett
2002-04-13 09:49:33 +00:00
David E. O'Brien
da363cd56a Check to make sure fdopen() succeeds in make(1).
Submitted by:	jmallett
Inspired by:	NetBSD
2002-04-13 09:10:07 +00:00
Philippe Charnier
5bf3fd2b9c Do not print error message twice. 2002-04-12 21:36:54 +00:00
Philippe Charnier
91966d21ff .Ar filename ... is equivalent to .Ar. 2002-04-12 21:31:24 +00:00
Philippe Charnier
4ed27a6f0a Replace err() with errx(), errno is garbage in this context. 2002-04-12 21:25:16 +00:00
Philippe Charnier
17de5908ce Reduce the number of spelling mistakes. 2002-04-12 21:18:05 +00:00
Maxim Sobolev
efaed24f7d Fix an ages-old bug in sed(1), which resulted in the absolutely valid
substitution expressions in the form `s,[fooexp],[barexp],;...' treated
as invalid when the third `,' is (_POSIX2_LINE_MAX * N)-th character in
the line.

MFC after:	2 weeks
2002-04-12 19:46:05 +00:00
Ruslan Ermilov
733bc9072b Revert last change, to be revisited later. 2002-04-12 16:50:52 +00:00
Philippe Charnier
2cafd1dca7 Un.Ar makefile. The add of .Ar was part of my last commit.
Asked by:	ru
2002-04-12 16:05:53 +00:00
Philippe Charnier
cb497d661f Reorder #include. Cast arg #2 of lseek to an off_t when constant. No need to
test if failsafe memory allocation fails, it can't. perror -> warn. Use
failsafe memory allocation provided.

Use .Pa and .Ar. Uppercase (first letter) programname after dot.
2002-04-12 13:23:33 +00:00
Philippe Charnier
7151087354 Make `make WARNS=3' succeed, notably, use %d to printf daddr_t value.
Use `.Nm Ns .' instead of `.Nm .' Add FBSDID. Do not put spaces inside []
in usage string.
2002-04-12 13:16:04 +00:00
Philippe Charnier
20c58ba5f7 Document that only superuser can use -c option. Add FBSDID. Make use of uid_t
to silent lint. fprintf -> err conversion. Add some FALLTHROUGH and NOTREACHED
comment to silent lint.
2002-04-12 13:11:42 +00:00
Philippe Charnier
4b952f84cb Add FBSDID. Do not put spaces inside [] in usage string. Test memory allocation
return code. Correct and update C example in man page. Uppercase program name
(.Nm) after a dot.
2002-04-12 13:08:00 +00:00
Ruslan Ermilov
f5a331218f Temporarily unconnect "doscmd" from build until I can fix
its broken Makefile.  The breakage is now fatal after the
bsd.prog.mk,v 1.109 change.
2002-04-12 11:22:44 +00:00
Hajimu UMEMOTO
4dac6235cf IPv6 support for tftp/tftpd.
Obtained from:	KAME
MFC after:	2 weeks
2002-04-11 17:14:22 +00:00
Ruslan Ermilov
b2490f915f I now don't seem to be able to reproduce the -DNOCLEAN buildworld
breakage with ioctl.c.  The .depend file should track dependencies
just fine, and the worst we can have is to miss new ioctls.

But I still think it's a good idea to have -DNOCLEAN build produce
the same ioctl.c as it would without -DNOCLEAN.

Prodded for a long time by:	bde
2002-04-11 14:49:32 +00:00
Tom Rhodes
a8d50686f5 find.1 does not encourage users to DTRT when piping to xargs(1)
PR:			36602
Submitted by:		Joshua Goodall <joshua@roughtrade.net>
No objections from:	ru
MFC after:		2 days
2002-04-10 16:39:22 +00:00
Maxim Konovalov
8143906680 o Fix an arguments number check in -n case.
o Remove duplicated prio check, donice() makes it for us.

Spotted by:	David Schultz <dschultz@uclink.Berkeley.EDU>
MFC after:	1 week
2002-04-10 13:38:09 +00:00
Maxim Konovalov
d006e72a51 Implement POSIX -n option, cleanup an arguments parsing a bit.
PR:		bin/34076, bin/35929
Reviewed by:	bde
Obtained from:	NetBSD
MFC after:	1 week
2002-04-10 11:09:46 +00:00
Maxim Konovalov
d9db58c9dc style(9) cleanup.
Reviewed by:	bde
MFC after:	1 week
2002-04-10 10:59:19 +00:00
David E. O'Brien
259b7fa9b9 Style. 2002-04-10 03:10:03 +00:00
David E. O'Brien
17026331d6 Quiet uninitialized warnings. 2002-04-10 03:00:50 +00:00
Tom Rhodes
3e4d070b93 compress(1) has an erroneous description of zcat, fixed.
PR:	36453
No objections from:	ru
2002-04-09 20:40:24 +00:00
Bosko Milekic
e5f7f97622 Introduce NO_RCMNDS flag so as to not compile rsh, rlogin, and rcp on will,
and document in share/examples/etc/make.conf

Submitted by: Aleksandar Simic <asimic@dsl.pipex.com>
MFC after: 1 week
2002-04-09 18:25:44 +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
Ruslan Ermilov
8b04285f30 Style. 2002-04-09 07:05:24 +00:00
Ruslan Ermilov
498e32cef0 Make this compile in a standalone environment.
Tidy up CLEANFILES.
Use built-in rules for building "maketab".
2002-04-09 07:03:32 +00:00
Jeroen Ruigrok van der Werven
9e74ac9de4 Cast totreq to unsigned long long, as needed on 64-bit machines.
Pointed out by:	jeff
2002-04-08 21:06:14 +00:00
Andrey A. Chernov
9af48ddfd9 Remove it in favour of GNU sort 2002-04-08 20:50:12 +00:00
Andrey A. Chernov
00dfed40da Disconnect sort 2002-04-08 20:44:36 +00:00
David E. O'Brien
28def05c25 Some things don't compile on ia64 and sparc64 yet. 2002-04-08 20:36:39 +00:00
Ruslan Ermilov
f2f306b622 Align for const poisoning in -lutil. 2002-04-08 11:07:51 +00:00
Jeroen Ruigrok van der Werven
9333bd2aa6 Change totreq to uint64_t from a long (the PR has an int64_t, which didn't
make sense to me) and change the printf argument from %8ld to %20llu to
accompany the printing of the totals.
Realigned the header printed above it as well.

PR:		32342
Submitted by:	ryan beasley <ryanb@goddamnbastard.org>
Reviewed by:	jeff, Tim J Robbins
2002-04-08 10:39:12 +00:00
Murray Stokely
b77b9b9a90 GCC 3.1 cleanup - add a break after default: at the end of a switch
statement.
2002-04-08 08:34:00 +00:00
Ruslan Ermilov
ff9ed61c93 FreeBSD prior to 4.4-RELEASE and older versions of 5.0-CURRENT do
not have setprogname(3) and getprogname(3), and we need to build
lint(1) as a cross-tool to bootstrap.  Versions from lib/libc/gen
can't be compiled either.

PR:		bin/36747
2002-04-07 16:53:47 +00:00
Peter Wemm
e3bcba7879 Later versions of gcc object very strongly to the -C flag being passed
as -CC.  It makes no difference to gcc in the tree, but this change is
necessary for gcc-3.1 to work.
2002-04-07 06:28:38 +00:00
Juli Mallett
ae17860040 Fix sed(1) in the case where a last line is specified and hold space is not
specified, and then the first part of the pattern space is deleted, when
there are two or more input lines, as this results in subtraction of one from
an unsigned integral value of '0'.  That bogus value is used in one case
for a loop (that will run far too many times in this case) and a function to
search for a value within a specified range of memory, however now the range
of memory is obscenely large and a segmentation fault will occur.  This is
fixed by checking for and appropriately handling a nil pattern space as if
the specified search in memory failed, as indeed it obviously will with nil
pattern space.

Submitted by:	Tim J. Robbins <tim@robbins.dropbear.id.au>
PR:		bin/34813
Reviewed by:	mike
MFC after:	1 day
2002-04-07 02:29:56 +00:00
David E. O'Brien
12b1cc8f72 Use the new features of cdefs.h. 2002-04-06 21:09:31 +00:00
David E. O'Brien
528b02ffd0 Fix style. 2002-04-06 21:03:33 +00:00
Andrey A. Chernov
50cd73c1a7 Remove old sort files to _actually_ build it from contrib sources
Forgotten by: des
2002-04-06 20:22:06 +00:00
Dag-Erling Smørgrav
22b3e77111 Rename a couple of local variables to avoid warnings.
Sponsored by:	DARPA, NAI Labs
2002-04-06 19:04:22 +00:00
Dag-Erling Smørgrav
aa5619ca9e Build a working version of sort(1) from contrib. Use netbsd.h as a hack
to avoid bringing the sources off the vendor branch just to #ifdef out
the RCS and SCCS IDs.
2002-04-06 13:59:43 +00:00
Ruslan Ermilov
ad3253f2ff Print IFT_ETHER addresses with ether_ntoa(3) (with leading zeros). 2002-04-06 10:02:20 +00:00
Peter Wemm
12aee77ec8 Exclude xlint for ia64. For the time being, there are enough gcc
dependencies in the machine/* headers to make it explode when -U__GNUC__
is specified by lint.  Not to mention that lint is passing undocumented
(illegal?) args to cpp and that seems to upset gcc-3.1 now.
Specifically, -Wp,-CC.  -Wp,-C is documented and legal though.
2002-04-06 05:51:59 +00:00
Andrey A. Chernov
f04106fa13 style(9) cosmetique of my changes 2002-04-06 00:40:19 +00:00
Andrey A. Chernov
11bb39259c Add note about double-character letters like "ss" into BUGS section
Reviewed by:	Mike DeGraw-Bertsch <mbertsch@radioactivedata.org>
2002-04-05 19:29:05 +00:00
Juli Mallett
acf9afb7a3 Fix sed(1) behaviour for 'G' when given null holdspace by making sure it
contains a \n.

PR:		misc/26153
Submitted by:	ashp
Reviewed by:	mike
Obtained from:	NetBSD
MFC after:	2 days
2002-04-05 05:40:20 +00:00
David E. O'Brien
dd78e49935 Revert the "tell the program name in diagnostics". What was I thinking??
warnx() already does this for us.
2002-04-05 03:21:41 +00:00
David E. O'Brien
2c7178b5fc Minor reordering of declarations to reduce diffs to OpenBSD/NetBSD. 2002-04-04 22:25:04 +00:00
David E. O'Brien
cdef1605ae Allow to compile errorlessly with GCC 3.1. 2002-04-04 22:15:56 +00:00
David E. O'Brien
653bbe6003 Fix signal race.
Use strlen() rather than magic number.
Use _PATH_TMP.

Obtained from:	OpenBSD rev 1.13 (sig race) & rev 1.9 (strlen)
2002-04-04 22:15:13 +00:00
David E. O'Brien
7a285819e3 Revert revision 1.3. This is WARNS=4 clean w/o it and it only increases
the diffs to Open/NetBSD.
2002-04-04 22:10:23 +00:00
David E. O'Brien
ff28a75fed Fix style regression introduced in rev 1.11 during a WARNS cleanup. 2002-04-04 21:59:10 +00:00
Andrey A. Chernov
9a0cf5fedb Cast ctype macros char arg to u_char to prevent sign extension 2002-04-04 21:55:44 +00:00
David E. O'Brien
947ba7d8b9 Add STANDARDS, ENVIRONMENT, and TABLES sections.
Obtained from:	OpenBSD
2002-04-04 21:31:03 +00:00
David E. O'Brien
daab8c603e Minor word smithing. 2002-04-04 21:24:19 +00:00
David E. O'Brien
a6fc4226b5 Follow suit with OpenBSD and NetBSD and tell the program name in diagnostics. 2002-04-04 21:09:06 +00:00
David E. O'Brien
96b0ad0ef3 Follow suit with OpenBSD and NetBSD and tell the program name in diagnostics. 2002-04-04 20:58:27 +00:00
Andrey A. Chernov
4b97a93ad9 For -n use decimal point from locale 2002-04-04 20:54:44 +00:00
Andrey A. Chernov
b412ae253b Remove __P 2002-04-04 19:18:58 +00:00
Andrey A. Chernov
bdc1a7c486 Implement collating sort 2002-04-04 14:10:02 +00:00
Andrey A. Chernov
a27495e795 Fix to handle REC_D > 127 and fold case sorting of high letters
(linear sorting still assumed, no collating support yet).
2002-04-03 01:39:26 +00:00
Mark Murray
48d09ba63f There is breakage in parsedate, so revert to get_date until this can be
resolved.

Reported by:	paul
2002-04-02 10:45:34 +00:00
Juli Mallett
51b0534f6b Fix find -exec with no command specified (i.e.: find . -exec ';')
PR:		bin/36521
Submitted by:	Simon 'corecode' Schubert <corecode@corecode.ath.cx>
Reviewed by:	mike
MFC after:	3 days
2002-04-02 07:20:56 +00:00
Jake Burkholder
ed7a104f02 Connect ktrdump to the build. <cringe>. 2002-04-02 04:28:57 +00:00
Jake Burkholder
458e81c958 Add a man page.
Submitted by:	davidc
2002-04-02 04:26:37 +00:00
Jake Burkholder
d93b1f83cb 1. Add missing include of stdint.h.
2. Fix reversed arguments to strcpy.

Noticed by:	davidc (2)
2002-04-02 04:24:59 +00:00
Norikatsu Shigemura
875bb961c9 Add myself.
Reviewed by:	knu (mentor)
2002-04-02 03:16:50 +00:00
David E. O'Brien
3077469e0c Fix SCM IDs. 2002-04-01 22:56:56 +00:00
David E. O'Brien
3fa1df42da Allow to compile a YACC produced file with GCC 3.1 (which has different
header searching rules for generated files with #line).
2002-04-01 22:55:01 +00:00
Giorgos Keramidas
7e7f3df61d Run find.1 through ispell.
PR:		docs/36601
Submitted by:	Joshua Goodall <joshua@roughtrade.net>
MFC after:	3 days
2002-04-01 12:41:14 +00:00
David Malone
9bd5ae8568 1) Use FBSDID for vendor string.
2) Change an int for a size_t, as that's what it is mainly used for.
3) Add some braces to keep gcc happy.
2002-04-01 11:06:00 +00:00
David Malone
450435a11d Don't use gcc specific flags. 2002-04-01 10:54:11 +00:00
David Malone
ebdb213b72 1) Clean up vendor and ID strings.
2) include stdlib.h for atoi.
3) staticise and constify.
4) add some missing prototypes.
5) add some parens to keep gcc happy.
2002-04-01 10:49:11 +00:00
David Malone
4a213d4ae9 Const the code. 2002-04-01 10:45:09 +00:00
Jake Burkholder
be6ba83abd ktrdump is a utility to dump the ktr trace buffer from userland. It can
also be run on a core dump.
2002-04-01 05:41:13 +00:00
Andrey A. Chernov
f23d8c713d Uncomment now implemented part of -d description 2002-03-31 20:18:35 +00:00
Andrey A. Chernov
cac2ce40ff Remove \n from __COPYRIGHT to shut assembler warning 2002-03-31 20:11:10 +00:00
Juli Mallett
032b32ada6 Add P1003.1-2001 -f and -p options.
PR:		standards/36243
Submitted by:	Tim J. Robbins <tim@robbins.dropbear.id.au>
Reviewed by:	mike
MFC after:	2 weeks
2002-03-31 18:44:36 +00:00
David Malone
a9a1c4a6d5 Don't use gcc specific flags. 2002-03-30 17:19:40 +00:00
David Malone
4001504df5 1) Staticise.
2) Remove registers.
3) Change some ints to size_t which are used with fread/fwrite.
2002-03-30 17:17:26 +00:00
David Malone
8c7e769852 1) Const enough things to avoid warnings.
2) Cast ifdef_level to a size_t before comparing it to a ratio of size_ts.
   Ifdef_level should always be positive.
3) Complete prototype for chfont.
4) Cast some ptrdiff_ts to ints before using as a field width.
5) Avoid shadowing a local variable p with another local variable p.
2002-03-30 17:10:20 +00:00
David Malone
76e46948d7 1) Add missing prototypes for fmt_perm and cvt_time.
2) Move a break outside a #if block to keep gcc3 from seeing a "default:"
   at the end of a block.
3) Fix some format warnings. Some remain which can be fixed more easily
   when we have a full C99 printf.
2002-03-30 16:46:04 +00:00
David Malone
fb757ee269 Use the method described in the strtol man page to check if it parsed
the entire string.  This avoids signed/unsigned comparison.
2002-03-30 16:24:03 +00:00
David Malone
4d09bd65bd Fix vendor ID.
Make usage message match the man page. (Missing -o, -h doesn't depend on -d).

PR:		36470
Submitted by:	Gary W. Swearingen <swear@blarg.net>
MFC after:	1 week
2002-03-30 14:32:07 +00:00
David Malone
6dfc206096 Clean up vendor ID and FBSDID.
We now seem to include <arpa/inet.h> to get ntoh*.
2002-03-30 14:18:15 +00:00
David Malone
27d57ea9bf Fix constness warnings.
Remove register keyword.
Don't initialise "badtype" in declaration - it was initialised below anyway.
Remove prototype for strcpy.
2002-03-30 14:03:53 +00:00
David Malone
abda1f5e3c Don't use gcc specific flags. 2002-03-30 14:01:55 +00:00
David Malone
b68d192c3a Change a "/*" within a comment to a "**".
Add a missing include spotted by gcc30.
2002-03-30 13:54:53 +00:00
David Malone
6a8074206f Mark some parameters as unused.
Make more code depend on '#ifndef NO_X' so we don't get unused warnings
when compiling without X.
2002-03-30 13:51:40 +00:00
David Malone
afa6d859f0 Minor post warns stuff.
1) Fix up vendor IDs for files I'm touching and put FBSDID in the right place.
2) Cast return value of snprintf to size_t rather than casting sizeof() to
   an int, 'cos we know snprintf returns a non-genative number.
3) Avoid 'char *blank = "";' by just strduping. This could be bad sometimes,
   but all these variables usually point at malloced memory so this makes
   them always point at malloced memory.
2002-03-30 13:44:45 +00:00
Giorgos Keramidas
997f6e03b8 Fix a few typos.
as a user ID -> has a user ID
	command constitutes of -> command consists of

PR:		misc/36523
Submitted by:	Chris Pepper <pepper@mail.rockefeller.edu>
MFC after:	3 days
2002-03-30 11:47:18 +00:00
David E. O'Brien
9c94900122 Const what I could on a first pass. 2002-03-30 08:51:21 +00:00
Josef Karthauser
7b8cfc5217 Install libusbhid, and use it instead of libusb.
MFC after:	6 days
2002-03-28 18:44:25 +00:00
Josef Karthauser
e2d8b54630 Use libusbhid.h instead of libusb.h. 2002-03-28 18:14:20 +00:00
Ruslan Ermilov
c86f28d27b Back out rev. 1.6 (NOLIB bootstrap helper) OBE'd by Makefile.inc1,v 1.96.
PR:		bin/36417
Submitted by:	Eugene Grosbein <eugen@www.svzserv.kemerovo.su>
2002-03-28 10:53:49 +00:00
David E. O'Brien
5d5aa91800 Utility to create a.out [kernels] from an ELF one.
This is needed on sparc64 (and maybe all OpenFirmware based machines) as
most [all?] OpenBoot PROM's require either an a.out or FCode boot image.

Submitted by:	jake
2002-03-28 02:17:27 +00:00
Garrett Wollman
90eca7b640 Use a slightly less obscure title than "file status". 2002-03-27 22:59:11 +00:00
Andrey A. Chernov
903163a139 Remove double SINGL_FLD and SEP_FLAG initialization 2002-03-27 22:41:01 +00:00
Bruce Evans
05eb035898 Restored the part of 1.45 that was clobbered in rev.1.46:
#include <sys/time.h> instead of depending on namespace pollution in
<sys/stat.h> for the declaration of struct timeval.
2002-03-27 02:23:18 +00:00
Philippe Charnier
70f8353a04 Add myself. 2002-03-26 12:49:44 +00:00
Philippe Charnier
3a8d2936c6 Add FBSDID. Spelling. Remove unused includes. Check more malloc failures. 2002-03-26 12:39:08 +00:00
Philippe Charnier
ed68d15dcc Add FBSDID. Do not \n terminate err() strings. Spelling. 2002-03-26 12:26:59 +00:00
Philippe Charnier
33c70aa5f7 Introduce flags enumeration with standard
``The following options are available''. Put filename under .Pa.
2002-03-26 12:15:31 +00:00
Philippe Charnier
15baa31aad Add FBSDID. Remove unused include. Getopt returns -1 not EOF. 2002-03-26 12:09:49 +00:00
Philippe Charnier
9725a7b97a spelling 2002-03-26 12:05:35 +00:00
Juli Mallett
dcd587c927 Support -o 0 in join(1) as per SUS.
PR:		36072
Submitted by:	Tim J. Robbins <tim@robbins.dropbear.id.au>
Reviewed by:	mike
2002-03-26 03:44:04 +00:00
Ruslan Ermilov
4de06a8fe6 Back out revision 1.13 (addition of ipfilter includes). A proper
fix for the relevant world breakage was later committed in revision
1.20, and this now breaks -DNO_IPFILTER world.
2002-03-25 19:12:05 +00:00
Andrey A. Chernov
565d58edd2 Fix the case when high letters becomes missing from fold tables
for some locales
2002-03-25 16:06:12 +00:00
Andrey A. Chernov
d0708a4e88 Fix the case when record separator is 'Z' letter
Sense high spaces for -d option too
2002-03-25 15:49:07 +00:00
Andrey A. Chernov
3c1a6de57e Remove double REC_D assignment
Cast REC_D optarg assignment to (u_char) to prevent out of bounds indexing
2002-03-25 14:22:31 +00:00
Poul-Henning Kamp
06229ad2af Modernize my email address 2002-03-25 13:53:46 +00:00
Mike Barcroft
0ec63e60db Include <stdint.h> for definition of intmax_t and/or uintmax_t. 2002-03-25 05:23:45 +00:00
Mark Murray
a2e0c81e66 Add BSD sort to the build, now that GNU sort is gone. 2002-03-24 16:02:01 +00:00
Mark Murray
e58067e0f2 Make this compile on FreeBSD. Sort out VCS tags, fix warnings. 2002-03-24 15:59:17 +00:00
Mark Murray
5ea7337834 Fix warns, ANSIfy, use __FBSDID(), sort headers. 2002-03-24 10:21:22 +00:00
Crist J. Clark
61c26786cf Fix a style(9) error. Put the vendor version control string back in.
I nuked it when I added the $FreeBSD$ tag.
2002-03-24 01:41:11 +00:00
Warner Losh
bbf5c743d2 unifdef __STDC__ 2002-03-23 23:37:07 +00:00
Warner Losh
55e031a3c8 o unifdef -D__STDC__
o use ansi function definitions
o remove OLDSUN
2002-03-23 23:35:42 +00:00
Warner Losh
c120448ada o unifdef -D__STDC__
o remove badly bit-rotted compat file that likely won't work on the systems
  it purports to support.
2002-03-23 23:30:30 +00:00
Warner Losh
7ddea7b836 unifdef -D__STDC__ 2002-03-23 23:19:00 +00:00
Mark Murray
ed86ca364b Very simple fixes; WARNS and ANSIfy. Remove GCC-specific options from
Makefile.
2002-03-23 15:43:11 +00:00
Mark Murray
ed74761863 Minor whitespace nit. 2002-03-23 15:20:45 +00:00
David E. O'Brien
2fe5bfd7a1 Use our auto-YACC'ing rules to do most of the work.
Submitted by:	bde
2002-03-23 04:49:43 +00:00
Ceri Davies
23186fc1dd Add myself to the calendar. 2002-03-22 15:44:20 +00:00
Mark Murray
363a07cc69 Null one-line entry to resurrect this from the Attic. The real commit
will follow.
2002-03-22 14:51:51 +00:00
Mark Murray
3c3f11563a This commit was generated by cvs2svn to compensate for changes in r92948,
which included commits to RCS files with non-trunk default branches.
2002-03-22 13:54:24 +00:00
Mark Murray
7a0a395027 Vendor import NETBSD's sort(1). This will be a replacement for
our GNU sort, as discussed 6 months or more ago.
2002-03-22 13:54:24 +00:00
Warner Losh
3f330d7d1a remove __P 2002-03-22 01:42:45 +00:00
Warner Losh
d3cb5ded92 remove __P 2002-03-22 01:33:25 +00:00
Warner Losh
f1bb2cd2aa remove __P 2002-03-22 01:22:50 +00:00
Mark Murray
2a66bf165b Restructure for own parsedate (replacement for get_date from CVS).
Fix up parsedate.y for WARNS=4.

Reviewd by:	bde (except for parsedate.y diffs)
2002-03-21 21:56:05 +00:00