summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2003-08-15make dired work more like emacs. (well, make it _work_, and then add aVincent Labrecque
bunch of missing commands)
2003-08-15remove extra \n in {warn,err}{,x} callsTheo de Raadt
2003-08-15 actually extract the filename off the ls line. makes dired *slightly*Vincent Labrecque
more useful.
2003-08-15Fix typo (errx vs. err) for malloc failures; Andrey MatveevTodd C. Miller
2003-08-15Add license from patch.c to original source files missing a license.Otto Moerbeek
ok deraadt@
2003-08-14make 9-char login names not stretch the line; millert okTheo de Raadt
2003-08-14exit after primetest, ok djm@Markus Friedl
2003-08-13Based on what otto@ said on icb. The expensive thing in diff isTodd C. Miller
newcand() (this is what blows up the memory usage so badly). Instead of counting how many times we go through the loop, count how many times we called newcand(). I renamed loopcount -> numtries since it is no longer the number of loop runs. This fixes espie@'s regression. tedu@ OK
2003-08-13socks4->socks, since with support both 4 and 5; dtucker@zip.com.auMarkus Friedl
2003-08-13remove RhostsAuthentication; suggested by djm@ before; ok djm@, deraadt@,Markus Friedl
fgsch@, miod@, henning@, jakob@ and others
2003-08-13use more portable tcsendbreak(3) and ignore break_length;Markus Friedl
ok deraadt, millert
2003-08-12Fix no newline at end of file case for Plan B.Otto Moerbeek
ok millert@ tedu@
2003-08-12Clean up obsolete kerberos 4 stuffHans Insulander
ok millert@
2003-08-12Back out last commit, p->name is not always a malloc'ed object.Todd C. Miller
Pointed out by itojun@.
2003-08-12plug memory leak; Patrick LatifiTodd C. Miller
2003-08-11The empty() function basically effects a poll, so replace it withTodd C. Miller
real poll(). Gets rid of another static select(). OK deraadt@
2003-08-11use poll to replace the fd_set overflows. some input from fgsch; millert okTheo de Raadt
2003-08-11Convert to use poll(2) instead of static select.Todd C. Miller
Input from deraadt@ and fgsch@; Ok deraadt@
2003-08-11Cosmetic changes to make the code a tad more readable:Todd C. Miller
o constify rcsid and copyright o use warn/err instead of doing it by hand
2003-08-11typo, pr3396 from piotr domagalskiTed Unangst
2003-08-10Do not add an extra newline at the end if the last line of the inputOtto Moerbeek
file contains no newline and the diff does not touch the last line. Contributions from millert@. ok millert@ tedu@
2003-08-10Warn if the diff is a context or unified diff and the contextOtto Moerbeek
is empty. In this case, a previously applied patch cannot be detected. ok millert@ tedu@
2003-08-09Fix off by one in strlcpy() check; Patrick LatifiTodd C. Miller
2003-08-08Guess the number of lines in a file and use that number for initialOtto Moerbeek
memory allocation. Initial version by me, cleanup by millert@. ok millert@
2003-08-08refer to RFCs consistently (RFC XXXX);Jason McIntyre
2003-08-08- add descriptions of the different sectionsJason McIntyre
- add .Xr's to the intro pages - little cleanup ok millert@
2003-08-08Avoid scanning the input file twice.Otto Moerbeek
ok millert@ tedu@
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
I've skipped the GNU stuff for now. From Patrick Latifi.
2003-08-06typo;Jason McIntyre
2003-08-05spacingTheo de Raadt
2003-08-05spacingTheo de Raadt
2003-08-05- Use mmap(2) instead of malloc(3) and read(2) to get an image of the inputOtto Moerbeek
file into memory. Some suggestions by tedu@. - Add a debug option to force using Plan B. ok millert@ deraadt@
2003-08-04protosTheo de Raadt
2003-08-04No longer needed. bye bye.Hans Insulander
ok deraadt@ millert@ henning@
2003-08-04Remove Kerberos 4 stuff.Hans Insulander
ok deraadt@ millert@ henning@
2003-08-03gnu gzip dir is now bye byeTheo de Raadt
2003-08-03protosTheo de Raadt
2003-08-02A new, BSD licensed znew(1). Some suggestions from krw@ and millert@.Otto Moerbeek
ok millert@ krw@
2003-08-02Manual page for a new, BSD licensed znew(1).Otto Moerbeek
ok jmc@ millert@ krw@
2003-08-02check return value from process_{read,write} properMichael Shalayeff
2003-08-02missing includeTheo de Raadt
2003-08-02Better description of how uncompressed file name is generated.Todd C. Miller
OK jmc@
2003-08-02document examineMichael Shalayeff
2003-08-01another round of missing system includesDavid Krause
ok tedu@
2003-08-01anychange is no longer extern; millert okTheo de Raadt
2003-08-01- use stdbool.h instead of roll-your-own booleansOtto Moerbeek
- fix some -Wall warnings - fix asserts: in some cases remove them, in other cases they have become Internal errors or detection of malformed patch files. - fix some free() related code ok millert@ tedu@
2003-08-01damn cvs! resurrect these ...Anil Madhavapeddy
2003-08-01move vis.h out of the way into a subdir so it isn't picked up by our buildAnil Madhavapeddy
noticed by david@, deraadt@ ok
2003-08-01when the -R option (read-only) is specified, there is no need to printPeter Valchev
a warning that the file is read-only, it's obviously what's expected... ok fgsch henning
2003-08-01cleanup;Jason McIntyre
ok millert@