Age | Commit 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-17 | Major unobfuscation: split var modifiers handling to a separate file. | Marc Espie | |
This does finally make var handling somewhat readable. | |||
2000-07-17 | separate modifiers handling from Var_Parse into a separate | Marc 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-17 | Str_Match returns TRUE or FALSE, better style to test those rather | Marc Espie | |
than 1 or 0. | |||
2000-07-17 | This does replace Str_Match with a better routine, which handles negated | Marc 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-17 | Constify 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-17 | Consistency bug: for substitution should look in the same places other | Marc Espie | |
variable substitution is. | |||
2000-07-17 | o use strlcpy() where sensible | Todd 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-16 | Add -o option for printing file offset. Also some whitespace reformatting. | Hugh Graham | |
Handy. Checked by millert and niklas. | |||
2000-07-16 | make ssh-add accept dsa keys (the agent does not) | Markus Friedl | |
2000-07-15 | Always create ~/.ssh with mode 700; ok Markus | Damien Miller | |
2000-07-14 | allow leading whitespace. ok niels | Markus Friedl | |
2000-07-14 | previous two patches mixed up if/else matching | Theo de Raadt | |
2000-07-13 | close can fail on AFS, report error; from Greg Hudson <ghudson@mit.edu> | Niels Provos | |
2000-07-13 | typo; todd@fries.net | Niels Provos | |
2000-07-13 | allow multiple whitespace but only one '=' between tokens, bug report from | Niels Provos | |
Ralf S. Engelschall <rse@engelschall.com> but different fix. okay deraadt@ | |||
2000-07-12 | make whois(1) IPv6-ready. patch from deraadt + minor tweaks. | Jun-ichiro itojun Hagino | |
2000-07-12 | remove m_pulldown statistics, it is purely experimental and belongs to | Jun-ichiro itojun Hagino | |
kame system only (not for *bsd-merged systems). | |||
2000-07-11 | disable FallBackToRsh by default | Theo de Raadt | |
2000-07-11 | make MaxStartups code still work with -d; djm | Theo de Raadt | |
2000-07-10 | Typo & style fix. | Ian Darwin | |
2000-07-10 | strtok() --> strsep(). (niels@ ok) | Hakan Olsson | |
2000-07-10 | Get the correct message on errors. (niels@ ok) | Hakan Olsson | |
2000-07-10 | Xr chflags(1) | Todd C. Miller | |
2000-07-10 | Bail if getch() returns ERR. In ncurses < 5.1 getch() incorrectly | Todd C. Miller | |
returned 0 on EOF (due to a side effect of how curses buffers reads). | |||
2000-07-09 | Better conditions for strsep() ending. | Hakan Olsson | |
2000-07-09 | KNF | Theo de Raadt | |
2000-07-08 | replace strtok with strsep; from David Young <dyoung@onthejob.net> | Niels Provos | |
2000-07-08 | Add a -flags option similar to -perm but for filke flags (ala | Todd C. Miller | |
chflags). Adapted from FreeBSD. | |||
2000-07-08 | Move option flags that don't require arguments to the first of the list in | Aaron Campbell | |
the SYNOPSIS section to be more consistent with our other man pages. | |||
2000-07-07 | avoid non-formatter printf, use fputs | Theo de Raadt | |
2000-07-07 | or just use puts() instead | Theo de Raadt | |
2000-07-07 | heck, be more careful with printf here too | Theo de Raadt | |
2000-07-07 | fixed formatting in numlabels; danh | Theo de Raadt | |
2000-07-07 | If the timeout is not set, don't send a zeroed timeout to select. | Artur Grabowski | |
This solves the problem with nc hogging all cpu. | |||
2000-07-07 | sense of port forwarding flag test was backwards | Theo de Raadt | |
2000-07-07 | clean code is good code | Todd T. Fries | |
2000-07-06 | more stats | Jun-ichiro itojun Hagino | |
2000-07-06 | use %s with printf family | Theo de Raadt | |
2000-07-06 | i feel dirty whenever i edit in here | Theo de Raadt | |
2000-07-06 | do not assume h_errs[] is clean, use %s | Theo de Raadt | |
2000-07-06 | snprintf with %s when copying the pager | Theo de Raadt | |
2000-07-06 | printf with % for the prompt | Theo de Raadt | |
2000-07-06 | Insert more missing .El directives. Our troff really should identify these and | Aaron Campbell | |
spit out a warning. | |||
2000-07-06 | Insert missing .El directive; todd@ | Aaron Campbell | |
2000-07-05 | typo | Niels Provos | |
2000-07-05 | use no_x11_forwarding_flag correctly; provos ok | Theo de Raadt | |
2000-07-04 | Back out unwanted testing change | Marc Espie | |
2000-07-02 | Make the m4 machine stack dynamically sized. | Marc Espie | |
Fix strspace automatic extension. The assumption that simply updating the current pointer works is false, there are cases where previous entries on the stack would absorp vast amounts of string space, and overload the non-updated entries. To fix it, we use a shadow copy of the stack, which only records which entries are pointers within strspace, so that a resize can adjust all those pointers at once. Reviewed by millert@ |