dwmalone
9f21a968eb
Don't use gcc specific flags.
2002-03-30 17:19:40 +00:00
dwmalone
aafb6b12f8
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
dwmalone
99e772806a
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
dwmalone
e1a6bcf77d
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
dwmalone
59fa66220e
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
dwmalone
938a0a2eb4
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
dwmalone
80fda637a4
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
dwmalone
122ad92646
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
dwmalone
abc20e723e
Don't use gcc specific flags.
2002-03-30 14:01:55 +00:00
dwmalone
0183b6670c
Change a "/*" within a comment to a "**".
...
Add a missing include spotted by gcc30.
2002-03-30 13:54:53 +00:00
dwmalone
0d14312af7
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
dwmalone
63e149f8f6
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
keramida
ef538de24e
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
obrien
0a4573eea0
Const what I could on a first pass.
2002-03-30 08:51:21 +00:00
joe
3f16f46fdb
Install libusbhid, and use it instead of libusb.
...
MFC after: 6 days
2002-03-28 18:44:25 +00:00
joe
10096ef6af
Use libusbhid.h instead of libusb.h.
2002-03-28 18:14:20 +00:00
ru
76cfac20d5
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
obrien
f4fef940b5
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
wollman
a1289429db
Use a slightly less obscure title than "file status".
2002-03-27 22:59:11 +00:00
ache
0701204aaa
Remove double SINGL_FLD and SEP_FLAG initialization
2002-03-27 22:41:01 +00:00
bde
c2a1e52896
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
charnier
833cdae906
Add myself.
2002-03-26 12:49:44 +00:00
charnier
86d3f6f7ce
Add FBSDID. Spelling. Remove unused includes. Check more malloc failures.
2002-03-26 12:39:08 +00:00
charnier
bcc2ba2661
Add FBSDID. Do not \n terminate err() strings. Spelling.
2002-03-26 12:26:59 +00:00
charnier
b3b51db2eb
Introduce flags enumeration with standard
...
``The following options are available''. Put filename under .Pa.
2002-03-26 12:15:31 +00:00
charnier
896929d2ba
Add FBSDID. Remove unused include. Getopt returns -1 not EOF.
2002-03-26 12:09:49 +00:00
charnier
7f9da3da3b
spelling
2002-03-26 12:05:35 +00:00
jmallett
7411e6685a
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
ru
9ff3e0dbcd
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
ache
693963da0d
Fix the case when high letters becomes missing from fold tables
...
for some locales
2002-03-25 16:06:12 +00:00
ache
e87761a7cf
Fix the case when record separator is 'Z' letter
...
Sense high spaces for -d option too
2002-03-25 15:49:07 +00:00
ache
9354df3c22
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
phk
432db57cce
Modernize my email address
2002-03-25 13:53:46 +00:00
mike
b1d120cfbf
Include <stdint.h> for definition of intmax_t and/or uintmax_t.
2002-03-25 05:23:45 +00:00
markm
ce8b8b8999
Add BSD sort to the build, now that GNU sort is gone.
2002-03-24 16:02:01 +00:00
markm
5fb54802b6
Make this compile on FreeBSD. Sort out VCS tags, fix warnings.
2002-03-24 15:59:17 +00:00
markm
522dc48a88
Fix warns, ANSIfy, use __FBSDID(), sort headers.
2002-03-24 10:21:22 +00:00
cjc
b598570f6b
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
imp
460e35953f
unifdef __STDC__
2002-03-23 23:37:07 +00:00
imp
d5c1fc899c
o unifdef -D__STDC__
...
o use ansi function definitions
o remove OLDSUN
2002-03-23 23:35:42 +00:00
imp
7eed3429c0
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
imp
7535c05549
unifdef -D__STDC__
2002-03-23 23:19:00 +00:00
markm
0dcefe7b55
Very simple fixes; WARNS and ANSIfy. Remove GCC-specific options from
...
Makefile.
2002-03-23 15:43:11 +00:00
markm
d644505a7d
Minor whitespace nit.
2002-03-23 15:20:45 +00:00
obrien
3662a2ea16
Use our auto-YACC'ing rules to do most of the work.
...
Submitted by: bde
2002-03-23 04:49:43 +00:00
ceri
dcf0ed4d8d
Add myself to the calendar.
2002-03-22 15:44:20 +00:00
markm
a5a6c4acc2
Null one-line entry to resurrect this from the Attic. The real commit
...
will follow.
2002-03-22 14:51:51 +00:00
markm
d5ba9b7cc5
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
markm
7406319bb4
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
imp
0b20191705
remove __P
2002-03-22 01:42:45 +00:00