christos
bef3a7f735
don't mess with suffix rules.
2003-03-21 19:14:53 +00:00
sjg
9db7e8cb6d
Missed a s/tn->name/pref/
2003-03-21 16:48:21 +00:00
sjg
0220f09cfc
Add ParseDoSpecialSrc() to handle srcs that refer to ${.TARGET} etc.
...
These are expanded for each target (set in its own context) and
ParseDoSrc() is then called for the expanded src.
PR: 20828
Reviewed by: christos
2003-03-21 15:52:57 +00:00
jdolecek
8e730a41f8
this builds with WARNS=2
2003-03-20 16:15:28 +00:00
jdolecek
8cf8af1c13
get rid of one memmove() (not very significant)
...
remove ()'s from error messages
move some error checks immediatelly after appropriate realloc() calls
2003-03-20 16:13:03 +00:00
christos
2bdc2add9c
PR/20818: Martin Husemann: Split does not handle >= 2G files.
2003-03-20 14:12:49 +00:00
dsl
9be8ac5294
Alternative pid/proc allocater, removes all searches associated with pid
...
lookup and allocation, and any dependency on NPROC or MAXUSERS.
NO_PID changed to -1 (and renamed NO_PGID) to remove artificial limit
on PID_MAX.
As discussed on tech-kern.
2003-03-19 11:36:32 +00:00
fvdl
083af7aab4
Back out rev 1.43 for now, it seems to create some new problems (see
...
the sysinst Makefile).
2003-03-18 01:30:54 +00:00
jdolecek
9fe8da698b
we really don't need to print random stack garbage on the end of dump
2003-03-16 09:59:09 +00:00
jdolecek
75f054650f
constify ptrace_ops[]
2003-03-16 09:44:25 +00:00
wiz
5606e5cc70
Correct spelling of "specification". From PR 20717 by Igor Sobrado.
2003-03-15 19:18:41 +00:00
christos
be6d6ca02b
PR/18984: John Heasley: telnet spins on dead tty
2003-03-15 04:48:22 +00:00
lukem
d8108972ba
add dependency on sigdesc.h to commands.c
2003-03-14 22:56:14 +00:00
thorpej
c5007c219b
Add a -X option, which prevents make(1) from putting variables
...
set on the command line into the environment individually. This
can be useful on systems which have a tight limit on the size
of the argument space.
2003-03-14 05:19:43 +00:00
thorpej
deff8aa15f
__APPLE__ has <stdint.h>, too.
2003-03-14 04:34:27 +00:00
he
275c432125
Make this compile again. Cast char variable to int before comparing
...
> 0x7f, so that this gives the same result for machines with signed
and unsigned char.
2003-03-13 20:49:11 +00:00
thorpej
213cc4baf9
Don't do the madvise(2) call if __APPLE__. Even though madvise(2)
...
exists on Mac OS X, and we pass valid arguments, the call always
results in EINVAL, and the warning annoys me.
2003-03-13 18:23:02 +00:00
mjl
79ea3ffca9
Fix handling of control and non-ascii charachters. Print a space
...
instead of what happens to be at that position (out of bounds)
in the char array. Prompted by OpenBSD PR/3147.
2003-03-13 12:13:43 +00:00
mjl
15e3b4e9bf
Correct handling of empty arguments as reported in OpenBSD PR/3146.
...
While there use strlcpy instead of strncpy and STDOUT_FILENO instead of 1.
2003-03-13 11:57:23 +00:00
augustss
177beb544c
Two more __RCSID checks that I missed.
2003-03-12 18:32:51 +00:00
augustss
c8e6437c5e
More tests if __RCSID is defined.
2003-03-12 18:26:32 +00:00
augustss
a24a8f129a
Do the defined(__RCSID) song and dance to enable cross compilation.
2003-03-12 16:46:33 +00:00
tshiozak
5e62671b2f
changes for cross build on FreeBSD box.
...
- rename some macros and types defined in runetype.h.
- move declarations of some global symbols to rune.h from runetype.h.
- make sure the target sources use rune.h and mklocale use runetype.h.
I tested them on FreeBSD-4.6.2 box (./build.sh -m i386 tools).
2003-03-11 17:23:07 +00:00
tshiozak
4f31053655
rename _CTYPE_x to _RUNETYPE_x for avoiding compile error on FreeBSD.
2003-03-10 21:18:50 +00:00
tshiozak
75e29ba505
some changes around mklocale:
...
- clean up cpp directives.
- stop including rune.h from mklocale.
- stop using _BSD_RUNE_T macro. instead, use int32_t directly in runetype.h.
- move _DEFAULT_INVALID_RUNE to runetype.h.
These were for historical reason on porting rune from FreeBSD,
but it seems that these are no longer reasonable but troublesome
under the current NetBSD build system.
additionally:
- runetype.h -> locale/runetype.h in mklocale, because this might conflict
to FreeBSD's one.
2003-03-10 20:41:29 +00:00
tshiozak
947243ba1e
revoke using PRIu32 macro and add fallback for UINT32_C macro,
...
because these do not exist on rather older systems.
XXX: I wonder someone will add them to tools/compat.
2003-03-10 09:37:04 +00:00
lukem
8bfad4ad7a
Use sleep(1) instead of usleep(1000000) to sleep for a second, since
...
usleep() doesn't support an argument >= 1000000.
Problem noted & fix provided in [bin/20644] from Dave Huang.
2003-03-10 08:04:15 +00:00
grant
7d55c4c504
fix a bogus error message when given a HTTP URL with a trailing
...
slash.
2003-03-07 08:13:48 +00:00
thorpej
ae754e0c76
Make hexdump a host tool.
2003-03-07 01:14:30 +00:00
jrf
c93c016461
Patch from PR 12304 submitted by Matthias Buelow mkb@moghedien.mayn.de.
...
Patch reviewed by Itojun itojun@netbsd.org .
2003-03-05 01:10:46 +00:00
tshiozak
498e0550aa
use UINT32_C and PRIu32 macros instead of 0x...U and %u.
2003-03-03 08:49:15 +00:00
tshiozak
8bc967f427
sync with the last change of runetype.h; %ld -> %u.
2003-03-03 08:30:21 +00:00
wiz
b96edb2bae
Bump date for RMID support. New sentence, new line.
2003-03-03 07:22:58 +00:00
wiz
2bc4fd781d
Sync usage with options; sort option string; handle N instead of
...
non-existing U option.
2003-03-03 07:18:37 +00:00
wiz
5f20c96d59
Bump date. Sort options, sort SEE ALSO.
2003-03-03 07:17:35 +00:00
itojun
424153ef69
TF_PROTO1/2 mixup. from itou makoto
2003-03-02 01:59:06 +00:00
enami
3d76616fbe
No need to invoke the make command so many times. It can handle all
...
the target specified in command line.
2003-03-01 08:36:05 +00:00
thorpej
3640957b38
If the NetBSD version note looks reasonable, parse it and display the
...
info.
2003-02-28 18:24:58 +00:00
lukem
c84f3c0dd2
crank dates
2003-02-28 09:54:51 +00:00
lukem
e7d3948066
crank version
2003-02-28 09:54:20 +00:00
lukem
a44810ddeb
Crank dates on TNF copyright.
...
Remove UCB & WIDE copyrights; the progressbar functionality was
written entirely by me under the TNF copyright.
2003-02-28 09:53:49 +00:00
matt
1800f61318
#undef TYPE(a) is not legal. Change to #undef TYPE /*(a)*/
2003-02-28 05:49:42 +00:00
matt
80623b55d4
Remove unused printf argument.
2003-02-28 05:48:58 +00:00
matt
ef69aa80b5
Add missing include
2003-02-28 05:48:25 +00:00
lukem
7106b560a6
add a cast to appease SUNWspro cc. noted by grant@
2003-02-28 04:06:55 +00:00
enami
acf5c11cc1
Don't use uninitialized variable.
2003-02-27 08:07:14 +00:00
atatat
6d45c1cd99
Clean up code in places, add some more (possible) submap names, make
...
better use of the submap names when dumping the kernel map, clean up
the "interface" between the main and LOCKDEBUG dependent pmap modules,
and make the heap identification work better.
2003-02-27 04:10:36 +00:00
christos
0d2dc54013
keep track of the two proc entries significant to the utmp entry. The one
...
indicated by the pid in struct utmpx [or ftpd hack], and the one that is
associated with the controlling tty, is in the foreground process group,
and has most cpu. If the second one exists, use that one, else use the first
one.
2003-02-26 19:10:28 +00:00
fredb
1709947012
Print the command in parenthesis, if kvm_getargv2() returns no
...
arguments. This lets "xterm -e command" display as "(command)".
Reviewed by christos.
2003-02-26 19:01:54 +00:00
christos
3a6ece1341
don't trust sizes comming in from the elf file.
2003-02-26 18:36:24 +00:00
christos
e8ec3465f7
make this compile
2003-02-26 18:35:42 +00:00
christos
d85507235b
fix a memory allocation issue.
2003-02-26 18:31:21 +00:00
christos
8399be1bba
keep track which entries are utmp and which are utmpx, so we can print
...
them on the stale message.
2003-02-26 15:04:10 +00:00
christos
c7d4de107a
- Remove SUPPORT_FTPD_UTMP flag. Enable it only for utmp entries, utmpx does
...
not need it since it can get the pid from the utmpx structure.
- If the line is not found, and the pid is present (from utmpx) use that to
determine the process information for that particular entry.
2003-02-26 15:01:09 +00:00
sjg
cc9d340ac8
Add -B to MAKEFLAGS so that it propagates to sub-makes.
...
This allows one to use -j1 -B at some point in a tree to
overcome a -jN (which is the main reason one would use -B).
2003-02-26 08:59:12 +00:00
matt
65e5548a17
Add MBUFTRACE kernel option.
...
Do a little mbuf rework while here. Change all uses of MGET*(*, M_WAIT, *)
to m_get*(M_WAIT, *). These are not performance critical and making them
call m_get saves considerable space. Add m_clget analogue of MCLGET and
make corresponding change for M_WAIT uses.
Modify netinet, gem, fxp, tulip, nfs to support MBUFTRACE.
Begin to change netstat to use sysctl.
2003-02-26 06:31:08 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
dsl
a5f7364038
Fix the output of NUL bytes within %b formats.
...
(Approved by Christos)
2003-02-24 14:42:27 +00:00
dsl
9f46bb077a
Create subwins that end one line from the bottom of the screen even
...
after the window is resized.
2003-02-24 10:10:00 +00:00
jhawk
c3ac22a6a8
markup: the ";" for -exec, -ok, and -execdir is a seperate word from
...
the last argument
2003-02-23 20:01:31 +00:00
jhawk
93fccbf4ba
eleminate forward decl of 'struct stat'
2003-02-23 14:43:25 +00:00
jhawk
d44b698645
delint: trailing commas in enum definitions are prohibitted
...
knf: instantiate macros with #define<TAB>, not <SPACE>, and also align.
2003-02-23 14:41:30 +00:00
atatat
87437f0b78
Oops. Missed some possible UVM_ET_IS*() macro uses.
2003-02-23 01:08:29 +00:00
atatat
fb9b07a6a7
Properly print the VM_MAP_TOPDOWN flag if it is set, document the
...
VM_MAP_TOPDOWN flag (and the VM_MAP_DYING flag, since it never got
documented before), minor tweak to one of the examples, and use the
UVM_ET_IS*() macros instead of doing the same work manually.
2003-02-22 17:45:04 +00:00
atatat
ebe81c7ec3
Fix the sample output in one of the examples
2003-02-21 18:50:10 +00:00
jmmv
7eda74b7a6
Add missing dot to the `-' option. Ok'ed by wiz.
2003-02-21 11:17:50 +00:00
simonb
81dc935e33
Show the last "track" as the start of the lead-out area instead of a
...
bogus track number. Remove a magic number and (slightly) simplify the
TOC entry display function a little.
2003-02-19 12:55:58 +00:00
perry
b88a15cf9c
Add some missing voids.
2003-02-18 19:21:33 +00:00
msaitoh
f81acfd9b4
The name of the working directory for each prog is converted by "s/-/_/".
...
The directory list to be removed (i.e. make clean) has to be set with
the converted name.
2003-02-18 18:12:07 +00:00
dsl
34e0475375
Pivot the disk stats into extra lines if they run out of columns
...
(approved by christos)
2003-02-18 14:55:05 +00:00
dsl
c4ccc4eaf4
Fiddle with screen layout to generate room for longer labels on the
...
interrupt count fields.
(approved by christos)
2003-02-17 19:30:33 +00:00
augustss
34592076d4
Make it play RMID files as well. From bin/20388, Quentin Garnier.
2003-02-17 18:00:27 +00:00
christos
8475773db1
Add wtmpx support.
2003-02-17 15:08:57 +00:00
christos
46a5ddc0d3
fix static length variables.
2003-02-17 13:56:28 +00:00
wiz
8653efef97
Describe class field correctly. Addresses PR 20370 by Pavel Cahyna.
2003-02-16 16:18:23 +00:00
grant
2ceb845887
The correct capitalisation of 'NetBSD.org' is (you
...
guessed it) 'NetBSD.org'.
some mdoc fixes.
2003-02-14 15:59:16 +00:00
bouyer
a39a98c45d
Implement rquota RPC version 2, compatible with the linux implementation,
...
as proposed on tech-userlevel on Dec 06 2002. This allows to retrieve
group quota informations from NFS servers.
2003-02-14 14:55:58 +00:00
dsl
c22a42ecd8
Avoid displaying "intr" for all interrupt counter titles
...
(approved by christos)
2003-02-13 08:09:33 +00:00
christos
f611664450
PR/20317: Johnny Billquist: Clear timestamps upon freeing entries.
2003-02-12 17:39:36 +00:00
grant
d36ebd361d
change a couple #ifdef's so /usr/bin/progress doesn't stomp all over
...
the tty if it's not in the foreground.
ok'd by jhawk.
2003-02-12 15:18:28 +00:00
ross
0328c52302
Sigh, use an even more elaborate wait loop; it turns out we have a child
...
before we even start when run from sysinst. Thanks also Takao Shinohara.
2003-02-12 00:58:34 +00:00
drochner
2d794f4e34
fix typo in comment
2003-02-11 10:43:29 +00:00
yamt
e913851a15
use Ar for option arguments.
2003-02-11 08:05:29 +00:00
dsl
d616c663f8
Resize windows on SIGWINCH and restart from SIGTSTP
...
(approved by christos)
2003-02-10 23:59:48 +00:00
grant
4352e01ddb
remove section name comments -- they're in the template.
2003-02-10 23:59:16 +00:00
ross
7784308321
replace linux examples with netbsd examples
2003-02-10 21:44:41 +00:00
ross
182f33ad44
Fix a race that can abort a sysinst run.
...
Closes bin/20275, thank you Takao Shinohara: good analysis.
This program appeared less than 3 weeks ago and it has already been
pulled up to 1.6.1? At the last minute? And with serious bugs?
ISTM that the release branch isn't supposed to work that way. It
isn't stable, it had 4 patches in 2 days, and has averaged a
patch every 4 days during its short lifetime.
2003-02-10 09:10:01 +00:00
fvdl
3e5d4ebe28
Get stat info and pass it to the object map function.
2003-02-06 12:40:21 +00:00
gmcgarry
a28de83dfc
Improve Xrefs. Give credit to the real author.
2003-02-05 05:10:58 +00:00
perry
1f4ad37fe3
"Utilize" has exactly the same meaning as "use," but it is more
...
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-05 00:02:24 +00:00
perry
8a49ec08e4
"Utilize" has exactly the same meaning as "use," but it is more
...
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
thorpej
9abf2fa449
Update for callout changes, and show TCP timers in relative, rather
...
than absolute ticks.
2003-02-04 01:22:08 +00:00
thorpej
7d9af30957
Test CALLOUT_PENDING, not CALLOUT_ACTIVE.
2003-02-03 23:37:09 +00:00
christos
16c1b99bf8
Open the file with O_NOFOLLOW, and only use if it still has one link (from
...
OpenBSD)
2003-02-03 17:45:20 +00:00
jdolecek
023b82a806
add Columbia tragedy
...
submitted in PR bin/20163
2003-02-03 17:03:27 +00:00
kleink
71d7654509
Add sysconf(3) knobs for recent additions.
2003-02-02 20:33:05 +00:00
jdc
1b61e72004
Check for equivalance between "se" and "ue" when unsetting them.
...
Reset the other if unsetting this one also unset the other.
2003-02-02 17:43:16 +00:00
christos
0fcef5865c
undo mallocvar.h changes!
2003-02-02 02:35:58 +00:00
matt
2954b3d5d7
The last NULL entry should not be printed on missing symbols.
2003-02-01 20:52:58 +00:00
dsl
b3467bbf38
When disk activity exceeds 100kB/s divide length of bar by 10s and report
...
factor on RHS screen.
(approved by christos)
2003-02-01 19:12:30 +00:00
tron
1161776951
Include "sys/mallocvar.h" with "_KERNEL" defined in time to avoid
...
build failure because MALLOC_DECLARE() is not defined.
2003-02-01 18:35:44 +00:00
tron
3f39a3d045
Include "sys/mallocvar.h" with "_KERNEL" defined in time to avoid
...
build failure because MALLOC_DECLARE() is not defined.
2003-02-01 18:31:09 +00:00
wiz
2f4d0544fa
Fix sendto return value check (incomplete change in 1.14).
...
Noted by Brian Ginsbach in PR 19842.
2003-02-01 16:42:31 +00:00
thorpej
c9b2749b7c
Update for extensible malloc types.
2003-02-01 06:29:14 +00:00
uwe
4eb408dcd9
Avoid cgetcap &co prototypes conflicting with those provided by the host.
...
With this change we can cross-compile on FreeBSD 4.x.
2003-01-31 20:50:29 +00:00
atatat
9658e47b39
Make "-m0" print no data, so that we agree better with the man page.
2003-01-30 21:43:26 +00:00
is
591f5c7964
Fix PR 18444 and a few other corner cases in cdplay.c.
2003-01-30 21:23:57 +00:00
jhawk
e025cf984b
Obey preceding - and + on -user when a numeric uid is specified (only).
...
Our behavior is now consistent with Solaris, and more useful than previous.
2003-01-30 10:49:18 +00:00
jhawk
980fe9aad7
Obey preceding - and + on -user when a numeric uid is specified (only).
...
Our behavior is now consistent with Solaris, and more useful than previous.
Unfortunately we end up strtol()-ing twice (once via atoi()) to avoid
changing find_parsenum().
2003-01-30 10:49:05 +00:00
simonb
6960865826
Use new the --redefine-syms-file option to objcopy to rename the symbols
...
we want to hide instead of making global symbols local (which doesn't
work on MIPS).
2003-01-29 10:32:34 +00:00
wiz
9115df8c49
success, not sucess. Noted by mjl.
2003-01-28 22:35:02 +00:00
uwe
5bc6d9c431
On FreeBSD host define _DONT_USE_CTYPE_INLINE_ before including ctype.h.
...
We pull in our _RuneLocale, while the inlines are for the host _RuneLocale.
2003-01-27 01:22:10 +00:00
matt
3e5306bedf
With -printx also qoute $ and ` (since they are shell metacharaters).
2003-01-26 07:07:31 +00:00
wiz
1bd6b934d6
Fix typo, noted by Geoff Wing (mason at primenet com au).
2003-01-24 01:16:34 +00:00
wiz
4e9926bf90
Help HTML output by replacing <> with \*[Lt] and \*[Gt] or Aq, sort sections, remove .Dp, and some
...
nits.
2003-01-23 18:57:09 +00:00
christos
c79beb47a8
Remove berkeley copyright. There is no similarity to the original anymore.
...
Reword certain contorted sentences.
2003-01-23 18:21:24 +00:00
jdolecek
969e7f59ee
usage(): print newline, and use [<pid> ...]
2003-01-23 18:18:49 +00:00
jdolecek
d1020feee3
couple nits:
...
* RCS Id on top
* set date to today
* split the optional arguments ([pid ...]) on separate line in the source
* replace .EL with .El
2003-01-23 17:52:14 +00:00
christos
8dd5658494
bring back gcore from the dead.
2003-01-23 17:34:49 +00:00
wiz
31b1facf6b
And finally, bump date (for -d description).
2003-01-23 08:53:46 +00:00
jdolecek
32cc757ba5
also add -d to SYNOPSIS
2003-01-23 08:51:00 +00:00
grant
817ab34933
Add description of -d.
...
From Soren Jacobsen in PR bin/20005.
2003-01-23 05:32:13 +00:00
agc
24b6883844
Make this build on non-i386 platforms.
2003-01-22 10:44:17 +00:00
jhawk
252f8847d5
Drop gratuitous warning for failure to get terminal width; it makes piping
...
progress' output ugly.
2003-01-22 04:11:34 +00:00
enami
cb5a2282ea
Remove second item in BUGS section; it is fixed in progress.c rev. 1.2.
2003-01-22 03:40:33 +00:00
christos
18350cdfbe
not all windows have 80 columns.
2003-01-22 03:24:21 +00:00
enami
23066b7faf
Advance a pointer correctly.
2003-01-22 03:13:32 +00:00
lukem
8d469d6c4b
use ftp(1) instead of lukemftp
2003-01-22 02:58:16 +00:00
lukem
b489ebc3bf
need bsd.own.mk for NETBSDSRCDIR
2003-01-22 02:56:30 +00:00
jhawk
39ffd8d76c
make progress(1)
2003-01-22 00:16:39 +00:00
jhawk
98f6cccbef
progress(1) is a standalone version of lukemftp's progress bar
...
(pulled in via reachover makefile) suitable for measuring the
input to arbitrary pipes.
This is intended for use by sysinst.
2003-01-22 00:14:12 +00:00
jhawk
401927b1d5
Abstract out progress bar support into progressbar.[ch], for inclusion
...
in external programs (conditionalized on -DSTANDALONE_PROGRESS).
The following moved from util.c to progressbar.c:
alarmtimer(), progressmeter(), psummary(), ptransfer(),
xsignal(), xsignal_restart()
The following moved from extern.h and ftp_var.h to progressbar.h:
STALLTIME, verbose, fromatty, progress, quit_time, ttywidth
2003-01-21 16:08:06 +00:00
dsl
85ed0bb278
Make kernel address arg of kvm_ckread() const void * so caller doesn't
...
need a cast.
(approved by christos)
2003-01-20 18:24:03 +00:00
aymeric
c11faf9eec
bump version.
...
":cs add" works when using a database file in the current directory, whichever
way we specify its name.
2003-01-20 16:13:26 +00:00
aymeric
5ca712061a
. Don't call terminate() after read_prompt() failed.
...
Fixes memory re-use after free().
. Fake a directory name of "." if given a path without '/'.
This makes ":cs add cscope.out" work, and behave like ":cs add ."
2003-01-20 16:10:51 +00:00
wiz
9be5fcf7bc
Bump date for last.
2003-01-20 08:08:34 +00:00
martin
8010344d66
Make it compile again on LP64 archs.
...
XXX - we *realy* need some format string macros for size_t/off_t!
2003-01-20 06:20:37 +00:00
simonb
276fd1665c
The Double-Semi-Colon Police.
2003-01-20 05:29:53 +00:00
toddpw
fb9b804063
Add a "macdef" example and a short section explaining that you may need to
...
use it to disable extended passive mode when your firewall is obnoxious.
This did in fact solve a problem I was having with a firewall at work, and
the status message was taken directly from a problem session fixed by this.
2003-01-20 03:20:42 +00:00
simonb
d19c8682f2
Detect ns32k ELF files.
2003-01-20 01:16:01 +00:00
atatat
dd0a8acd21
The next release will be 2.0, not 1.7.
2003-01-19 21:25:36 +00:00
jmmv
fe7d4299f5
Add EXIT STATUS section.
2003-01-19 19:15:38 +00:00
dsl
7e2ddd8ef0
Use kvm_getprocs2 so independant of kernel version
...
(change aggreed by christos)
2003-01-19 18:14:06 +00:00
kristerw
6d0ebdd74a
Do not try to write a rejects file for those cases where the user has
...
told us to skip a patch due to missing file to patch.
Solves PR 19827 from Toru TAKAMIZU.
2003-01-19 00:50:28 +00:00
elric
3799cab605
Backing this out until it works.
2003-01-19 00:42:45 +00:00
jmmv
1f46362208
When an unknown option is found, ignore it, as it may be cc related (i.e.,
...
-D and -I options).
2003-01-18 22:32:20 +00:00
christos
8e448c92b9
kill warns.
2003-01-18 21:18:18 +00:00
jmmv
c69d292b43
Use getopt(3) instead of specific code to parse options.
...
Reviewed by jdolecek.
2003-01-18 21:13:58 +00:00
dsl
24ec5512d1
pull interrupt stats from event counts
...
fix disk xfer byte count
fix absolute counts - were divided by time interval
2003-01-18 21:02:35 +00:00
grant
82c28ff066
fix some Unix -> UNIX, Posix -> POSIX and some typos.
...
From Igor Sobrado in PR pkg/19666.
2003-01-18 18:54:10 +00:00
thorpej
3fdac2b8c5
Merge the nathanw_sa branch.
2003-01-18 10:52:16 +00:00
atatat
3535ff5eb9
Print the string as if it's a string. Don't print the pointer. It's
...
useless for the non-omniscient (who, by definition, would have no need
for this program anyway).
2003-01-16 15:34:18 +00:00
kleink
b3df6303a9
Rename `sigset' locals to avoid symbol shadowing warning.
2003-01-16 09:38:37 +00:00
msaitoh
e43fc70de5
catch SIGINT, SIGHUP, SIGQUIT and SIGTERM to clear a temporary file.
2003-01-16 08:05:09 +00:00
mjl
f395946596
Correct typos (from OpenBSD).
2003-01-12 21:04:06 +00:00
christos
c3e2d898b4
produce lint free code.
2003-01-10 20:00:50 +00:00
atatat
80f8e56ac7
More properly handle the setgid privileges that we have, casting them
...
out if using them might be unsafe.
2003-01-09 13:05:12 +00:00
uebayasi
3d7c8fcb51
Be more specific how to call arguments of modifiers.
...
Reviewed By: wiz
2003-01-09 01:22:30 +00:00
atatat
a26b7f4d29
Make pmap work on LOCKDEBUG *and* non-LOCKDEBUG kernels (previously it
...
would fail in spectacular ways on LOCKDEBUG kernels) by compiling the
groveler code twice (the second time with LOCKDEBUG defined so that
the appropriate structures get larger in the right way). We currently
decide if we are operating on a kernel with LOCKDEBUG enabled if the
kernel's vm_map has referential integrity between a few pointers
and/or values.
Also, if you use more than one -v, you get a * on a line by itself in
between gaps in entries. It makes finding gaps much easier visually.
2003-01-08 20:25:12 +00:00
wiz
1035faff1d
writable, not writeable.
2003-01-06 20:30:28 +00:00
wiz
1aad114a16
Bump date for -b, -I addition; drop trailing whitespace; separate SEE ALSO
...
entries with a comma.
2003-01-06 19:26:17 +00:00
wiz
c053751628
compatibility, not compatiblity.
2003-01-06 13:26:24 +00:00
wiz
c6f1277bfa
synchronous, not syncronous.
2003-01-06 13:10:25 +00:00
wiz
7e681f7063
interrupt with two rs.
2003-01-06 13:04:54 +00:00
wiz
e840d74cd0
Superfluous word; from jmc@prioris.mini.pw.edu.pl via openbsd.
2003-01-06 12:48:06 +00:00
wiz
bec6f0cde7
Wrong word; from jmc@prioris.mini.pw.edu.pl via openbsd.
2003-01-06 12:43:08 +00:00
wiz
5e442fbbdd
specified, not specifed.
2003-01-06 12:38:47 +00:00
kristerw
4786f258bd
Make yacc emit plain ANSI C prototypes instead of __P() wrapped ones.
...
Per discussion on tech-toolchain.
2003-01-05 21:38:50 +00:00
sommerfeld
35e929d5c4
Document some previously undocumented options.
2003-01-05 19:28:13 +00:00
seb
a74ab65529
Fix usage message and SYNOPSIS section wrt to option O as suggested by wiz.
2003-01-05 13:07:38 +00:00
pooka
732f4c9fa5
Add ${MACROS} to ${ROFF} usage to make output readable
...
from jbernard@mines.edu in misc/19685
2003-01-05 12:24:22 +00:00
wiz
617b132aac
Spell output with two ts.
2003-01-04 23:43:02 +00:00
mjl
037d3d9eb9
Tyop fixes
2003-01-03 14:11:18 +00:00
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