tv
3a3a2b1175
Rename "aux.c" to "support.c" to avoid clash with invalid "aux" basename
...
on some Microsoft host OS's.
2001-10-19 02:46:19 +00:00
tv
fbc7a97b48
Remove files beginning with ":", which is invalid on other host OS's
...
(particularly those made by Microsoft). These ex/vi-macro files are not
actually needed at this point, anyway....
2001-10-19 02:43:26 +00:00
itojun
c868e666a2
print rip6stat. sync with kame
2001-10-18 09:26:16 +00:00
wiz
a3f7faa89a
"compact" is no valid .Bd argument, "-compact" is (groff-1.17.2-found).
2001-10-17 22:36:32 +00:00
wiz
73f9704b80
Sort sections, fix punctuation.
2001-10-17 22:32:41 +00:00
wiz
c6c6db2fc7
"-indent" is not a valid .Bl argument, "-offset indent" is (found by
...
groff-1.17.2).
Fix some whitespace.
2001-10-17 22:28:49 +00:00
wiz
663a1fb2a8
Sort sections, drop some whitespace.
2001-10-17 22:13:04 +00:00
wiz
862fdf44d8
Sort SEE ALSO, drop some whitespace, and sort sections.
2001-10-17 22:09:55 +00:00
wiz
797e4e51c3
Fix section names, sort sections, remove a space.
2001-10-17 22:02:30 +00:00
wiz
c805849eed
Properly quote `No' (as non-macro argument).
2001-10-17 21:08:15 +00:00
yamt
f8835551fd
fix format string bugs.
...
pointed by Tomoaki IMAMURA in PR/14271.
2001-10-17 07:38:48 +00:00
sjg
93de21cdc1
Don't ignore errors during .END processing.
...
PR: 14267
Reviewed: christos
2001-10-16 18:50:12 +00:00
sjg
9c66252a02
When attempting to chdir to .CURDIR because Check_Cwd_Cmd says we need to
...
make sure that the dir actually exists. In compat mode the corresponding
chdir simply fails and all is well - the issue only arises when playing
tricky games with the value of .CURDIR.
Reviewed: christos
2001-10-16 18:06:29 +00:00
bjh21
6b49898e83
While I'm here, for those currencies that have a fixed exchange rate against
...
the Euro (BEF, DEM, ESP, FRF, IEP, ITL, LUF, NLG, ATS, PTE, FIM, GRD), use
that exchange rate.
2001-10-16 12:53:29 +00:00
bjh21
02f58b4bee
Add "rackunit" (alias "RU" or "U").
2001-10-16 12:09:04 +00:00
bjh21
e0b2c4633d
Move hard-coded /usr/share/misc from mdb.c to pathnames.h, in accordance
...
with KNF.
2001-10-15 22:20:03 +00:00
bjh21
92fa26019d
Move the default path definition from msgdb.c to a new pathnames.h, as
...
required by KNF. This will also be required to allow msgc to be installed
into ${TOOLDIR} properly.
2001-10-15 22:11:12 +00:00
tacha
a2ffc24485
If no_proxy condition is true && urltype == FTP_URL_T, use fetch_ftp to retrieve.
2001-10-15 05:05:43 +00:00
lukem
c3e7e8005a
oops, got chflags() error checking around the wrong way
2001-10-11 04:27:30 +00:00
lukem
c32ec6cb78
- Implement "-M log", which appends the metadata associated with the
...
installed file or directory to `log'. This is primarily designed
to be used in conjunction with -U, but that's not mandatory.
Provide metadata_log() to do the hard work. The log file is opened
for append at the start, and flock(LOCK_EX) is used to prevent
interleaved output (from multiple concurrent install(8) operations).
- Improve parsing of owner and groups (e.g., strtoul() instead of atoi()),
and don't rely upon uid==-1 to indicate "no owner"; use a flag instead.
- Make fileflags a global variable; uid, gid, and mode are, so lets be
consistent...
- Improve -U (unpriv); work on file flags as well, and only try to change
the file flags after the temporary file is renamed (since certain flags
will prevent the rename from working).
2001-10-11 02:06:32 +00:00
christos
9220b490d0
Install magic.mime.mgc too.
2001-10-10 16:56:27 +00:00
bjh21
7a29a41680
When summarizing pool memory usage, account for PR_RECURSIVE pools
...
specially so as to avoid counting the same memory twice.
2001-10-07 12:50:54 +00:00
is
822a067a62
file recognizes Amiga icon (.info) files now.
2001-10-06 20:55:42 +00:00
bjh21
f4c2a9f013
Use getnameinfo() to format link-layer addresses for netstat -r rather than
...
doing it ourselves and falling back to link_ntoa().
2001-10-06 18:56:49 +00:00
wiz
caeab83572
Whitespace fixes and formatting improvements.
2001-10-06 18:51:04 +00:00
bjh21
3369b8a6bb
Use getnameinfo() for printing link-layer addresses in netstat -i, rather
...
than doing it ourselves.
2001-10-06 18:48:30 +00:00
bjh21
79931f7b04
Add -L and -U options to eject(1) that call DIOCLOCK. Also generally clean
...
stuff up, correct the usage message and update the manpage to match.
Note that the new options aren't wonderfully useful, since cd(4) at least
promptly unlocks the drawer when eject closes the device.
2001-10-06 15:43:33 +00:00
bjh21
ccb8f4d3ed
KNFify
2001-10-06 14:29:55 +00:00
bjh21
67fe54beb4
On ARM ELF platforms, size_t and ptrdiff_t are u_long and long respectively.
...
See <arm/ansi.h>.
2001-10-06 12:25:56 +00:00
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
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