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