Commit Graph

5264 Commits

Author SHA1 Message Date
christos
b804f806ac PR/5631: Rumi Szabolcs: Make talk work without COMPAT43. 2001-09-27 14:43:31 +00:00
atatat
7fb1c88366 Don't attempt to memmove() if psl (pattern space length) is zero.
Fixes PR bin/14074: Simple expression core dumps sed.
2001-09-27 05:35:44 +00:00
itojun
ba613513e8 sync with openssh 2.9.9 around 9/27. 2001-09-27 03:24:01 +00:00
kleink
1cb980bd1a Remove an extraneous opening brace from newstyle output, apparently missed
in rev. 1.6; fixes PR misc/14066.
2001-09-26 20:51:39 +00:00
mycroft
0505c42bda Quotes around ${CC}... 2001-09-25 14:26:56 +00:00
wiz
4c99916337 va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
tls
5cb98b6cb9 Fix some lossage in previous commit: don't remove everything when cleaning
in a source directory, just the object files.  This is a _very temporary_
fix; I will untangle the meaning of UPDATE, etc. in this context presently.
2001-09-24 01:05:47 +00:00
tls
0b6a2936aa Changes to the emitted makefiles that actually build the objects:
1) Always do a make clean before building objects in any directory.  This
   is wasteful, but there's really no other simple way to cope with the
   fact that the compilation settings (e.g. CFLAGS) appropriate for the
   non-crunched build of a program may not be appropriate for the crunched
   build.  If the objdir magic in make didn't rely upon the presence of an
   "obj" or "obj.${MACHINE}" symlink, we could abuse it to handle this but
   unfortunately, it does.

2) Override $DBG to cause object files to be built with -Os.  We can't emit
   "DBG?=" into the generated makefile because of order-of-inclusion issues
   with the system Makefiles; the result would be that the default setting
   (currently -O2) would always be used instead of -Os.  If you're crunching,
   you almost certainly are doing it to get a smaller executable (!) so -Os
   is almost certainly appropriate for you.
2001-09-24 00:40:35 +00:00
yamt
eb8d48e92a enable checking limit of setid and msgid. 2001-09-23 16:32:35 +00:00
jdolecek
6f081befa2 set CC and DESTDIR for mkioctls accordingly
patch by Chris Jepeway via tech-userlevel.
2001-09-23 08:51:11 +00:00
tv
9a0eaa53ba flex -> ${LEX} 2001-09-22 05:39:22 +00:00
tv
09e458baee Add HOSTPROG exclusions to allow this to be included in src/tools. 2001-09-21 22:47:37 +00:00
enami
49f300855c Reallocate memory correctly while substituting the braces. 2001-09-21 07:11:33 +00:00
yamt
7a04f9f720 fix possible 1-byte overflow. 2001-09-20 15:56:06 +00:00
gmcgarry
6b7bff4969 Recognise MLSSA datafiles 2001-09-20 03:05:54 +00:00
wiz
9fa0b17629 Give initiali[sz]e all the "i"s it deserves. 2001-09-18 18:15:49 +00:00
simonb
0e3b64a601 Back out previous vfork->fork change now that the cause of the problem
(execvp) has been fixed.
2001-09-18 05:11:15 +00:00
wiz
b4b9a54e8c Fix typo and sort sections. 2001-09-17 18:47:58 +00:00
assar
2a2aa85a8d update infrastructure for krb4 1.1 and heimdal 0.4e 2001-09-17 12:34:40 +00:00
wiz
456dff6cb8 Spell 'occurred' with two 'r's. 2001-09-16 16:34:23 +00:00
simonb
1730261818 Throw out home-grown strdup().
Error check malloc/strdup return values.
2001-09-15 16:45:23 +00:00
thorpej
daa2a3c1a7 Fix a printf format/argument cast. 2001-09-15 16:28:15 +00:00
simonb
0b2413bddc ANSIfy. 2001-09-15 14:55:38 +00:00
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