summaryrefslogtreecommitdiff
path: root/usr.bin/sdiff
AgeCommit message (Collapse)Author
2015-10-18sorry, sdiff -o interactive mode does another spawnTheo de Raadt
2015-10-15After spawning, the parent can pledge "stdio rpath wpath cpath"Theo de Raadt
from rob pierce
2015-10-10pledge "stdio rpath wpath cpath proc exec". there is some potentialTheo de Raadt
for dropping some path attributes in between, but i will let someone else do that. ok doug
2015-02-28Reduce usage of predefined strings in manpages.Anthony J. Bentley
Predefined strings are not very portable across troff implementations, and they make the source much harder to read. Usually the intended character can be written directly. No output changes, except for two instances where the incorrect escape was used in the first place. tweaks + ok schwarze@
2015-02-05Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@Todd C. Miller
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
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)
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