Commit Graph

10663 Commits

Author SHA1 Message Date
plunky 60e7a7b128 add translation for "802.1Q" ethertype 2009-11-22 18:53:44 +00:00
wiz af753b56d3 New sentence, new line; remove trailing whitespace. 2009-11-19 06:48:37 +00:00
sjg 9772f81de8 Add .unexport - the exact opposite of .export
and .unexport-env which unexport's all previously .export'd globals
as well as clearing environ[].
Allow's sys.mk near total controll.

Reviewed by: apb
2009-11-19 00:30:25 +00:00
sjg b87966b319 PR: make.unexport
Reviewed by:
2009-11-19 00:30:24 +00:00
sjg f3c8b50aa4 Add .unexport - the exact opposite of .export
and .unexport-env which unexport's all previously .export'd globals
as well as clearing environ[].
Allow's sys.mk near total controll.

Reviewed by: apb
2009-11-19 00:30:24 +00:00
skrll 77fd7698f3 Make _rtld_pagesz of type size_t.
Fixes round_down for alpha which made ldd(1) break.
2009-11-17 18:44:33 +00:00
drochner 884c70cd50 ANSIfy, sprinkle "const" in some obvious cases 2009-11-17 18:31:12 +00:00
drochner 51f9e504fe kill a stray semicolon which made that the "-p <cmd>" option in
POSIX mode didn't work as expected
2009-11-16 19:40:17 +00:00
lukem 7f19467717 Crank version to 20090915:
* rename internal getline() to get_line() to avoid conflict with libc
* avoid NULL deref in verbose output in an error path
* improve man page markup
2009-11-15 10:03:16 +00:00
tron 87a288ba6f Don't assume that "id_t", "gid_t" and "uid_t" use the same underlying type
and use the appropriate types instead. Tested under NetBSD 5.99.22
and Darwin 10.2.0.

This should fix one of the cross-builds under FreeBSD as reported by
Rhialto on the "current-users" mailing list.
2009-11-12 10:10:49 +00:00
joerg 2ec9715635 Do not use \." for comments, always use .\". Discussed with uwe@. 2009-11-12 00:43:52 +00:00
dsl fe39abeba9 Clarify (hopefully) the description of -remove.
Fixes PR/38987
2009-11-06 21:03:12 +00:00
dsl c85c5e109a Report lines that ought to contain a ':' operator but start with a '.'
as "Unknown directive" sinze they are more likely to be .elseif (etc).
Lets me close PR/37222!
2009-11-06 20:20:56 +00:00
dsl 9e7c371385 Change enum values so that TOK_FALSE is 0 and TOK_TRUE is 1.
Use this fact to remove loads of ? : clauses.
2009-11-06 19:44:06 +00:00
joerg 2b8a053617 Retire __SCCSID. It has only archeological value now. Also retire lint
conditional around __RCSID, lint can handle that fine.
2009-11-06 18:34:22 +00:00
joerg 98712b66ed Fix __progname mess. 2009-11-06 15:13:27 +00:00
dsl ff86378d52 Allow display intervals > 25 seconds.
Fixes PR/36999
I did contemplate chaging curses - but the code is replicated and warped.
2009-11-04 21:46:24 +00:00
dsl 57843c1579 Correctly count number of chars output so that help isn't blank if the
terminal is too narrow.
Not ideal since the last command isn't shown on 80 column terminals.
2009-11-01 22:08:14 +00:00
joerg c2ab44f7a7 Always define _PATH_DIVNAME to the Unix version. Drop UNIQUE.
Fixes build on Mac OS X.
2009-10-31 23:25:04 +00:00
joerg 17c3d35d69 Only trust STRIP from environment if it is non-empty. Some packages set
STRIP in Makefiles and that makes install -s fail badly. OK apb@
2009-10-30 20:57:30 +00:00
uebayasi 4effe2d8e0 Now that YYSTYPE yyval is not global, use yylval from within yylex(). 2009-10-30 15:09:24 +00:00
joerg 0a4531336b Fix markup. 2009-10-30 01:40:45 +00:00
christos 2853bbf4b7 use %option instead of #define YY_NO_... 2009-10-29 14:49:02 +00:00
christos e2f4586574 option noinput 2009-10-29 14:37:56 +00:00
christos be9443776f option noinput nounput 2009-10-29 14:37:16 +00:00
christos 926a7cc331 option noinput 2009-10-29 14:35:25 +00:00
christos 3cd2e75890 unhook yacc 2009-10-29 01:01:17 +00:00
christos ba79df8804 put all the YY_NO in one place. 2009-10-28 22:22:44 +00:00
christos 6ed80d5bb1 no unput 2009-10-28 22:09:02 +00:00
christos cbf0b9da9a more no unput 2009-10-28 21:42:47 +00:00
christos 350212331d Handle nbtools build better. 2009-10-28 12:59:24 +00:00
christos c2261f6766 don't '#define yywrap() 1', use '%option noyywrap'. This is because the
#define is doomed to failure if --prefix is used.
2009-10-28 02:42:20 +00:00
christos a1b53986b9 unhook lex 2009-10-26 21:37:10 +00:00
christos c6ea3d2acf fix the tools build 2009-10-26 21:16:49 +00:00
christos 315c7490d2 fix compilation. 2009-10-26 21:14:18 +00:00
christos 7b2c561b05 fix prototype 2009-10-26 21:12:47 +00:00
christos f3efdb75c5 resolve conflicts. 2009-10-26 21:11:28 +00:00
christos 71dafaa1f2 Import new m4 from OpenBSD. 2009-10-26 21:08:59 +00:00
christos d79895b899 put back lex 2009-10-26 04:09:45 +00:00
christos 6beb933941 unhook old flex. 2009-10-26 01:18:19 +00:00
wiz 50a251ce93 Match directory extraction output with Infozip. 2009-10-25 20:14:50 +00:00
wiz 467a0fa1ae Bump date for uarea swap-out removal. 2009-10-21 22:18:37 +00:00
rmind 40cf6f3659 Remove uarea swap-out functionality:
- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code.  Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.
2009-10-21 21:11:57 +00:00
joerg 6e3add81a1 Do not try to mmap a zero length file. 2009-10-21 17:16:11 +00:00
wiz d5ecf43f6a Fix problems with SIGWINCH. From Paul Ripke in PR 42161. 2009-10-21 13:56:36 +00:00
snj 550147bd6a Remove 3rd and 4th clauses in christos' license. OK christos. 2009-10-21 01:07:44 +00:00
snj 4968c04d96 Move Eduardo Horvath's license to 2 clause. OK eeh@. 2009-10-19 18:12:37 +00:00
snj 065c5ae0d0 Move Matthias Pfaller's files to 2-clause license. OK matthias@. 2009-10-18 18:13:59 +00:00
christos 949a1d1b55 use system to parse args 2009-10-17 22:36:23 +00:00
wiz da3d98a56d New sentence, new line. Remove trailing whitespace. 2009-10-17 22:28:33 +00:00