Commit Graph

5241 Commits

Author SHA1 Message Date
simonb
7a40d9c0cf Use fork() instead of vfork(). The child calls execvp(), which calls
strdup(), which calls malloc()...

Fixes problem with "find .. -exec" growing as reported by Kazushi Marukawa
on current-users@.
2001-09-14 08:19:25 +00:00
thorpej
9c5f5108f7 tcp_dump(): Also print the address of the in6pcb. 2001-09-10 22:19:03 +00:00
thorpej
2807c29a57 Update for TCP timer changes. 2001-09-10 22:17:28 +00:00
thorpej
2dcc5d04ec Update for field name changes in struct tcpcb. 2001-09-10 15:25:24 +00:00
thorpej
dc5de996f4 Make the PCB address printing look like the IPv4 version. 2001-09-10 14:25:12 +00:00
assar
66bcd97e0c implement 5to4 (getting v4 tickets from the v5 ones)
from the patch in bin/13040 by lha@stacken.kth.se (slightly modified)
2001-09-10 00:02:29 +00:00
aymeric
4fa1ec90e5 bump to nb2 after fixing PR #10367 and correcting another related bug 2001-09-09 11:04:23 +00:00
aymeric
7ac97260c6 Fix a test condition for EOF. Together with previous commit in cut.c (1.4),
this fixes correctly PR #10367.
2001-09-09 11:03:02 +00:00
aymeric
b88939bbba Define ENTIRE_LINE to be -1 instead of 0 since we may want to copy 0 characters.
(and use ENTIRE_LINE instead of 0 where appropriate)

This fixes a bug in the dw command with for example:

<cursor>
a b c

~
~
if you hit dw there, only the empty line would be killed but both the empty
line and the subsequent one would be pasted when asked for with P for example.
2001-09-09 11:01:09 +00:00
pooka
9a621e89a7 tweak for 3.37 2001-09-09 10:48:34 +00:00
pooka
59a767d683 resolve conflicts 2001-09-09 10:46:36 +00:00
pooka
ad8e9e60b1 file 3.37 2001-09-09 10:38:55 +00:00
pooka
0e6f52edec g/c unused crud 2001-09-09 10:33:28 +00:00
sommerfeld
e15a851896 Cross-reference fstat(1) 2001-09-03 14:56:08 +00:00
itojun
955ffe2d0e just to be sure, set telnetport to 0.
From: Pekka Savola <pekkas@netcore.fi>
2001-09-03 07:51:43 +00:00
assar
8422fba5ab repair command-line parsing so that an error is generated if no pid or
program is given (or input file for ktruss)
2001-09-02 23:18:01 +00:00
simonb
49e4ac39e7 Include <limits.h> for LONG_MIN/LONG_MAX.
Put kernel include file first, as per KNF.
2001-09-01 02:17:29 +00:00
simonb
504907b03b Don't need <sys/types.h> either (ref: SUSv2). 2001-09-01 01:59:42 +00:00
simonb
134164f42c Little cleanup:
- Don't need to include <sys/time.h>, <sys/resource.h> does.
 - Include <limits.h> for LONG_MIN/LONG_MAX.
 - Be consistant with usage of (void) in front of printf()/fprintf().
 - Sort include files.
 - ANSIfy.
2001-09-01 01:57:28 +00:00
aymeric
8ac7d728a3 Change nvi version from 1.79 to 1.79nb1
This added version number will help us for future bug reports
2001-08-28 07:36:42 +00:00
matt
531338f3ce Adjust vmstat -i / -e for wider event names 2001-08-26 02:50:37 +00:00
wiz
251b3464be heirarchy -> hierarchy 2001-08-24 10:24:45 +00:00
simonb
28ef2fe1b7 Include -T in the synopsis. 2001-08-21 23:55:25 +00:00
ad
86b1285531 Pasto. 2001-08-21 09:56:54 +00:00
aymeric
9092b7b124 Fix a bug present in nvi 1.79 where ^@ wouldn't behave as expected when
reading an ex command from vi.

Fixes PR#13205
2001-08-20 21:44:57 +00:00
ad
64905538d6 Fix typo. 2001-08-20 13:44:08 +00:00
ad
195345977b warn() -> warnx() in one place. 2001-08-20 12:37:21 +00:00
wiz
c52d355d71 "wierd" is weird. 2001-08-20 12:20:01 +00:00
wiz
1e378c4c12 precede, not preceed. 2001-08-20 12:00:46 +00:00
ad
767bd4a3fa - Implement shuffle play and some other goodies. Mostly from a patch
submitted by Sergey Svishchev <svs@ropnet.ru> in PR 13682.
- More tidying.
2001-08-20 11:24:57 +00:00
ad
a76db7786e Cleanup. 2001-08-20 09:50:10 +00:00
ad
d78020d1bf Use getrawpartition(). 2001-08-20 08:21:09 +00:00
itojun
bc9b3f2aa8 snprintf length audit. from openbsd 2001-08-19 02:01:24 +00:00
ad
28a9c7f8da Slight change to previous: rebuild the insecure password db if the expiry
time has changed, not just been set.
2001-08-18 19:42:40 +00:00
ad
1e8e78ed07 Update for pw_mkdb() change: restrict updates to one user's records and/or
the secure database where appropriate.
2001-08-18 19:35:32 +00:00
ad
e3af9d1d6b getopt() returns -1 on error, not EOF. 2001-08-18 17:10:04 +00:00
aymeric
ca334636ac Prevent nvi from looping infinitely when it can't create a temporary file
because of a weird umask for example.
Make it exit instead.
This differs from the OpenBSD behaviour and is believed to be more correct.

Reported by Thomas Klausner in private e-mail, followed by a small discussion in
tech-userlevel a while ago.
2001-08-17 21:33:46 +00:00
eeh
7cac6218f0 Don't use long double on sparc64 since the compiler is borked. 2001-08-17 05:49:43 +00:00
enami
79dbd4ba43 Check return value of mkstemp correctly. 2001-08-16 01:00:31 +00:00
msaitoh
0ef29a9606 invert the meanings of the F_LSYMS field. 2001-08-14 21:26:54 +00:00
tv
dba5d44670 Add hooks to allow toolchain bits to be reachover-built at the top level. 2001-08-14 10:18:26 +00:00
ad
811a1f306a Nit. 2001-08-13 12:33:48 +00:00
itojun
8499f264ae present SPD cache lookup stats. sync with kame 2001-08-06 10:25:54 +00:00
wiz
e79bfdd1cf command with two ms looks better. 2001-07-26 22:49:56 +00:00
wiz
30b2bf87ed Various typos in comments (neccessary, sceme, choise, ...). 2001-07-26 15:05:07 +00:00
mrg
b0caae0467 clean up WARNS. 2001-07-26 14:20:47 +00:00
mrg
ec2876e2a5 add a new header file. 2001-07-26 13:47:24 +00:00
mrg
c001ebc093 don't need this. 2001-07-26 13:46:39 +00:00
mrg
172ab14d0e merge cornflakes (less 358) 2001-07-26 13:43:43 +00:00
mrg
95a4fc7c7a less 358 2001-07-26 12:00:22 +00:00