summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
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@
2003-07-31print rate similar old version; round instead truncate;Markus Friedl
2003-07-31Historically, patch would treat a bare -p as -p0. This contradictsTodd C. Miller
POSIX and GNU patch has also removed this, so we will too. No objections on icb (no one even seemed to know about this "feature").
2003-07-31Unbreak relative directory handling. Tweak from millert@Otto Moerbeek
ok millert@
2003-07-31- Change the hash function to a simple multiplicative one. The oldOtto Moerbeek
hash function was apparently optimized for 16 bit processors and generates quite some collisions. - Fix another case of excessive reallocing. ok millert@
2003-07-31no longer used by syslogdAnil Madhavapeddy
2003-07-31correct comment: atomicio takes vwrite, not write; deraadt@ okAnil Madhavapeddy
2003-07-31Print a maximum of one invalid line number warning per patch in a patch file.Otto Moerbeek
Thanks to espie@ for spotting the problem. ok millert@ henning@ espie@
2003-07-31Fix botched conversion to getopts; markus@Todd C. Miller
2003-07-31check whether passwd auth is allowd, similar to proto 1; rob@pitman.co.zaMarkus Friedl
ok henning
2003-07-31Wrap a long lineOtto Moerbeek
ok deraadt@
2003-07-31Welcome BSD gzexe(1).Otto Moerbeek
ok deraadt@
2003-07-31A new, BSD licensed gzexe(1).Otto Moerbeek
ok millert@ krw@