summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-11vsystem, system, unlink can mostly go through state, and do the ->clear partMarc Espie
as well.
2009-11-11remove extra warningsMarc Espie
2009-11-11remove redirector: if we want to run system AND log, just say soMarc Espie
2009-11-11fix setup_header in -vx !-r case: show we are adding a package, and don'tMarc Espie
show it twice.
2009-11-11don't use Warn if we've got a $state, get through errprint/errsay.Marc Espie
Also: reset lastdisplay on clear, and don't clear twice.
2009-11-11also get most STDERR messages through the same wayMarc Espie
2009-11-11progressmeter puts STDOUT in autoflush if -t, so that it can display to it ↵Marc Espie
instead of piping a lot of stuff to STDERR. Go through state->print for most messages, so they will NOT do weird things with the progressmeter. Use a ->say shortcut which does the same thing that perl 5.10 say does...
2009-11-11Fix crlf issue in buf_getln, similar to that in smtp_session.c r1.123.Jacek Masiulaniec
ok gilles@
2009-11-11improve buf_getln readability, no fuctional change.Jacek Masiulaniec
2009-11-11state->progress->print => $state->printMarc Espie
2009-11-11make things so that $state->print always work, with or without progressmeter,Marc Espie
even before we set it up.
2009-11-11remove forwarders, and provide a sensible API that says what's going onMarc Espie
(e.g., we're logging information for later).
2009-11-11bad idea to inherit from Error, compose object insteadMarc Espie
2009-11-11Fix some memory leaks in error cases.Jonathan Gray
Found by parfait. ok henning@
2009-11-11Ensure all replies are at least 4 chars long. If only 3 chars wereJacek Masiulaniec
received, append a space character. This enables other parts of the daemon to safely index into 4th character of the reply buffer without the risk of accessing one byte beyond NUL. ok gilles@
2009-11-11add missing headers needed by time()Charles Longeau
ok jacekm@
2009-11-11Only need to chmod +x or -x the socket when a client is created, lost orNicholas Marriott
attached, rather than every event loop.
2009-11-11Fix an obvious use after free. Found by parfait. Reported and OK jsg@Claudio Jeker
2009-11-11Regress for skipping evaluation of else-type conditional if previousFederico G. Schwindt
corresponding one evaluted to true. espie@ ok.
2009-11-11If this is an else-type conditional and previous corresponding oneFederico G. Schwindt
evaluated to true, skip. tested by simon@ and myself. espie@ ok.
2009-11-11Pass the structure by reference. pointed out and ok by miod@Federico G. Schwindt
2009-11-10Use buffered fwrite(3) to build the udl Huffman table,Marco Pfatschbacher
rather than doing 131074 write(2)s. OK mglocker, deraadt.
2009-11-10Handle LOMlite2 in an interrupt-driven way; avoids using delay(9) once theMark Kettenis
machine is up and running.
2009-11-10syncTheo de Raadt
2009-11-10tweak previous;Jason McIntyre
2009-11-10There is no real standard for modifier plus function keys. Previously, tmuxNicholas Marriott
output some from rxvt but in other ways did the same as xterm or other terminals, but this is a bit inconsistent. xterm's method is fairly sensible and we already support it (xterm-keys), so enable it by default instead.
2009-11-10Don't output rxvtisms either.Nicholas Marriott
2009-11-10Twiddling the last bit is an rxvtism, so do not support it in the table byNicholas Marriott
default.
2009-11-10Whoops, this is needed for last commit as well.Nicholas Marriott
2009-11-10Lookup key as a named key (eg 'Space') before checking for single characterNicholas Marriott
keys, makes C-Space/M-Space etc resolve to the correct key code.
2009-11-10Might as well roff iockbc.4Miod Vallat
2009-11-10Add iockbc(4), a driver for the PS/2 keyboard and mouse interface found onJoel Sing
ioc(4) devices. Joint work with miod@. Committed from the glass console on an SGI Fuel.
2009-11-10Don't return 1 unless there was actually a problem (signal/lost server) ratherNicholas Marriott
than for all events (normal exit/detach/etc).
2009-11-10Eliminate space after colon in "RCPT TO:" as required by RFC.Jacek Masiulaniec
2009-11-10In absence of the ehlo parameter, generate one based on locallyJacek Masiulaniec
bound IP address ("EHLO [1.2.3.4]") as dictated by RFC. ok gilles@
2009-11-10Fix indentation.Joel Sing
2009-11-10In relay case, avoid freeing garbage pointer by copying the required structJacek Masiulaniec
from the temporary imsg buffer. ok gilles@
2009-11-10zap old APIMarc Espie
2009-11-10kill more unused codeMarc Espie
2009-11-10remove dead code: as far as possible, we use onlyMarc Espie
match_locations/filter_locations since we deal with location. external API only uses spec->filter(), so we keep that one. We still need the generic match/filter adapters for Stem searches.
2009-11-10bad espie: use strict/warnings consistently, and fix two nits and twoMarc Espie
actual errors !
2009-11-10proposing details when we remove one single package is ridiculousMarc Espie
2009-11-10switch to match_locations, and so we can use choose_location, yippee!Marc Espie
2009-11-10tweak doc to only reference location objectsMarc Espie
2009-11-10zap matchMarc Espie
2009-11-10zap matchMarc Espie
2009-11-10remove a stale comment from a previous revision of the diff iDavid Gwynne
committed. i hate comments. i read and change the code and then forget about the comments. pointed out by krw@
2009-11-10kill one use of old-style matchMarc Espie
2009-11-10zap handle method, we finally no longer use it.Marc Espie
2009-11-10dont compare devids when we dont have a devid to compare with.David Gwynne
DEVID_CMP now evaluates to false if the devids are NULL. some stupid devices dont understand luns, so we have code that detects when the device at lun 0 also appears at luns 1, 2, 3, and so on. this check is short circuited if the devices report different devids. no devids isnt the same as different devids though. found by okan@ on ciss (which currently ignores luns). tested by krw@ marco@ johan@ okan@ ok krw@ marco@