Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add unveil(2) to sdiff(1) to the following files: | 2018-09-28 | 1 | -4/+18 | |
| | | | | | | | | | | | | | | | | | 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@ | ||||
* | add missing HISTORY; based on CVS logs and release announcements | 2017-10-17 | 1 | -2/+6 | |
| | |||||
* | Add -Wno-sign-compare, the single warning produced is a false positive; | 2017-09-05 | 1 | -2/+2 | |
| | | | | ok deraadt@ | ||||
* | fix exit status on pledge(2) failure. | 2015-12-29 | 1 | -2/+2 | |
| | | | | OK tb@ jsg@ | ||||
* | sorry, sdiff -o interactive mode does another spawn | 2015-10-18 | 1 | -4/+1 | |
| | |||||
* | After spawning, the parent can pledge "stdio rpath wpath cpath" | 2015-10-15 | 1 | -1/+4 | |
| | | | | from rob pierce | ||||
* | pledge "stdio rpath wpath cpath proc exec". there is some potential | 2015-10-10 | 1 | -1/+4 | |
| | | | | | | for dropping some path attributes in between, but i will let someone else do that. ok doug | ||||
* | Reduce usage of predefined strings in manpages. | 2015-02-28 | 1 | -5/+5 | |
| | | | | | | | | | | | 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@ | ||||
* | Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@ | 2015-02-05 | 1 | -1/+2 | |
| | |||||
* | Replace <sys/param.h> with <limits.h> and other less dirty headers where | 2015-01-16 | 1 | -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 ctype | 2013-11-26 | 2 | -7/+7 | |
| | | | | ok okan | ||||
* | use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@ | 2013-07-16 | 1 | -3/+3 | |
| | |||||
* | Avoid memory leak while parsing diff's output. | 2013-04-01 | 1 | -3/+6 | |
| | | | | ok lteo | ||||
* | paste in EXIT STATUS from diff(1); confirmed by ray | 2010-10-16 | 1 | -2/+15 | |
| | |||||
* | Don't leak FILE * if multiple -o flags are given. | 2009-06-07 | 3 | -15/+17 | |
| | |||||
* | Use SIZE_MAX, not SIZE_T_MAX. | 2009-06-07 | 1 | -5/+5 | |
| | |||||
* | Don't use $TMPDIR if it is empty. | 2009-06-07 | 1 | -2/+2 | |
| | |||||
* | Plug file descriptor leak when diffing regular files. | 2009-06-07 | 1 | -2/+4 | |
| | |||||
* | Remove outdated comment. | 2009-06-07 | 1 | -2/+1 | |
| | |||||
* | - Be more careful about pre-existing SIGCHLD handlers (or SIG_IGN) by | 2007-10-17 | 1 | -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 jsg | 2007-09-02 | 1 | -2/+2 | |
| | |||||
* | *long* options are undocumented; ok ray | 2007-06-29 | 1 | -4/+4 | |
| | |||||
* | groff understands `|', so no need to duplicate macros. | 2007-06-28 | 1 | -3/+3 | |
| | |||||
* | Alias `1' and `2' to `l' and `r', making interactive merges easier | 2007-06-28 | 2 | -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 compatibility | 2007-06-27 | 1 | -1/+2 | |
| | | | | | | with GNU sdiff. From Steven Kreuzer <skreuzer () exit2shell ! com> | ||||
* | convert to new .Dd format; | 2007-05-31 | 1 | -2/+2 | |
| | |||||
* | Sync with editit from sendbug. | 2007-05-11 | 1 | -32/+24 | |
| | |||||
* | Copy signal-safe edit function from sendbug. | 2007-04-25 | 1 | -35/+62 | |
| | | | | OK millert@, threatened by deraadt@. | ||||
* | don't store write(2) return value in size_t; fixes test against -1. | 2007-02-26 | 1 | -2/+5 | |
| | | | | ok ray@ | ||||
* | Expand description. | 2007-02-22 | 1 | -3/+18 | |
| | | | | Help and okay jmc@. | ||||
* | .Xr cmp and sdiff each other | 2006-12-20 | 1 | -1/+2 | |
| | | | | ok jmc@ ray@ | ||||
* | Use S_IS* macros insted of masking with S_IF* flags. The latter may | 2006-09-19 | 1 | -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. | 2006-08-04 | 1 | -1/+4 | |
| | | | | OK jmc@ | ||||
* | Remove xmktemp() and uses plain old mkstemp(3), avoiding race | 2006-05-25 | 5 | -61/+32 | |
| | | | | | | conditions. OK moritz@, otto@ | ||||
* | Now that lint is smarter, remove /* NOTREACHED */ comments. | 2006-05-10 | 3 | -16/+4 | |
| | | | | OK jaredy@ | ||||
* | /tmp -> _PATH_TMP | 2006-03-11 | 1 | -3/+4 | |
| | | | | ok jaredy, otto | ||||
* | Handle stdin as arg; from Ray Lai; ok jaredy@ | 2006-03-05 | 1 | -19/+112 | |
| | |||||
* | document TMPDIR; from ray lai | 2006-02-22 | 1 | -1/+5 | |
| | |||||
* | Move two functions to separate file; from Ray Lai; ok jaredy@ | 2006-02-20 | 4 | -63/+84 | |
| | |||||
* | refactor processq() loop. From Rai Lay; ok jaredy@ | 2006-02-20 | 1 | -12/+6 | |
| | |||||
* | - improve description of -I | 2006-02-15 | 1 | -2/+6 | |
| | | | | | | - Xr re_format(7) from ray lai | ||||
* | Fix bug introduced by previous delint and rename a var. From Ray. | 2006-02-15 | 1 | -7/+10 | |
| | |||||
* | delint; from Ray with input from me and jaredy@; ok jaredy@ | 2006-02-15 | 3 | -51/+45 | |
| | |||||
* | Fix -I and some cleanup, from Ray Lai in PR 5002; ok jaredy@ | 2006-02-14 | 1 | -86/+121 | |
| | |||||
* | In interactive mode force newline between left and right sets in the "e b" | 2006-02-02 | 1 | -2/+2 | |
| | | | | command. OK tedu@ | ||||
* | add an ENVIRONMENT section, and document EDITOR and VISUAL; | 2005-12-29 | 1 | -2/+30 | |
| | | | | ok tedu | ||||
* | spacing | 2005-12-28 | 2 | -4/+4 | |
| | |||||
* | add a SEE ALSO section; | 2005-12-27 | 1 | -1/+4 | |
| | |||||
* | - kill trailing whitespace | 2005-12-27 | 1 | -11/+11 | |
| | | | | | - wording tweaks - put sections in the right order | ||||
* | remove xstrtonum | 2005-12-27 | 1 | -59/+32 | |
| |