Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-09-28 | Add unveil(2) to sdiff(1) to the following files: | Ricardo Mestre | |
filename1 - given via args - read permission filename2 - same as above tmpdir - if TMPDIR env var is changed, or _PATH_TMP by default - read/write/create/delete permissions /usr/bin/diff - the default diff program - execute permission _PATH_BSHELL - to spawn an EDITOR/VISUAL if -o is used - execute permission this diff only applies unveil(2) if -F is not used, meaning that we are not changing the default diff program to be used since that way we would need to find where the binary is whereas by default we are sure that the path is /usr/bin/diff. this will be revisited at a later stage to cover all cases. feedback and OK millert@ deraadt@ | |||
2017-10-17 | add missing HISTORY; based on CVS logs and release announcements | Ingo Schwarze | |
2017-09-05 | Add -Wno-sign-compare, the single warning produced is a false positive; | Otto Moerbeek | |
ok deraadt@ | |||
2015-12-29 | fix exit status on pledge(2) failure. | Gleydson Soares | |
OK tb@ jsg@ | |||
2015-10-18 | sorry, sdiff -o interactive mode does another spawn | Theo de Raadt | |
2015-10-15 | After spawning, the parent can pledge "stdio rpath wpath cpath" | Theo de Raadt | |
from rob pierce | |||
2015-10-10 | pledge "stdio rpath wpath cpath proc exec". there is some potential | Theo de Raadt | |
for dropping some path attributes in between, but i will let someone else do that. ok doug | |||
2015-02-28 | Reduce 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-05 | Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@ | Todd C. Miller | |
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo 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-26 | unsigned char casts for ctype | Theo de Raadt | |
ok okan | |||
2013-07-16 | use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@ | Ingo Schwarze | |
2013-04-01 | Avoid memory leak while parsing diff's output. | Tobias Stoeckmann | |
ok lteo | |||
2010-10-16 | paste in EXIT STATUS from diff(1); confirmed by ray | Jason McIntyre | |
2009-06-07 | Don't leak FILE * if multiple -o flags are given. | Ray Lai | |
2009-06-07 | Use SIZE_MAX, not SIZE_T_MAX. | Ray Lai | |
2009-06-07 | Don't use $TMPDIR if it is empty. | Ray Lai | |
2009-06-07 | Plug file descriptor leak when diffing regular files. | Ray Lai | |
2009-06-07 | Remove outdated comment. | Ray Lai | |
2007-10-17 | - Be more careful about pre-existing SIGCHLD handlers (or SIG_IGN) by | Theo 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-02 | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | Theo de Raadt | |
2007-06-29 | *long* options are undocumented; ok ray | Jason McIntyre | |
2007-06-28 | groff understands `|', so no need to duplicate macros. | Jason McIntyre | |
2007-06-28 | Alias `1' and `2' to `l' and `r', making interactive merges easier | Ray 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-27 | Add missing undocumented --ignore-case flag, to improve compatibility | Ray Lai | |
with GNU sdiff. From Steven Kreuzer <skreuzer () exit2shell ! com> | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-11 | Sync with editit from sendbug. | Ray Lai | |
2007-04-25 | Copy signal-safe edit function from sendbug. | Ray Lai | |
OK millert@, threatened by deraadt@. | |||
2007-02-26 | don't store write(2) return value in size_t; fixes test against -1. | Steven Mestdagh | |
ok ray@ | |||
2007-02-22 | Expand description. | Ray Lai | |
Help and okay jmc@. | |||
2006-12-20 | .Xr cmp and sdiff each other | Jasper Lievisse Adriaanse | |
ok jmc@ ray@ | |||
2006-09-19 | Use S_IS* macros insted of masking with S_IF* flags. The latter may | Otto Moerbeek | |
have multiple bits set, which lead to surprising results. Spotted by Paul Stoeber, more to come. ok millert@ pedro@ jaredy@ djm@ | |||
2006-08-04 | Add bug: may not work with binary data. | Ray Lai | |
OK jmc@ | |||
2006-05-25 | Remove xmktemp() and uses plain old mkstemp(3), avoiding race | Ray Lai | |
conditions. OK moritz@, otto@ | |||
2006-05-10 | Now that lint is smarter, remove /* NOTREACHED */ comments. | Ray Lai | |
OK jaredy@ | |||
2006-03-11 | /tmp -> _PATH_TMP | Ray Lai | |
ok jaredy, otto | |||
2006-03-05 | Handle stdin as arg; from Ray Lai; ok jaredy@ | Otto Moerbeek | |
2006-02-22 | document TMPDIR; from ray lai | Jason McIntyre | |
2006-02-20 | Move two functions to separate file; from Ray Lai; ok jaredy@ | Otto Moerbeek | |
2006-02-20 | refactor processq() loop. From Rai Lay; ok jaredy@ | Otto Moerbeek | |
2006-02-15 | - improve description of -I | Jason McIntyre | |
- Xr re_format(7) from ray lai | |||
2006-02-15 | Fix bug introduced by previous delint and rename a var. From Ray. | Otto Moerbeek | |
2006-02-15 | delint; from Ray with input from me and jaredy@; ok jaredy@ | Otto Moerbeek | |
2006-02-14 | Fix -I and some cleanup, from Ray Lai in PR 5002; ok jaredy@ | Otto Moerbeek | |
2006-02-02 | In interactive mode force newline between left and right sets in the "e b" | Claudio Jeker | |
command. OK tedu@ | |||
2005-12-29 | add an ENVIRONMENT section, and document EDITOR and VISUAL; | Jason McIntyre | |
ok tedu | |||
2005-12-28 | spacing | Theo de Raadt | |
2005-12-27 | add a SEE ALSO section; | Jason McIntyre | |
2005-12-27 | - kill trailing whitespace | Jason McIntyre | |
- wording tweaks - put sections in the right order | |||
2005-12-27 | remove xstrtonum | Ted Unangst | |