summaryrefslogtreecommitdiffstats
path: root/usr.bin/sdiff (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-2/+1
| | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
* unsigned char casts for ctypederaadt2013-11-262-7/+7
| | | | ok okan
* use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@schwarze2013-07-161-3/+3
|
* Avoid memory leak while parsing diff's output.tobias2013-04-011-3/+6
| | | | ok lteo
* paste in EXIT STATUS from diff(1); confirmed by rayjmc2010-10-161-2/+15
|
* Don't leak FILE * if multiple -o flags are given.ray2009-06-073-15/+17
|
* Use SIZE_MAX, not SIZE_T_MAX.ray2009-06-071-5/+5
|
* Don't use $TMPDIR if it is empty.ray2009-06-071-2/+2
|
* Plug file descriptor leak when diffing regular files.ray2009-06-071-2/+4
|
* Remove outdated comment.ray2009-06-071-2/+1
|
* - Be more careful about pre-existing SIGCHLD handlers (or SIG_IGN) byderaadt2007-10-171-12/+9
| | | | | | | | temporarily restoring default behaviour. This is not 100% ideal. But this fixes editor handling in mail... bah, it is really unfortunate that got broken - refactor the restoration code as well, to make it simpler ok ray
* use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt2007-09-021-2/+2
|
* *long* options are undocumented; ok rayjmc2007-06-291-4/+4
|
* groff understands `|', so no need to duplicate macros.jmc2007-06-281-3/+3
|
* Alias `1' and `2' to `l' and `r', making interactive merges easierray2007-06-282-7/+9
| | | | | | | | | | on the fingers. This was recently added to GNU sdiff: http://www.nabble.com/sdiff-UI-enhancement-t3877253.html Initial diff from Steven Kreuzer <skreuzer (at) exit2shell dot com>. OK jmc, millert, sobrado, deraadt.
* Add missing undocumented --ignore-case flag, to improve compatibilityray2007-06-271-1/+2
| | | | | | with GNU sdiff. From Steven Kreuzer <skreuzer () exit2shell ! com>
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* Sync with editit from sendbug.ray2007-05-111-32/+24
|
* Copy signal-safe edit function from sendbug.ray2007-04-251-35/+62
| | | | OK millert@, threatened by deraadt@.
* don't store write(2) return value in size_t; fixes test against -1.steven2007-02-261-2/+5
| | | | ok ray@
* Expand description.ray2007-02-221-3/+18
| | | | Help and okay jmc@.
* .Xr cmp and sdiff each otherjasper2006-12-201-1/+2
| | | | ok jmc@ ray@
* Use S_IS* macros insted of masking with S_IF* flags. The latter mayotto2006-09-191-2/+2
| | | | | have multiple bits set, which lead to surprising results. Spotted by Paul Stoeber, more to come. ok millert@ pedro@ jaredy@ djm@
* Add bug: may not work with binary data.ray2006-08-041-1/+4
| | | | OK jmc@
* Remove xmktemp() and uses plain old mkstemp(3), avoiding raceray2006-05-255-61/+32
| | | | | | conditions. OK moritz@, otto@
* Now that lint is smarter, remove /* NOTREACHED */ comments.ray2006-05-103-16/+4
| | | | OK jaredy@
* /tmp -> _PATH_TMPray2006-03-111-3/+4
| | | | ok jaredy, otto
* Handle stdin as arg; from Ray Lai; ok jaredy@otto2006-03-051-19/+112
|
* document TMPDIR; from ray laijmc2006-02-221-1/+5
|
* Move two functions to separate file; from Ray Lai; ok jaredy@otto2006-02-204-63/+84
|
* refactor processq() loop. From Rai Lay; ok jaredy@otto2006-02-201-12/+6
|
* - improve description of -Ijmc2006-02-151-2/+6
| | | | | | - Xr re_format(7) from ray lai
* Fix bug introduced by previous delint and rename a var. From Ray.otto2006-02-151-7/+10
|
* delint; from Ray with input from me and jaredy@; ok jaredy@otto2006-02-153-51/+45
|
* Fix -I and some cleanup, from Ray Lai in PR 5002; ok jaredy@otto2006-02-141-86/+121
|
* In interactive mode force newline between left and right sets in the "e b"claudio2006-02-021-2/+2
| | | | command. OK tedu@
* add an ENVIRONMENT section, and document EDITOR and VISUAL;jmc2005-12-291-2/+30
| | | | ok tedu
* spacingderaadt2005-12-282-4/+4
|
* add a SEE ALSO section;jmc2005-12-271-1/+4
|
* - kill trailing whitespacejmc2005-12-271-11/+11
| | | | | - wording tweaks - put sections in the right order
* remove xstrtonumtedu2005-12-271-59/+32
|
* shorten main initializationderaadt2005-12-271-11/+4
|
* goto labels after case statements make lint happierderaadt2005-12-271-3/+3
|
* INT_MAX should be big enough for a widthtedu2005-12-271-4/+3
|
* remove debug modetedu2005-12-273-144/+6
|
* add DPADDderaadt2005-12-271-1/+2
|
* sizeof char is always 1tedu2005-12-271-3/+3
|
* if an allocation function fails, err will print "cannot allocate memory"tedu2005-12-272-8/+8
| | | | for us, just add the name of the function
* close can't really fail, don't bother checkingtedu2005-12-272-26/+11
|
* remove broken assert on argc, and put argc check in right placetedu2005-12-272-12/+9
|