summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-07-17- let VarModifiers_Apply accept NULL string gracefully,Marc Espie
- simplify Var_Parse: use varfind, then leverage on the result to recognize `special case' dynamic parsing. VarModifiers_Apply need to be called on NULL strings, to be able to parse modifiers applied to non-existent variables. (Alternately, we could call VarModifiers_Apply on a dummy string, but this is less efficient).
2000-07-17Major unobfuscation: split var modifiers handling to a separate file.Marc Espie
This does finally make var handling somewhat readable.
2000-07-17separate modifiers handling from Var_Parse into a separateMarc Espie
VarModifiers_apply function. for env lookup, create variable structure first, so that we can get away without terminating the variable name in main Var_Parse.
2000-07-17Str_Match returns TRUE or FALSE, better style to test those ratherMarc Espie
than 1 or 0.
2000-07-17This does replace Str_Match with a better routine, which handles negatedMarc Espie
intervals, and \\ in intervals. Accordingly, var.c no longer needs to copy the :Marg to replace \: with : We don't use fnmatch(3) because of various optimizations which are harder to achieve in a generic setting. Also add regression suite for the Str_Match function.
2000-07-17Constify a few functions, propagated from VarModify.Marc Espie
Replace a few int -> size_t Reviewed by miod@
2000-07-17- recognize that FIND_CMD and FIND_GLOBAL are always used together,Marc Espie
- introduce VarFind_interval function. This avoids having to copy variable names in VarParse, - expose internals of VarFind* function (not used yet, but this will avoid multiple lookups in VarParse), - constify a few functions. Reviewed by miod@
2000-07-17Consistency bug: for substitution should look in the same places otherMarc Espie
variable substitution is.
2000-07-17+makeMarc Espie
2000-07-17make regression tests.Marc Espie
Some of these we don't even pass, currently.
2000-07-17fixed incorrect reference to mirroring-distfiles(7) to mirroring-ports(7).Dan Harnett
2000-07-17 o use strlcpy() where sensibleTodd C. Miller
o when trying to login as root on a non-secure tty always say "login refused" regardless of whether the password is correct or not
2000-07-17art, at least commit something which compiles!Theo de Raadt
2000-07-17Don't wait for B_READ buffers on shutdown.Artur Grabowski
From NetBSD.
2000-07-17FORK_SHAREVM only works on non-UVM kernels.Artur Grabowski
Pointed out by miod@
2000-07-17Oops.Artur Grabowski
2000-07-17Be more careful about return values from hzto.Artur Grabowski
2000-07-16Add -o option for printing file offset. Also some whitespace reformatting.Hugh Graham
Handy. Checked by millert and niklas.
2000-07-16Stronger caveat wrt stack smashing via % escapes. Each man pageTodd C. Miller
carries the same caveat...
2000-07-16Consistent COPTSMarc Espie
2000-07-16make ssh-add accept dsa keys (the agent does not)Markus Friedl
2000-07-16don't pull sys/queue.h in. sync better with kame.Jun-ichiro itojun Hagino
2000-07-16non-UVM doesn't even bootMarc Espie
2000-07-15Build shared libraries as expected for the new libexec/ld.so. CurrentlyDale S. Rahn
this is only used for the powerpc. The difference between this and the mips (both ELF) is that powerpc expects the soname field to be libX.{major}.{minor} and is to be built from the _pic version of the library.
2000-07-15When modifying users and not specifying a new GID, don't arbitrarilyHakan Olsson
reset it to the default GID, keep the old one. Further, when given a new home dir, actually use it. Fixes PR #1318.
2000-07-15sync with latest kame.Jun-ichiro itojun Hagino
- correct possible realloc memory leak. - remove obsolete non-advanced api support (!ADVAPI) - do not overwrite routing entry, when -A is specified (exit with error).
2000-07-15Always create ~/.ssh with mode 700; ok MarkusDamien Miller
2000-07-15fix more ch* in listsTheo de Raadt
2000-07-14 allow leading whitespace. ok nielsMarkus Friedl
2000-07-14syncTheo de Raadt
2000-07-14syncTheo de Raadt
2000-07-14correct ch* things mickey forgotTheo de Raadt
2000-07-14these are audio driversTheo de Raadt
2000-07-14comment on neomagic businessTheo de Raadt
2000-07-14on a SparcStation Voyager, the 2nd zs device does not exist.Theo de Raadt
2000-07-14syncTheo de Raadt
2000-07-14Document REFETCH, network configuration,Marc Espie
using a read-only ports tree.
2000-07-14add wscons manuals, from laconicaMichael Shalayeff
2000-07-14raw import of raw ws* manpages; weasels are ripping my fleshMichael Shalayeff
2000-07-14Enable interrupts after configuration phase.Miod Vallat
2000-07-14Use generic m68k code when possible ; do not enable interrupts atMiod Vallat
startup. From NetBSD
2000-07-14Remove unneeded definitionsMiod Vallat
2000-07-14Remove unneeded definitionMiod Vallat
2000-07-14Move splXXXX() stuff from <machine/param.h> to <machine/psl.h>, andMiod Vallat
define more inline functions for dealing with this. From NetBSD
2000-07-14Let config(8) know we can use 16 partitions per label nowMiod Vallat
2000-07-14previous two patches mixed up if/else matchingTheo de Raadt
2000-07-14ppc_intr_enable change that was previously missed in checkins.Dale S. Rahn
2000-07-13close can fail on AFS, report error; from Greg Hudson <ghudson@mit.edu>Niels Provos
2000-07-13typo; todd@fries.netNiels Provos
2000-07-13allow multiple whitespace but only one '=' between tokens, bug report fromNiels Provos
Ralf S. Engelschall <rse@engelschall.com> but different fix. okay deraadt@