Commit Graph

6991 Commits

Author SHA1 Message Date
dsl cb20da8aae Add options_def.h to DPSRCS and CLEANFILES 2003-08-28 22:04:23 +00:00
dsl 43d69358c2 Use the options.awk script to generate options_def.h (as in nvi distribution).
Modify options.awk to detect an incorrectly sorted options array.
NB: if GTAGS is undefined theses sources will still generate invalid programs.
2003-08-28 16:23:40 +00:00
dsl d264f181ea Fix typo in 'help', bump date in vi.1 2003-08-28 14:44:48 +00:00
dsl 5e8df6a3d7 Add definition of matchchars 2003-08-28 13:25:13 +00:00
dsl 41efebfb61 Make the order of these defines match the correctly sorted definition
in options.c.
Is there any reason why we don't use options.awk so this file would
always be correct?  (especially if the awk script checked the sort)
2003-08-28 13:19:05 +00:00
dsl 68b9f13602 Bump for inclusion of :set matchars 2003-08-28 05:00:09 +00:00
mrg d47feee1f7 can't print size_t with %d 2003-08-28 01:55:17 +00:00
thorpej e5adc13bea * Make it a little easier to add new "ioctl defns are in these files".
* Add the ability to decode the cryptodev ioctls.
2003-08-27 20:35:42 +00:00
thorpej 922a27ed29 NO_* have been changed to OPENSSL_NO_* in more recent OpenSSL releases,
including the one now in our tree.
2003-08-27 20:18:41 +00:00
dsl f25691d97c Increase maximum terminal size from 500x500 to 4000x4000.
Add a 'matchchars' option to set the character pairs that % looks for.
Traditionally this was []{}() but someone added <> to nvi - probably
for editing html, but it is a pain for C. :set matchars=[]{}() will
restore the traditional behaviour.
If the 'open' and 'close' characters are the same (eg "" or '') then % will
alternate forwards and backwards searches.
Use common code to detect options that must have an even number of characters.
2003-08-27 15:15:13 +00:00
dsl 9290245176 Coorectly sort options table (it is searched with a binary chop). 2003-08-27 13:47:51 +00:00
wiz 31fd31ccf7 Make getlastlogx have the pathname to the lastlogx database as first
argument, to be consistent with updlastlogx.

Approved by christos, reviewed by kleink.

[The lastlogxname function should not be used any longer.]
2003-08-26 16:48:32 +00:00
erh c0513eb911 Fix typo in the description of the -n option. 2003-08-25 19:06:57 +00:00
lha afad8d1f7c libkrb depends on libdes, patch in private mail from
Harold Gutch logix at foobar franken de
2003-08-23 23:03:42 +00:00
wiz f3d114a539 Improve grammar in last, and bump date for -0. 2003-08-23 22:36:21 +00:00
wiz ad921c5f25 Comma and Pp police. Bump date for last. 2003-08-23 22:31:24 +00:00
atatat 2025668369 Remove jeroboam, magnum, and rehoboam from the "trivia" section and
put them in another section with all the other bottles (the new aptly
named "bottles" section).

Also, add shed (1e-24 barn).
2003-08-23 04:15:33 +00:00
christos f49a04b8f2 make -0 actually work 2003-08-21 00:01:13 +00:00
christos 0d30aed428 Add -0 option. 2003-08-20 23:37:51 +00:00
christos 791007d1e3 Normalize the program's compilation options so they are all of the form SU_
and document them.
2003-08-20 14:11:17 +00:00
itojun ccbbb1b94c fix comment; FD_SET is not used any longer 2003-08-20 03:35:38 +00:00
itojun c636858983 correct strange indentation 2003-08-19 12:52:13 +00:00
pooka 63242450c2 back out revision 1.8 per discussion with Hubert
vgrind already worked properly in filter mode for source correctly
enclosed inside .vS and .vE.  The change more or less broke troff
processing, since e.g. \fI became \\fI when it went through vgrind.
2003-08-18 15:28:17 +00:00
pooka 7db1443cd2 make the macrofile point to the new name 2003-08-18 15:02:16 +00:00
pooka b7fe06f1ae Use the new name for the macro file (vgrind.tmac) instead of the old
one (tmac.vgrind), the advantage being that the former exists.
2003-08-18 14:10:22 +00:00
itojun b103dc8ce0 another fix for PR bin/22464; never set wwbaud to 0. 2003-08-13 15:21:07 +00:00
itojun c0c6d52ab2 backout previous - commited by mistake 2003-08-13 15:14:55 +00:00
itojun e0a59ddcd9 fix PR bin/22464 (hang up on kterm) 2003-08-13 15:13:46 +00:00
christos fa2d773e2e Kill select. 2003-08-13 14:13:14 +00:00
dogcow 9217e5df47 add the smoot 2003-08-12 19:03:32 +00:00
dsl 55a20c5130 Correct boundary conditions for drive table for 'systat io num'.
Correct fix for bin/18823 (which was incomplete and wrong!)
2003-08-12 17:16:53 +00:00
skrll d900731978 Resolve dlsym(3) and friends directly so that dlsym(RTLD_NEXT,...) works.
Previously dlsym resolved to the version in crt0.o or libc which would
mean that the caller's shared object couldn't be determined correctly
using __builtin_return_address(0).

