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