OpenBSD CVS

CVS log for src/usr.bin/sdiff/edit.c


[BACK] Up to [local] / src / usr.bin / sdiff

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20 / (download) - annotate - [select for diffs], Tue Nov 26 21:08:12 2013 UTC (10 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, HEAD
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

unsigned char casts for ctype
ok okan

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jun 7 13:29:50 2009 UTC (14 years, 11 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Don't leak FILE * if multiple -o flags are given.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Oct 17 20:02:33 2007 UTC (16 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.17: +9 -12 lines
Diff to previous 1.17 (colored)

- Be more careful about pre-existing SIGCHLD handlers (or SIG_IGN) by
  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

Revision 1.17 / (download) - annotate - [select for diffs], Fri May 11 02:47:52 2007 UTC (17 years ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.16: +24 -32 lines
Diff to previous 1.16 (colored)

Sync with editit from sendbug.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Apr 25 05:02:17 2007 UTC (17 years ago) by ray
Branch: MAIN
Changes since 1.15: +61 -34 lines
Diff to previous 1.15 (colored)

Copy signal-safe edit function from sendbug.

OK millert@, threatened by deraadt@.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Feb 26 08:32:00 2007 UTC (17 years, 2 months ago) by steven
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.14: +5 -2 lines
Diff to previous 1.14 (colored)

don't store write(2) return value in size_t; fixes test against -1.

ok ray@

Revision 1.14 / (download) - annotate - [select for diffs], Thu May 25 03:20:32 2006 UTC (17 years, 11 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.13: +18 -3 lines
Diff to previous 1.13 (colored)

Remove xmktemp() and uses plain old mkstemp(3), avoiding race
conditions.

OK moritz@, otto@

Revision 1.13 / (download) - annotate - [select for diffs], Wed May 10 14:32:51 2006 UTC (18 years ago) by ray
Branch: MAIN
Changes since 1.12: +1 -8 lines
Diff to previous 1.12 (colored)

Now that lint is smarter, remove /* NOTREACHED */ comments.

OK jaredy@

Revision 1.12 / (download) - annotate - [select for diffs], Mon Feb 20 08:38:18 2006 UTC (18 years, 3 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.11: +2 -61 lines
Diff to previous 1.11 (colored)

Move two functions to separate file; from Ray Lai; ok jaredy@

Revision 1.11 / (download) - annotate - [select for diffs], Wed Feb 15 06:58:06 2006 UTC (18 years, 3 months ago) by otto
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

delint; from Ray with input from me and jaredy@; ok jaredy@

Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 2 19:30:23 2006 UTC (18 years, 3 months ago) by claudio
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

In interactive mode force newline between left and right sets in the "e b"
command. OK tedu@

Revision 1.9 / (download) - annotate - [select for diffs], Wed Dec 28 05:57:46 2005 UTC (18 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

spacing

Revision 1.8 / (download) - annotate - [select for diffs], Tue Dec 27 05:00:28 2005 UTC (18 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

goto labels after case statements make lint happier

Revision 1.7 / (download) - annotate - [select for diffs], Tue Dec 27 04:43:01 2005 UTC (18 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.6: +1 -4 lines
Diff to previous 1.6 (colored)

remove debug mode

Revision 1.6 / (download) - annotate - [select for diffs], Tue Dec 27 04:33:31 2005 UTC (18 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

if an allocation function fails, err will print "cannot allocate memory"
for us, just add the name of the function

Revision 1.5 / (download) - annotate - [select for diffs], Tue Dec 27 04:31:06 2005 UTC (18 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.4: +4 -13 lines
Diff to previous 1.4 (colored)

close can't really fail, don't bother checking

Revision 1.4 / (download) - annotate - [select for diffs], Tue Dec 27 04:28:08 2005 UTC (18 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

remove broken assert on argc, and put argc check in right place

Revision 1.3 / (download) - annotate - [select for diffs], Tue Dec 27 04:18:07 2005 UTC (18 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

variables in header should be extern, defined in a c file.
if cast for free is needed because of const nastiness, at least cast to void *

Revision 1.2 / (download) - annotate - [select for diffs], Tue Dec 27 04:06:16 2005 UTC (18 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

OpenBSD tags

Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 27 04:04:56 2005 UTC (18 years, 4 months ago) by tedu
Branch: MAIN

add a public domain sdiff implementation contributed by ray lai

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.