summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
1999-12-30login already decleared in util.hEric Jackson
1999-12-29check for NULL 1stMarkus Friedl
1999-12-28Add necessary include files.Angelos D. Keromytis
1999-12-27check format string for packet_disconnect and packet_send_debug, tooMarkus Friedl
1999-12-27use packet_get_maxsize for channels. consistence.Markus Friedl
1999-12-26For loops are no longer that bad.Marc Espie
However, I found some more oddities while going through the scanner...
1999-12-25remove ref to .ssh/random_seed, mention .ssh/environment in .Sh FILES, tooMarkus Friedl
1999-12-23no need for obj dir at all; millert@ okMichael Shalayeff
1999-12-22Add yet another case when user matching is disabled.Jason Downs
1999-12-21Recursive definitions are not the real problem.Marc Espie
Trying to expand them is. So flag obvious recursive definitions for later, and give an error only if we expand them. (Some gnu-m4 files, including autoconf, do define some macros with themselves as the replacement text, for use in test-if-set patterns) Since type is no longer MACRTYPE, those macros end up in builtins... but this is not a problem, since expanding them is an error.
1999-12-21Use MAP_PRIVATE for mmap() flags instead of 0. With UVM this defaultsTodd C. Miller
to MAP_PRIVATE anyway but we want to avoid the kernel complaining...
1999-12-20it looks perror("") has no effect in most cases.Jun-ichiro itojun Hagino
use strerror(errno) and format it on our own.
1999-12-20say "REMOTE HOST IDENTIFICATION HAS CHANGED"Markus Friedl
1999-12-20Oops, forgot ports/protocol numbers.Angelos D. Keromytis
1999-12-20Correctly print IPv6 addresses in IPsec flows.Angelos D. Keromytis
1999-12-19Rearrange Lst_Find interface to conform better with other functions.Marc Espie
1999-12-18Nothing ever checks ReturnStatus on Lst_Insert, Lst_Append, Lst_AtFront,Marc Espie
Lst_AtEnd, Lst_Concat, Lst_Remove, Lst_Replace. Don't bother returning one.
1999-12-18Lst_DeQueue already checks for empty lists.Marc Espie
1999-12-18NIL, NILGNODE, etc, are only glorified NULL.Marc Espie
Get rid of them. Get rid of list.h, nothing uses it anyway.
1999-12-18make does not use circular lists, get rid of the extra weight.Marc Espie
1999-12-17grammar; one instance found by NetBSDPaul Janzen
1999-12-16Bugfix: execvp might fail for many reasons.Marc Espie
Perform an explicit ENOENT check to keep the same error message for known cases.
1999-12-16Var_Subst is actually two distinct functions folded into one:Marc Espie
split the function specific to for.c out, and give them more sensible arguments at the same time. This makes .for loop handling more efficient, as we have some heuristic to evaluate the size of the buffer needed...
1999-12-16remaining part of the previous patch... patch got confused somehow.Marc Espie
1999-12-16for.c becomes sane.Marc Espie
- split For_Eval into For_Eval (first line of loop) / For_Accumulate (remaining lines). - encapsulate state into a For structure, instead of brain damaged static variables that need copy. Very minor performance hit, specifically, For structure is allocated with malloc/free, instead of playing tricks with static/auto variables.
1999-12-16Allocate buffers as static data structures.Marc Espie
This cuts down quite a lot of malloc, since in actual use, buffer usage is mostly static.
1999-12-16Fix those two bugs in cond.c.Marc Espie
- CondGetArg needs to differentiate between empty strings and problems. Returning problems as a separate boolean is cleaner anyway. - Fix error in conditional parser which would overstep the ending 0, so that a second zero would be needed.
1999-12-16Remove unneeded extraneous zeros at the end of buffers.Marc Espie
Actually, one of these needs to be there, because of two bugs in cond.c
1999-12-16Remove redundant fields from struct Buffer.Marc Espie
1999-12-16Split Buf_GetAll into Buf_Retrieve/Buf_Size.Marc Espie
(idiotic to retrieve size every time when it's used half the time)
1999-12-16Start cleaning up buf.c in earnest.Marc Espie
- Buf_Discard is only used to remove all the bytes in a buffer, replace with Buf_Reset, - buffer values are not read unless accessed first through Buf_GetAll, no need to null-terminate it at every point. - Buf_Expand need not check if the expansion is needed. That's Buf_AddChar and Buf_AddChars responsability (otherwise, Buf_AddChar checks twice) - Buf_Overflow only handles overflow. Adding the character is done in every case anyway.
1999-12-15these strcpy are fineTheo de Raadt
1999-12-15"Connection closed by x.x.x.x": fatal() -> log()Markus Friedl
1999-12-15keysize warnings talk about identity filesMarkus Friedl
1999-12-15Be more verbose about when system immutable flags may be set/cleared.Aaron Campbell
1999-12-15usage cleanupTheo de Raadt
1999-12-15safe strcpyTheo de Raadt
1999-12-15overflow safeTheo de Raadt
1999-12-15does not overflowTheo de Raadt
1999-12-12type conflict for 'extern Type *options' in channels.c; dot@dotat.atMarkus Friedl
1999-12-12install infotocap.1Todd C. Miller
1999-12-12Update to ncurses-19991211:Todd C. Miller
o treat as untranslatable to termcap those terminfo strings which contain non-decimal formatting, e.g., hexadecimal or octal. o correct commented-out capabilities that cannot be translated to termcap, which did not check if a colon must be escaped. o correct termcap translation for "%>" and "%+", which did not check if a colon must be escaped, for instance. o use save_string/save_char for _nc_captoinfo() to eliminate fixed buffer (originally for _nc_infotocap() in 960301 -TD). o correct expression used for terminfo equivalent of termcap %B, adjust regent100 entry which uses this. o some cleanup and commenting of ad hoc cases in _nc_infotocap(). o eliminate a fixed-buffer in tic, used for translating comments. o add manpage for infotocap.
1999-12-12widen output formatting a bitHugh Graham
1999-12-11Add a perror() in reporting failure to connect.Angelos D. Keromytis
1999-12-11IPv6 support for finger client.Jun-ichiro itojun Hagino
1999-12-11namebuflen not sizeof namebuflen; bnd@ep-ag.com via djm@mindrot.orgMarkus Friedl
1999-12-11IPv6/IPv4 dual stack support. uses getaddrinfo() and getnameinfo()Jun-ichiro itojun Hagino
throughout the code so please look at it with care (for auditing). XXX source routing is not available for IPv6 (even before I modify, it was not available for IPv4 anyways)
1999-12-10sudo 1.6.1Todd C. Miller
1999-12-10typo; mark.baushke@solipsa.comNiels Provos
1999-12-09Split some allocation/error handling functions out of main.cMarc Espie