summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2000-09-26more cleanup and have nlog() deal with errno now as well.Eric Jackson
2000-09-26no need to reset h_errnoEric Jackson
do the cmdline correctly, deal with \n and \t fix up nlog() use arc4random instead of srandom()/random()
2000-09-26Remove unnecessary arguments to .Nm macro.Aaron Campbell
2000-09-26Do not permit non-printable characters in the passwd file; deraadt@ okAaron Campbell
2000-09-26fix minor typoEric Jackson
2000-09-26no need to use goto..Eric Jackson
2000-09-26Implement a function for errorsEric Jackson
it pays attention to h_error so we now have no need to handle this ourselves.
2000-09-26some warnings should only be shown with -vEric Jackson
2000-09-26remove -e option, which wasnt on anywayEric Jackson
2000-09-26Alot of cleanups to netcatEric Jackson
use errx/warn instead of homegrown functions indent properly to make the code readable get rid of generic.h as its not used dont declare optarg register is depreciated get rid of undocumented options -a and -e throw out IP_OPTIONS code for now, its not on by default and doesnt work properly make usage more like other bsd commands
2000-09-22- move break from loop on EOF in order to make cap_mkdb not ignore the finalChristian Weisgerber
record in terminfo mode - while we're here fix indentation, spelling okay millert@
2000-09-21add context to dispatch_runMarkus Friedl
2000-09-21change login logic in ssh2, allows plugin of other auth methodsMarkus Friedl
2000-09-21utime() to utimes(); mouring@pconline.comMarkus Friedl
2000-09-21bug compat for old ssh.com softwareMarkus Friedl
2000-09-21typoMarkus Friedl
2000-09-21typoMarkus Friedl
2000-09-20use TM_YEAR_BASE and set seconds to zero in obsolescent "compatibility" case;Paul Janzen
from NetBSD.
2000-09-20usage() if too many argumentsPaul Janzen
2000-09-20Change the message if the S/Key sequence has expired. millert@ okPaul Janzen
2000-09-20fix pasto and comma splicePaul Janzen
2000-09-20Y2K fix for obsolescent time format: found by Camiel Dobbelaar.Paul Janzen
2000-09-19Display SPD entries.Angelos D. Keromytis
2000-09-17yes no; ok niels@Markus Friedl
2000-09-17fix DEBUG_KEXDHMarkus Friedl
2000-09-15check return value for setenv(3) for failure, and deal appropriatelyTheo de Raadt
2000-09-14typoMarkus Friedl
2000-09-14This kills the last old hashing table, in arch.cMarc Espie
Slight optimizations: instead of storing archive members, just keep the modification time, as we don't care for the rest of the archive information. Lazily compute mtime, stash ascii date instead, and convert to mtime when needed (storing an out_of_date value to mark the unconverted values). Archive handling is atrocious and need some clean-up. Thanks to miod@ who took the time to review those patches.
2000-09-14Introduce a few macros to handle timestamps in an abstract way.Marc Espie
Replace the time stamp hash in dir.c with an open hashing structure. In doing so, remove some nasty casts, simplify code a bit: Dir_MTime can return a modification time, since make does not make a distinction between out-of-date and non-existent files.
2000-09-14Replace the old hash used to hold file names within a directory withMarc Espie
open hashing. An interesting optimization is that the open hashing interface is more fine-grained, hence we can compute the correct hash value at the start of Dir_FindFile, and reuse it for each hash structure into which we look (the effect is measurable on large directories along with objdir/VPATH). Remove a few unnecessary Lst_Open/Lst_Close that serve no purpose except obfuscating the code. The interface to dir.h changes slightly, hence tedious includes changes...
2000-09-14- new DirReadDir internal function, that just reads a directory fromMarc Espie
the disk or from a cache. - use it in Dir_AddDir, and directly to set up dot. - change Dir_AddDir to use string intervals, as this simplifies dependend functions. - set up an open-hashing cache for opened directory names. - add_dirpath() function in main, to simplify code. - simplify cleaning-up directories, as Dir_ClearPath is overkill.
2000-09-14Use the new hash scheme to store the target nodes.Marc Espie
Scrap the list of all targets: it only slows make down. The only visible difference is that the list of all targets is not shown in order when debugging.
2000-09-14Clean-up, systematic use of UNUSED, white space...Marc Espie
2000-09-14Two new functions:Marc Espie
iterate_words: light-weight equivalent to brk_string, which does not need to copy the string, and does not do \ interpretation which are only needed for the string. escape_dup: handles escape sequence in a systematic way. This speeds up variable modifiers. This also makes .for loops more consistent, as they use the same definition of `a word' as the rest of make.
2000-09-14Some systematic clean-up.Marc Espie
- UNUSED macro that expands to __attribute__((unused)) for gcc - move rcsid around so that they can be tagged UNUSED. - activate -Wunused. - use UNUSED instead of kludgy junk for function arguments. - add extern to all extern prototypes. - update comments in lst.h. - clean up var.c a little bit, constifying arguments, updating comments...
2000-09-12multiple debug levelsMarkus Friedl
2000-09-12a few more comments about it being ARC4 not RC4Theo de Raadt
2000-09-12work around Art's lack of testingTheo de Raadt
2000-09-08bye byeMarkus Friedl
2000-09-08gravitational data from April 2000 APS meetingPaul Janzen
2000-09-07some more Copyright fixesMarkus Friedl
2000-09-07typoMarkus Friedl
2000-09-07cleanup window and packet sizes for ssh2 flow control; ok nielsMarkus Friedl
2000-09-07cleanup copyright notices on all files. I have attempted to be accurate withTheo de Raadt
the details. everything is now under Tatu's licence (which I copied from his readme), and/or the core-sdi bsd-ish thing for deattack, or various openbsd developers under a 2-term bsd licence. We're not changing any rules, just being accurate.
2000-09-07use err*() correct, and open file with egid; fyre@users.sourceforge.netTheo de Raadt
2000-09-07bogus comment policeTodd T. Fries
2000-09-06prototypeMarkus Friedl
2000-09-05cleanupMarkus Friedl
2000-09-05enable ssh-add -d for DSA keysMarkus Friedl
2000-09-05print hostname (not hushlogin)Markus Friedl