OpenBSD CVS

CVS log for src/bin/mv/rm.c


[BACK] Up to [local] / src / bin / mv

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.11 / (download) - annotate - [select for diffs], Mon Oct 10 18:13:21 2016 UTC (7 years, 8 months ago) by tedu
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, HEAD
Changes since 1.10: +1 -19 lines
Diff to previous 1.10 (colored)

don't need to worry about pre/post order and skipping directories.
remove more dead code

Revision 1.10 / (download) - annotate - [select for diffs], Mon Oct 10 18:10:40 2016 UTC (7 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.9: +1 -6 lines
Diff to previous 1.9 (colored)

zap extra includes

Revision 1.9 / (download) - annotate - [select for diffs], Mon Oct 10 18:09:40 2016 UTC (7 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.8: +3 -24 lines
Diff to previous 1.8 (colored)

remove some more dead code. (previous diff from Jan Stary)

Revision 1.8 / (download) - annotate - [select for diffs], Mon Oct 10 18:07:03 2016 UTC (7 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.7: +1 -69 lines
Diff to previous 1.7 (colored)

remove some dead code that's only used in rm

Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 27 17:32:16 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.6: +1 -3 lines
Diff to previous 1.6 (colored)

the rm code in mv inherited pledge from rm. it shoud be safe, but there
are cases when it is too strict. after pledge() we continue to run some
of the cp code which requires a very broad set of permissions.
remove pledge entirely for now, pending a complete analysis of needs.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 17 19:39:18 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

as in rm, needs getpw in pledge

Revision 1.5 / (download) - annotate - [select for diffs], Tue Nov 17 19:11:11 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.4: +1 -2 lines
Diff to previous 1.4 (colored)

don't need locale header anymore

Revision 1.4 / (download) - annotate - [select for diffs], Tue Nov 17 19:09:06 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.3: +1 -82 lines
Diff to previous 1.3 (colored)

overwriting code isn't used

Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 17 18:52:10 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.2: +29 -82 lines
Diff to previous 1.2 (colored)

trim down the flags in rm

Revision 1.2 / (download) - annotate - [select for diffs], Tue Nov 17 18:34:00 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.1: +4 -29 lines
Diff to previous 1.1 (colored)

remove getopt() from the nested cp and rm mains

Revision 1.1 / (download) - annotate - [select for diffs], Tue Nov 17 17:24:26 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN

direct copy of cp and rm code into mv, so it can avoid fork+exec.
some or even most of the code can still be streamlined more.
ok deraadt

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.