christos
13a6d6acf1
PR/9898: David Holland: small glitch in var substitution for single letter
...
variables.
2000-04-16 23:35:16 +00:00
christos
a4760ab7d0
prefix errors with the program name.
2000-04-16 23:24:23 +00:00
christos
c097e3c5c2
Don't core-dump when the current working directory is not readable
2000-04-16 23:24:04 +00:00
christos
c407ec1982
PR/9899: David A. Holland: multi-variable .for constructs in make
2000-04-16 22:08:06 +00:00
mrg
d0ba087720
kill trailing blank line.
2000-04-16 04:57:55 +00:00
mrg
43aefadca4
reword slightly.
2000-04-15 18:11:00 +00:00
simonb
d88dfea295
Don't declare 'extern opt*' getopt variables.
2000-04-14 06:11:07 +00:00
simonb
2c0eddaf19
Don't declare 'extern opt*' getopt variables.
...
Don't need to declare __progname in getmmdd() - it's already done earlier
in this file.
2000-04-14 06:07:14 +00:00
mrg
09b8a5a646
for NetBSD 1.4 and above, use <sys/swap.h>
2000-04-13 08:34:40 +00:00
mrg
90bc324a8d
use <sys/swap.h>. should have happened years ago.
2000-04-13 08:29:56 +00:00
lukem
16ca0f7009
crank version
2000-04-13 08:23:52 +00:00
lukem
d54eded2a0
fixes from cgd:
...
* sanity check a length (otherwise certain bogus responses can crash ftp)
* allow a transfer encoding type of `binary'; certain firewall vendors
return this bogus type...
2000-04-13 08:17:56 +00:00
lukem
031f2ed4b1
s/strtoq/strtoll/ (the latter is standardised)
2000-04-13 08:13:30 +00:00
itohy
0af9894f2f
[ktruss] Use fork(2), not vfork(2).
...
The child process of do_ktrace() does return and the stack is
changed by another function call (execvp()).
By using vfork() (my previous change), the execution of the parent
process resumes on the modified stack. Oops.
We could use vfork() carefully, but for now use fork().
Problem reported and investigated by Ethan Solomita <ethan@geocast.com>.
Thanks.
2000-04-13 01:27:53 +00:00
simonb
91c0ba617c
Make some columns and headers line up.
2000-04-12 15:37:14 +00:00
jwise
1a9ae67f41
Reorder two commands so that substring matching doesn't make one shadow
...
the other.
2000-04-11 01:18:35 +00:00
jwise
ad285dbfbe
Two UI changes:
...
a.) restore the capability to enter a substring of a mode or command
name. Pointed out by Soren Jorvang.
b.) (capital) Q now exits systat immediately
2000-04-11 01:01:26 +00:00
jdolecek
98359af3d1
Convert to use setemul() stuff from kdump. This also fixes mapping to
...
syscalls names in dump when programs of different emulations are executed.
While here, convert to malloc/realloc power of 2 quantities.
2000-04-10 09:42:37 +00:00
jdolecek
2f5f8663c5
ectx_sanify(): if default_emul is not set, use netbsd emulation (may happen when user passes invalid
...
emulation name via -e argument)
2000-04-10 09:34:18 +00:00
jdolecek
0cdfde1cbc
DTRT vs setemul() (for ktruss, similar to kdump.c)
2000-04-10 09:32:03 +00:00
jdolecek
103633896f
remove prototype for setemul(), it's in kdump/setemul.h now
2000-04-10 09:30:26 +00:00
jdolecek
470e7fc568
put setemul(), ectx_* & appropriate structures to separate file, to make it
...
more easily sharable with ktruss(1)
2000-04-10 09:13:45 +00:00
jdolecek
646b216e52
add description for -e argument (for ktruss)
2000-04-10 08:11:01 +00:00
jdolecek
d0dc3a7168
clarify -e usage
2000-04-10 08:05:25 +00:00
jdolecek
84c8f8889f
update to setemul() changes
2000-04-10 07:59:22 +00:00
jdolecek
3d8f702c2b
Keep track of what pid uses which emulation and ensure proper
...
structures are used when decoding the ktrace records. This makes
kdump of ktrace -i output of a process executing binaries of various
emulations actually useful - before, the code used emulation structures
appropriate for last recently executed process, which is bogus.
2000-04-10 07:58:30 +00:00
bad
dc38443eae
Catch up with changing size_t to ulong on sparc 10 months ago.
2000-04-09 01:08:17 +00:00
simonb
0b559da2d6
Include -r flag in usage message.
2000-04-02 12:46:04 +00:00
augustss
52bb6db3ff
Make this compile again after several global structs where declared extern.
2000-03-28 23:36:11 +00:00
kleink
a3c6c197a2
Cast timeval members to types we know the printf conversions of.
2000-03-27 17:03:25 +00:00
simonb
a04e169a80
Include <string.h> to get a prototype for memset(). Fixes build
...
problems on alpha noted by Tim Rightnour on current-users.
2000-03-22 21:45:02 +00:00
garbled
36f447259d
Make the STRIP env var a little more obvious in the documentation, and
...
clean up the bottom of this manpage just a tad.
2000-03-22 18:34:43 +00:00
tron
5c433a9864
- Add "/sbin" to path so that "sysctl" is found again. Problem noted
...
by Patrick Welche in PR bin/9658.
- Use "exec" to start "sysctl" so that we can a meaningful exit code.
2000-03-22 17:35:56 +00:00
garbled
86e14c4a11
Add parsing of the CC env variable, and a -Bpath flag (for /usr/libexec)
...
so cross-building of lint libraries can be made possible. Tested
building a powerpc libc via make build on an alpha.
2000-03-22 01:09:34 +00:00
jdolecek
79176095e8
locate.bigram does all the bigram processing itself now; store it's result
...
in local variable and pass the value to locate.code directly instead
of using temporary file
always remove $filelist, even if an error is encountered
2000-03-20 19:22:55 +00:00
jdolecek
e3f9e89eb9
the first args is expected to be the bigrams array, instead of name of
...
file holding it
2000-03-20 19:18:34 +00:00
jdolecek
a46f4702f8
Do all bigram processing here, instead of in updatedb.csh; saves
...
a few cycles (it's runs like 2 seconds instead of 16) and the algorithm
is hopefully a bit more clear
2000-03-20 19:17:35 +00:00
kleink
0848e8913a
* Hint MADV_SEQUENTIAL.
...
* -1 -> MAP_FAILED.
2000-03-20 18:23:26 +00:00
simonb
07146e66cb
Redo previous again, so that the check for YY_USES_REJECT is after "%%"
...
but still included for c++ lexers.
Fixes libc:nslexer.c build failure reported by Matthias Scheler.
2000-03-17 23:21:45 +00:00
christos
aab07b7582
Don't depend on BSD regexec extensions (REG_STARTEND)
...
Emulate it if it is not defined.
2000-03-17 02:23:17 +00:00
christos
32d43c9cf0
Make this work on SVR4 systems.
2000-03-17 02:22:27 +00:00
enami
2263e83df9
Fix typo.
2000-03-16 18:56:41 +00:00
enami
1ab3345f20
Compare the return value of getopt(3) against -1 rather than EOF.
...
(while i'm here, one more cosometic change is performed).
2000-03-16 18:47:48 +00:00
enami
7b4bdbc144
Cosmetic changes.
2000-03-16 18:44:29 +00:00
simonb
35803308dc
Redo rev 1.10 so that the changed lines are back in their original
...
position in the file. This allows c++ lexers to build.
Fixes PR 8258 from Nick Hudson (uses a slightly different fix than
the one Nick supplies) and problems with c++ lexers described on
tech-pkg by Berndt Josef Wulf.
2000-03-15 22:52:14 +00:00
itojun
46169e86bf
inhibit too-noisy message for scoped address data transfer
...
(will be enabled in "debug" mode).
2000-03-14 16:36:05 +00:00
soren
89c5a767f8
Fix doubled 'the's.
2000-03-13 22:55:05 +00:00
itohy
f1042d894e
Add -s in usage.
2000-03-13 08:21:36 +00:00
jdolecek
c3678e83f5
s/appears/appeared/
2000-03-10 15:15:32 +00:00
kleink
41ab7b6729
Use strcoll() to sort directory entries.
2000-03-10 14:50:36 +00:00