summaryrefslogtreecommitdiff
path: root/usr.bin/sdiff
AgeCommit message (Collapse)Author
2013-11-26unsigned char casts for ctypeTheo de Raadt
ok okan
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2013-04-01Avoid memory leak while parsing diff's output.Tobias Stoeckmann
ok lteo
2010-10-16paste in EXIT STATUS from diff(1); confirmed by rayJason McIntyre
2009-06-07Don't leak FILE * if multiple -o flags are given.Ray Lai
2009-06-07Use SIZE_MAX, not SIZE_T_MAX.Ray Lai
2009-06-07Don't use $TMPDIR if it is empty.Ray Lai
2009-06-07Plug file descriptor leak when diffing regular files.Ray Lai
2009-06-07Remove outdated comment.Ray Lai
2007-10-17- Be more careful about pre-existing SIGCHLD handlers (or SIG_IGN) byTheo de Raadt
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
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-06-29*long* options are undocumented; ok rayJason McIntyre
2007-06-28groff understands `|', so no need to duplicate macros.Jason McIntyre
2007-06-28Alias `1' and `2' to `l' and `r', making interactive merges easierRay Lai
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.
2007-06-27Add missing undocumented --ignore-case flag, to improve compatibilityRay Lai
with GNU sdiff. From Steven Kreuzer <skreuzer () exit2shell ! com>
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-11Sync with editit from sendbug.Ray Lai
2007-04-25Copy signal-safe edit function from sendbug.Ray Lai
OK millert@, threatened by deraadt@.
2007-02-26don't store write(2) return value in size_t; fixes test against -1.Steven Mestdagh
ok ray@
2007-02-22Expand description.Ray Lai
Help and okay jmc@.
2006-12-20.Xr cmp and sdiff each otherJasper Lievisse Adriaanse
ok jmc@ ray@
2006-09-19Use S_IS* macros insted of masking with S_IF* flags. The latter mayOtto Moerbeek
have multiple bits set, which lead to surprising results. Spotted by Paul Stoeber, more to come. ok millert@ pedro@ jaredy@ djm@
2006-08-04Add bug: may not work with binary data.Ray Lai
OK jmc@
2006-05-25Remove xmktemp() and uses plain old mkstemp(3), avoiding raceRay Lai
conditions. OK moritz@, otto@
2006-05-10Now that lint is smarter, remove /* NOTREACHED */ comments.Ray Lai
OK jaredy@
2006-03-11/tmp -> _PATH_TMPRay Lai
ok jaredy, otto
2006-03-05Handle stdin as arg; from Ray Lai; ok jaredy@Otto Moerbeek
2006-02-22document TMPDIR; from ray laiJason McIntyre
2006-02-20Move two functions to separate file; from Ray Lai; ok jaredy@Otto Moerbeek
2006-02-20refactor processq() loop. From Rai Lay; ok jaredy@Otto Moerbeek
2006-02-15- improve description of -IJason McIntyre
- Xr re_format(7) from ray lai
2006-02-15Fix bug introduced by previous delint and rename a var. From Ray.Otto Moerbeek
2006-02-15delint; from Ray with input from me and jaredy@; ok jaredy@Otto Moerbeek
2006-02-14Fix -I and some cleanup, from Ray Lai in PR 5002; ok jaredy@Otto Moerbeek
2006-02-02In interactive mode force newline between left and right sets in the "e b"Claudio Jeker
command. OK tedu@
2005-12-29add an ENVIRONMENT section, and document EDITOR and VISUAL;Jason McIntyre
ok tedu
2005-12-28spacingTheo de Raadt
2005-12-27add a SEE ALSO section;Jason McIntyre
2005-12-27- kill trailing whitespaceJason McIntyre
- wording tweaks - put sections in the right order
2005-12-27remove xstrtonumTed Unangst
2005-12-27shorten main initializationTheo de Raadt
2005-12-27goto labels after case statements make lint happierTheo de Raadt
2005-12-27INT_MAX should be big enough for a widthTed Unangst
2005-12-27remove debug modeTed Unangst
2005-12-27add DPADDTheo de Raadt
2005-12-27sizeof char is always 1Ted Unangst
2005-12-27if an allocation function fails, err will print "cannot allocate memory"Ted Unangst
for us, just add the name of the function
2005-12-27close can't really fail, don't bother checkingTed Unangst
2005-12-27remove broken assert on argc, and put argc check in right placeTed Unangst
2005-12-27variables in header should be extern, defined in a c file.Ted Unangst
if cast for free is needed because of const nastiness, at least cast to void *