summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2001-05-14Ensure IFile str is always intialized, so that we can free it withoutMarc Espie
problems. Bug found by wilfried@.
2001-05-14No need to use calloc gratuitously.Angelos D. Keromytis
2001-05-14Use warn() consistently.Angelos D. Keromytis
2001-05-14Use the sysctl-based diskstats for live kernels. deraadt@ okAngelos D. Keromytis
2001-05-14long -> int64_t for tty statisticsAngelos D. Keromytis
2001-05-14Remove ugly empty line.Angelos D. Keromytis
2001-05-12readlink does not NULL-terminate; mhe@home.seMarkus Friedl
2001-05-11-1 -> MAP_FAILEDArtur Grabowski
2001-05-11-1 -> MAP_FAILEDArtur Grabowski
2001-05-11add unset_nonblock for stdout/err flushing in client_loop().Markus Friedl
2001-05-11cleanupTheo de Raadt
2001-05-11Use sysctl(3) to retrieve nchstats, forkstat, nselcoll, and kmemstatsAngelos D. Keromytis
if the "default" files (running system) were specified for the ksyms and memory dump. Eventually, it won't be necessary for vmstat to be privileged.
2001-05-11Fix stray comma.Angelos D. Keromytis
2001-05-10Typo; physial -> physical.Aaron Campbell
2001-05-09fix prototype; J.S.Peatfield@damtp.cam.ac.ukMarkus Friedl
2001-05-09fix -R for protocol 2, noticed by greg@nest.cx.Markus Friedl
bug was introduced with experimental dynamic forwarding.
2001-05-08no need for xmalloc.h, thanks to espie@Markus Friedl
2001-05-08Use addargs() in sftp plus some clean up of addargs(). OK Markusmouring
2001-05-08adds correct error reporting to async connect()sMarkus Friedl
fixes the server-discards-data-before-connected-bug found by onoe@sm.sony.co.jp
2001-05-07some complex situations need those functions to be reentrant, hence noMarc Espie
static VarPatterns... Old make could use dynamic variables because everything was jumbled into one single function.
2001-05-07avoid closing the same file twice. parse module assumes ownership ofMarc Espie
file handles it's passed to. (this is apparently harmless on BSDs, but is still a bug).
2001-05-07Even though str_concati is supposed to handle intervals, it was stillMarc Espie
assuming '\0' at the end. -> importance of proper make bug reports, this was first diagnosed as a for loop issue...
2001-05-07remove waitpid-related XXX's -- this is OKTodd C. Miller
2001-05-07Avoid excessive malloc/free for select in readdata()Todd C. Miller
2001-05-07Use a smaller buffer in fmttime() since the date string is of aTodd C. Miller
known fixed size.
2001-05-07Fix select(2) usage.Todd C. Miller
2001-05-06use atomicio for flushing stdout/stderr bufs. thanks to jbw@izanami.cee.hw.ac.ukMarkus Friedl
2001-05-06cli_read() fails to catch SIGINT + overflow; from obdb@zzlevo.netMarkus Friedl
2001-05-06Use const for 'prompt'. Brought over from portable tree.mouring
2001-05-05Fix Makefile.sunos5.gcc so that it builds sup correctly on Solaris 8Todd C. Miller
Fix some -Wall found on Solaris Fix some uid_t/gid_t stuff I missed before
2001-05-05Solaris has strerror()Todd C. Miller
Remove unneeded #include <util.h> and -lutil
2001-05-05typos, grammarKevin Steves
2001-05-05Document for loop mechanics for several variables.Marc Espie
Idea taken from NetBSD. implementation completely different, as our loop implementation diverged a while back.
2001-05-04move to Channel **channels (instead of Channel *channels), fixes realloc ↵Markus Friedl
problems. channel_new now returns a Channel *, favour Channel * over channel id. remove old channel_allocate interface.
2001-05-04o kill registerTodd C. Miller
o lots of KNF o passes -Wall o fix some [ug]id_t vs. int issues o use strlcpy/strlcat in favor of strncpy/strncat o use mem* routines everywhere instead of old b* ones o marked several questionable things for later fixing o kill ci.c and cvt.c -- we don't use them o kill read_line.c since it requires fgetln() (bad for portability) o kill salloc.c since it is the same as strup() o Replaced some #ifdef __OpenBSD__ with better tests o remaining problems: malloc return values are rarely checked, select misuse
2001-05-04Cleanups in filename and buffer name handling.Artur Grabowski
Mostly just using libc instead of rolling our own.
2001-05-04Qick fix for an overflow in C-X C-B.Artur Grabowski
This function needs a lot of work.
2001-05-04handle kvm_nlist() failing, from pr#1798.Eric Jackson
Patch similar to the one submitted by <peterw@documenta.com.au>
2001-05-04channel_new() reallocs channels[], we cannot use Channel *c after callingMarkus Friedl
channel_new(), XXX fix this in the future...
2001-05-04typosKevin Steves
2001-05-04GAPING_SECURITY_HOLE was removed so there is no -e option.Todd C. Miller
Removed from man page and usage; closes PR 1808
2001-05-03Move colon() and cleanhost() to misc.c where I should I have put it inmouring
the first place
2001-05-03remove "\n" from fatal()Kevin Steves
2001-05-03Fix another annoying feature in mg. When I try to use the keypad toArtur Grabowski
escape from I-search (I don't know if it's legal, but it works in emacs) the initial ESC in the sequence is caugth by I-search (which exits), but not the rest of it which ends up written into the buffer. This is extra annoying when we don't have undo. Note that this is better than emacs because the ESC is removed if nothing indicating a multi-char sequence comes within 300 miliseconds. (Try to ESC from I-search in emacs and then press 'x').
2001-05-03Add a delay (in miliseconds) argument to ttwait.Artur Grabowski
2001-05-03exec shell -c /bin/sh .ssh/sshrc, from abartlet@pcug.org.auMarkus Friedl
2001-05-03typo in debug() stringKevin Steves
2001-05-03Bump bootstrap stuff from op-make. Mostly from fries@Marc Espie
2001-05-03Minor manpage tweaksMarc Espie
2001-05-03Synch with my current work.Marc Espie
Numerous changes: - generate can build several tables - style cleanup - statistics code - use variable names throughout (struct Name) - recursive variables everywhere - faster parser (pass buffer along instead of allocating multiple copies) - correct parser. Handles comments everywhere, and ; correctly - more string intervals - simplified dir.c, less recursion. - extended for loops - sinclude() - finished removing extra junk from Lst_* - handles ${@D} and friends in a simpler way - cleaned up and modular VarModifiers handling. - recognizes some gnu Makefile usages and errors out about them. Additionally, some extra functionality is defined by FEATURES. The set of functionalities is currently hardcoded to OpenBSD defaults, but this may include support for some NetBSD extensions, like ODE modifiers. Backed by miod@ and millert@, who finally got sick of my endless patches...