Commit Graph

5285 Commits

Author SHA1 Message Date
jmc
7399da0682 Add appropriate ifdefs so tools reachovers build clean 2001-10-05 22:54:51 +00:00
jmc
6addac288f If USE_NEW_TOOLCHAIN is defined use objcopy instead of crunchide as it works now. 2001-10-05 22:52:56 +00:00
eeh
a00c25eae0 Get rid of warnings on 32-bit machines. 2001-10-05 22:40:10 +00:00
eeh
f592ea46c0 Let 32-bit platforms generate 64-bit fcode too. 2001-10-05 22:36:02 +00:00
eeh
f39983133f Handle numbers with `.' embedded int them and 64-bit literals properly. 2001-10-04 18:53:15 +00:00
tv
595b32cfea Bring up-to-date with flex.skl. 2001-10-04 17:12:27 +00:00
wiz
fc7396be3d Whitespace, punctuation, section header fixes, sort sections. 2001-10-04 11:20:39 +00:00
wiz
c0de7313ab Whitespace fixes. 2001-10-04 11:20:17 +00:00
jmc
ab4dcdab07 Convert makefile to use bsd.prog.mk. Makes linking work since the .mk file
takes care of it and this will handle a DESTDIR build setup then.
2001-10-04 07:34:47 +00:00
jmc
03648a201b Add a -d option to set the DBG flag to whatever flags the builder wants. If
it's not set, default to -Os (so it's not hard coded into the binary.)

Generate a makefile by default that does all object file builds in local
subdirs by binary (i.e. bad144 gets built in $OBJDIR/bad144) via a reach over
make. (Sets .PATH and .CURDIR and does a make for the objects needed in that
dir).

Add a -o option that does the old behavior of searching for obj files by
querying the various object environment vars and searching. Without this
option none of the objdir special options, environment vars, etc will have
effect.

Document all the changes in the man page (and specificly note that without -o
none of the objdir functions take effect).
2001-10-04 04:17:04 +00:00
atatat
4aaca49ce6 Hmm...apparently I left out a word. 2001-10-03 20:29:39 +00:00
bjh21
b95ddc4862 Correct broken markup in description of -l.
Correct the second synopsis to match the description and the usage message.
2001-10-02 14:45:43 +00:00
bjh21
32261d4b9a Add .It for -d and -l as well. 2001-10-02 14:41:31 +00:00
bjh21
46dfe969fe Small formatting changes: Correctly mark the paragraph on -p with .It, and
don't put excess words in .Ar in one of the examples.
2001-10-02 14:38:09 +00:00
atatat
3cbffc40e1 Back out last patch (again). This patch seems to satisfy test suites
that I've found, while the previous one did not.
2001-10-02 03:03:02 +00:00
atatat
cfad8d9136 New fix for PR bin/14074. This one doesn't make sed hang. 2001-09-28 21:12:04 +00:00
atatat
2e515657d7 Back out the pr fix. It doesn't work. 2001-09-28 21:10:34 +00:00
jdolecek
ac2147b9f2 remove accidentaly left debug printf
change the pipe descriptor output to include 'r' or 'w' to explicitly
indicate it's open for reading or writing, similarily to "regular" descriptors
2001-09-28 20:29:04 +00:00
jdolecek
92f9fd86ff the descriptor flags may also contain other stuff besides FWRITE|FREAD,
so do '& FWRITE' instead of '== FWRITE' in the check in pipe-related code
2001-09-28 20:16:43 +00:00
tv
33333aa345 Use "trap ... 0" instead of "trap ... EXIT", and use numeric signals for
"trap ... HUP ..." if the named signals cause the trap statement to fail.
This improves backwards compatibility of this script.
2001-09-28 14:41:44 +00:00
augustss
6778fe934d Since the system call and trap rates are often 5 digit numbers these
days we move the columns a little to avoid running into other numbers.
2001-09-28 11:58:51 +00:00
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