aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
Commit message (Expand)AuthorAgeFilesLines
* Stylistic fixes: push variable into a local context (this part is goingHartmut Brandt2005-02-111-10/+12
* Convert several instances of negative logic to positive logic.Hartmut Brandt2005-02-111-85/+84
* Buffers are already NUL-terminated so there is no need to explicitely addHartmut Brandt2005-02-101-1/+0
* Mostly stylistic nits in preparation for splitting up Var_Parse:Hartmut Brandt2005-02-101-15/+19
* Fixed usage().Ruslan Ermilov2005-02-101-2/+3
* Require at least one argument.Ruslan Ermilov2005-02-102-10/+6
* Let the buffer just use the default size by specifying 0 as the sizeHartmut Brandt2005-02-101-1/+1
* Mark the modification of the input string (which should really be const)Hartmut Brandt2005-02-101-1/+1
* Style nits:Hartmut Brandt2005-02-101-7/+13
* Describe a pre-condition of Var_Parse().Hartmut Brandt2005-02-101-0/+3
* Remove a comment that's not actual anymore.Hartmut Brandt2005-02-101-3/+0
* Fix spacing by converting mixes of space and tab to tab. Also add a numberHartmut Brandt2005-02-104-41/+46
* Initialise the status variable. W_SETTERMSIG uses its value.Hartmut Brandt2005-02-101-0/+1
* Lst_Append returns void, so the other case of the ? statementHartmut Brandt2005-02-101-1/+1
* back out 1.7 changes, unneeded and possibly wrong.Alfred Perlstein2005-02-101-9/+6
* Turn K&R functions into prototypes.Stefan Farfeleder2005-02-101-17/+6
* Let the generated code include <string.h> instead of <memory.h>.Stefan Farfeleder2005-02-101-2/+2
* Use defines for character constants for open and closing braces andHartmut Brandt2005-02-091-11/+22
* Fixed the misplaced $FreeBSD$.Ruslan Ermilov2005-02-092-23/+25
* While working on constification temporarily disable -Werror. Things are tooHartmut Brandt2005-02-091-0/+1
* Untangle VarFind and, while rewriting most of the function, fix theHartmut Brandt2005-02-091-45/+51
* Introduce VarCreate and VarDestroy functions and used them whereHartmut Brandt2005-02-091-58/+51
* Include missing headers.Stefan Farfeleder2005-02-094-0/+6
* Avoid usage of implicit int.Stefan Farfeleder2005-02-071-1/+2
* Include <stdlib.h> for exit().Stefan Farfeleder2005-02-071-0/+1
* Add a prototype for localupdate().Stefan Farfeleder2005-02-071-0/+1
* Remove an unneeded check.Hartmut Brandt2005-02-071-1/+4
* Introduce a typedef for variable value modifation functions and use itHartmut Brandt2005-02-072-14/+12
* Make the intention of a loop clearer.Hartmut Brandt2005-02-071-4/+5
* Introduce Buf_StripNewLines() and use it where appropriate.Hartmut Brandt2005-02-076-58/+70
* Fix bugs in the previous commit.Ruslan Ermilov2005-02-071-2/+2
* Invent a Buf_AppendRange function that appends a non-NUL-terminated stringHartmut Brandt2005-02-076-12/+22
* Invent a Buf_Append function to append a NUL-terminated stringHartmut Brandt2005-02-077-39/+43
* Revamp several Makefile nits:Xin LI2005-02-071-2/+3
* Finish the import of nc(1) from OpenBSD. This includes:Xin LI2005-02-061-0/+11
* Where the returned line length from Buf_GetAll is not used just passHartmut Brandt2005-02-042-6/+3
* Rewrite of the buf code:Hartmut Brandt2005-02-042-169/+95
* Save last displayed file by having the "last" pointer global and save itXin LI2005-02-041-6/+8
* None of the users of Buf_Discard used it to get rid of only a part ofHartmut Brandt2005-02-044-28/+13
* Inline the ADDWORD() macro in the two places where it is used. It justHartmut Brandt2005-02-041-10/+11
* Use _exit() instead of exit() when the exec() after a vfork() fails.Hartmut Brandt2005-02-041-1/+1
* Move PrintAddr() from util.c into suff.c - the only file where it isHartmut Brandt2005-02-043-12/+17
* General whitespace cleanup: remove mixes of tabs and spaces, removeHartmut Brandt2005-02-047-86/+85
* Minor cleanup: make brk_string to return argc only if the pointer to itHartmut Brandt2005-02-042-15/+6
* Further constification. Use a temporary hack (copying the input string)Hartmut Brandt2005-02-042-42/+52
* Quote example file names consistently, and fix a small grammatical nit.Ceri Davies2005-02-041-2/+2
* Use an extra variable to assign to instead of missusing an inputHartmut Brandt2005-02-041-7/+7
* Replace space, tab mixes by tabs.Hartmut Brandt2005-02-041-5/+5
* Use tabs to move to the comments instead of wild mixes of tabs and spaces.Hartmut Brandt2005-02-041-14/+14
* Style: line up with tabulators.Hartmut Brandt2005-02-041-6/+6