Mainly from FreeBSD, but adapted by me. Benefits of this solutions are:

	- backward comptibility maintained
	- existing broken binaries are fixed with a new ld.elf_so
	- __mainprog_obj can be removed from crt0.o
	- we do the same thing as FreeBSD

Fixes PR 22067.

OKed by Jason and Christos.
2003-08-12 09:18:38 +00:00
sjg a41eaef46a Hook make unit-tests into regress 2003-08-08 06:42:38 +00:00
jdolecek f84513a754 add TNF copyright 2003-08-07 11:32:34 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
wiz 0402922a63 Sort usage, and move a word. 2003-08-07 10:04:21 +00:00
wiz 136392f22f Add arguments to options in long description. 2003-08-07 10:04:01 +00:00
jdolecek 291a252c2e need to pass flags as argument to TIOCFLUSH ioctl
fixes bin/22391 by SAITOH Masanobu
2003-08-07 07:01:09 +00:00
martin e6583feed7 Remove special case handling for $CPP and use execvp() instead.
Patch from Hiramatsu Yoshifumi in PR bin/22311, with minor cosmetic
adjustment suggested by Luke Mewburn. OK'd by Frank van der Linden.
2003-08-05 21:26:55 +00:00
grant c330a8c5ed Discs->Disks 2003-08-05 20:01:25 +00:00
lha 0fe8a8550f libkrb depend on libdes
libkrb5 depends on libasn1 and libcrypto
2003-08-05 10:45:42 +00:00
itojun 4c488f6bec always print prefixlen for routes. it's CIDR age. 2003-08-04 11:10:33 +00:00
provos ccc5fba3de Implement -iname for case insensitive matching on file names.
From freebsd/openbsd.  Approved by jaromir@, manu@, perry@.
2003-08-03 19:46:03 +00:00
jdolecek fad5af1f3b add -DHAS_ISBLANK to CPPFLAGS, so that current nawk would use our isblank(3)
instead of it's own; pointed out by Stefan Kruger in private e-mail

add rules to install the gawk info file too; it's useful to have installed,
and allows nawk to be drop-in replacement without need to adjust file lists
2003-08-03 17:19:45 +00:00
jdolecek ecb9302c7f if kvm_nlist() fails, nlisterr() would be called before the screen
curses context would be initialized; just use errx() instead in this case
this fixes coredump for cases like 'systat -N /netbsd.gz', reported by Walt
on port-i386

in nlisterr(), wait a while (5 seconds currently) before exiting, so that
it would be actually possible to actually see the error
2003-08-03 12:14:58 +00:00
jdolecek 37870ec770 mark nlisterr() as 'noreturn' 2003-08-03 11:56:57 +00:00
lukem a93ea220fc Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
lukem 46261912cf Use SCRIPTS=unifdefall.sh instead of SCRIPTS=unifdefall,
as the latter causes the .sh: rule in <sys.mk> to be used, which
leaves unifdefall in the .OBJDIR unless a CLEANFILES rule is added.
2003-08-01 11:51:14 +00:00
sjg 3dfdacc170 Avoid \a as a test of invalid separator, since if we make ksh the default
shell, we get different results.  \x seems safe.
2003-08-01 04:57:20 +00:00
sjg 86b9a219d4 Fix for TEST_MAKE from Alan Barrett 2003-08-01 03:55:59 +00:00