Commit Graph

6364 Commits

Author SHA1 Message Date
mycroft
d73e77b28c Update copyright notice. 2003-01-01 00:00:13 +00:00
sjg
32a3b241bf Treat an unquoted '#' as end of line when parsing conditionals.
This ensures that comments are ok at the end of line.

PR: 19596
Reviewed by: christos
2002-12-30 18:03:09 +00:00
kristerw
5fa174af73 Prevent the "kBps" field from overflowing for values > 1M/s.
From Paul Shupak in PR 18822.
2002-12-29 19:03:56 +00:00
seb
28089a8457 After discussion with lukem rename 's' option to 'O'.
Hopefully 's' option has been here only a couple of hours.
2002-12-29 18:42:49 +00:00
seb
da890ac594 Fix error message for option `F' when passed a bogus argument.
Actually activate option `F' in getopt's optstring.
Implement option `s' to specify output field separator string.

Approved by lukem.
2002-12-29 11:17:04 +00:00
mrg
c0f9ed084d - decode_int(): always use base 10, so that a time of "1:09" works.
- decode_time(): 60 seconds in a minute, really.
both from tsarna@netbsd.org.

- be verbose about the time we are going to record for, if verbose.
2002-12-27 23:43:15 +00:00
briggs
a35f350a48 Remove a duplicate bank holiday entry for 12/26. 2002-12-26 19:17:23 +00:00
jmmv
59978ac5c6 Fix typo: extra 'a' word in plural sentence. Approved by wiz. 2002-12-26 15:49:37 +00:00
jdolecek
63ae9a5e5f make function merge() static in msort.c
cosmetic change to how local variable is incremented (moved to for(;;))
2002-12-25 21:19:15 +00:00
jdolecek
642aec9a6f improve previous slightly - need >= (not just >) in CHECKFSTACK() 2002-12-24 15:15:01 +00:00
jdolecek
0f5341a33d max_o in struct tempfile needs to be off_t
use fseeko() rather than fseek() when changing file offset using max_o
2002-12-24 15:09:27 +00:00
jdolecek
fed8f4c4a6 put contents of extern.h directly to sort.h, and g/c extern.h
de-__P()
2002-12-24 15:02:46 +00:00
jdolecek
8852da41eb g/c many_files(), too 2002-12-24 14:58:57 +00:00
jdolecek
e296a59c79 bump 'soft' limit for number of files to hard limit on startup; we
want to be able to open as many temporary files as possible
2002-12-24 14:55:46 +00:00
jdolecek
b0a6f61876 make sure we don't attempt to write past end of fstack[], error out instead
this fixes second part ('tmpdir get smashed') of bin/18614 by Michael Graff
2002-12-24 14:43:37 +00:00
jdolecek
9208bb6e3a add extern definition for ncols and clist[] to sort.h, eliminate extra
definitions in init.c and field.c
g/c MAXMERGE
2002-12-24 13:20:25 +00:00
jdolecek
77d4ae97df move fltab outside main and make it static, eliminate two memset()s
g/c superfluous extern definition for clist[] and ncols
make toutpath[] static
2002-12-24 13:09:38 +00:00
jdolecek
b1eda372a4 simplify a bit (no need for separate 'char *path') 2002-12-23 20:14:26 +00:00
wiz
0065eb62cf Add a missing word. 2002-12-23 12:49:38 +00:00
lukem
08fab22988 DTRT with -D destdir when the target == destdir 2002-12-23 06:24:15 +00:00
lukem
30c6688fbd Implement '-e extra', as per svis(3)'s "extra" argument.
Document which vis(3) flag particular options enable (for easier cross
referencing between vis(1) and vis(3))
2002-12-23 01:45:54 +00:00
is
8da084abaa Actually return a different code for big-endian UTF-16 in looks_unicode().
Fixes PR 19487.
2002-12-22 16:31:21 +00:00
wiz
ea577b210e Debugging is usually spelled with three gs. 2002-12-22 13:50:35 +00:00
lukem
64fd31222b fix -E endian 2002-12-22 11:26:20 +00:00
lukem
47c5aec4fe document defaults 2002-12-22 11:22:49 +00:00
lukem
f766ef620d Implement '-D destdir'; if '-M metalog' is being used, remove a
leading `destdir' from the file name logged to the metalog.
The -D option has no effect on where the actual files are installed.
2002-12-22 10:15:17 +00:00
kleink
ac7290d7c2 Add a sysconf(3) knob for {ATEXIT_MAX}. 2002-12-19 23:31:54 +00:00
wiz
57f65f0dda Drop trailing whitespace. 2002-12-19 09:17:01 +00:00
lukem
c7c281222a Add '-N dbdir', to specify that user & group lookups are to be done from
dbdir/master.passwd and dbdir/group, using simple text file parsing
routines from ../../usr.sbin/mtree/getid.c.
2002-12-19 08:30:39 +00:00
wiz
7177b5877e Drop trailing whitespace, use Aq instead of Lt and Gt. 2002-12-18 20:16:48 +00:00
wiz
2e958b3f0b Bump date for some recent mach changes, fix two nits. 2002-12-18 20:10:37 +00:00
wiz
7490281b17 New sentence, new line; use more markup. 2002-12-18 19:57:05 +00:00
wiz
e93f0aaa95 Be consistent about putting commas between items in an enumeration. 2002-12-18 19:48:28 +00:00
martin
304244f5d7 Avoid integer overflow in percent calculation when facing a mbuf leak.
Fixes PR bin/19381 by Michael van Elst (slightly different than suggested).
2002-12-14 11:12:24 +00:00
atatat
88df2c4818 The -u option takes an argument, so we need the corresponding : in the
getopt() string.  Does no one use uvm histories any more, or does
everyone just dump all the histories?
2002-12-12 20:03:32 +00:00
lukem
5b7400f6ea some todo items 2002-12-11 14:33:15 +00:00
lukem
a3d56580b8 - set cachesize to 1MB (instead of default 2.5KB); greatly improves
performance on large imports
- remove unnecessary asserts
2002-12-11 14:30:53 +00:00
lukem
d182cf2f90 add db(1) 2002-12-11 13:52:41 +00:00
lukem
a8f67a8b25 db(1) - manipulate db(3)'s btree(3) and hash(3) databases 2002-12-11 13:40:42 +00:00
fvdl
d8ae1c92f7 Build this on x86_64. 2002-12-10 16:07:28 +00:00
manu
6492e2171f Added support for dumping mach messages in ktrace/kdump. While we are
there, KNFify a few functions.
2002-12-09 21:29:20 +00:00
scw
4df9ab06e4 Add evbppc. 2002-12-09 13:00:05 +00:00
gson
936f6a1c3c When JobExec() was called from JobRestartJobs() via JobRestart(), it
executed the make job with sigprocmask(SIG_BLOCK) in effect for a
number of signals including SIGCHLD.  This caused recursive submakes
of the make process in question not to receive SIGCHLDs when their
jobs exited.  This was a second, independent cause of bin/18895 in
addition to the race condition already fixed.  Fixed by unblocking all
signals before executing the job.
2002-12-09 01:23:53 +00:00
perry
43e55ca474 add qsubst
re-sort and re-format SUBDIRs
2002-12-08 21:50:36 +00:00
perry
101d2f766f Some KNF, via indent(1) and hand work. Still needs a lot of cleanup. 2002-12-08 21:29:27 +00:00
mrg
e7e34e98bb fix an error message 2002-12-08 10:49:22 +00:00
mrg
18c97a1496 remove some #if 0 debug code 2002-12-08 10:49:03 +00:00
mrg
be9dc1869d fix the description for "-p" to match reality, new text provided in PR#18949. 2002-12-08 10:00:12 +00:00
thorpej
8fb0e9f9e9 Include <string.h> for prototypes. 2002-12-06 03:27:39 +00:00
thorpej
7b3d93e318 Avoid a strict alias warning. 2002-12-06 03:24:42 +00:00