summaryrefslogtreecommitdiffstats
path: root/usr.bin/sdiff/edit.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* unsigned char casts for ctypederaadt2013-11-261-2/+2
| | | | ok okan
* Don't leak FILE * if multiple -o flags are given.ray2009-06-071-2/+2
|
* - 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
* 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@
* Remove xmktemp() and uses plain old mkstemp(3), avoiding raceray2006-05-251-3/+18
| | | | | | conditions. OK moritz@, otto@
* Now that lint is smarter, remove /* NOTREACHED */ comments.ray2006-05-101-8/+1
| | | | OK jaredy@
* Move two functions to separate file; from Ray Lai; ok jaredy@otto2006-02-201-61/+2
|
* delint; from Ray with input from me and jaredy@; ok jaredy@otto2006-02-151-3/+3
|
* In interactive mode force newline between left and right sets in the "e b"claudio2006-02-021-2/+2
| | | | command. OK tedu@
* spacingderaadt2005-12-281-2/+2
|
* goto labels after case statements make lint happierderaadt2005-12-271-3/+3
|
* remove debug modetedu2005-12-271-4/+1
|
* if an allocation function fails, err will print "cannot allocate memory"tedu2005-12-271-2/+2
| | | | for us, just add the name of the function
* close can't really fail, don't bother checkingtedu2005-12-271-13/+4
|
* remove broken assert on argc, and put argc check in right placetedu2005-12-271-2/+2
|
* variables in header should be extern, defined in a c file.tedu2005-12-271-2/+2
| | | | if cast for free is needed because of const nastiness, at least cast to void *
* OpenBSD tagstedu2005-12-271-1/+1
|
* add a public domain sdiff implementation contributed by ray laitedu2005-12-271-0/+250