OpenBSD CVS

CVS log for src/usr.bin/oldrdist/Attic/server.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.35, Thu Jul 10 14:26:16 2014 UTC (9 years, 10 months ago) by tedu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.34: +1 -1 lines
FILE REMOVED

Snakes. Why'd it have to be snakes?

Revision 1.34 / (download) - annotate - [select for diffs], Sun Jun 2 06:20:35 2013 UTC (10 years, 11 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

Switch from antique struct direct to struct dirent

Revision 1.33 / (download) - annotate - [select for diffs], Tue Apr 16 22:37:28 2013 UTC (11 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

time(NULL) looks better than time(0)

Revision 1.32 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:41 2009 UTC (14 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: 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
Changes since 1.31: +1 -6 lines
Diff to previous 1.31 (colored)

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable).  these days, people use source.  these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

Revision 1.31 / (download) - annotate - [select for diffs], Wed Oct 17 20:10:44 2007 UTC (16 years, 7 months ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.30: +4 -2 lines
Diff to previous 1.30 (colored)

remove "unused variable" warnings

tested by deraadt@ on a gcc2 arch

looks ok ray@ ok deraadt@

Revision 1.30 / (download) - annotate - [select for diffs], Thu Feb 8 03:19:13 2007 UTC (17 years, 3 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

Remove double semicolons.

From Pierre Riteau <pierre dot riteau at free dot fr>.

OK jaredy@ and moritz@.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jul 4 01:54:10 2005 UTC (18 years, 10 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.28: +6 -6 lines
Diff to previous 1.28 (colored)

make these use setres[ug]id for simple privilege dropping;
ok deraadt@ millert@ moritz@

Revision 1.28 / (download) - annotate - [select for diffs], Wed Apr 13 02:33:08 2005 UTC (19 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.27: +5 -5 lines
Diff to previous 1.27 (colored)

use STD{IN,OUT,ERR}_FILENO

Revision 1.27 / (download) - annotate - [select for diffs], Mon Oct 4 05:21:27 2004 UTC (19 years, 7 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

hierarchy is spelt hierarchy, ok djm@

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jan 16 01:12:35 2004 UTC (20 years, 4 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.25: +17 -17 lines
Diff to previous 1.25 (colored)

log -> logit ISO C fix.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jan 15 19:12:31 2004 UTC (20 years, 4 months ago) by otto
Branch: MAIN
Changes since 1.24: +9 -9 lines
Diff to previous 1.24 (colored)

Fix printf format strings. ok millert@

Revision 1.24 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:14 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.23: +3 -7 lines
Diff to previous 1.23 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Jun 1 15:53:35 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

various format string cleanups; tedu ok

Revision 1.22 / (download) - annotate - [select for diffs], Sun Apr 6 17:57:45 2003 UTC (21 years, 1 month ago) by ho
Branch: MAIN
Changes since 1.21: +6 -6 lines
Diff to previous 1.21 (colored)

strcpy/strcat cleanup. Ick millert@.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Apr 5 17:18:26 2003 UTC (21 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

string fixes; ok henning miod

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jun 23 03:07:21 2002 UTC (21 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

uid_t and gid_t are unsigned

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jun 12 06:07:16 2002 UTC (21 years, 11 months ago) by mpech
Branch: MAIN
Changes since 1.18: +9 -6 lines
Diff to previous 1.18 (colored)

a real pid_t cleanup.

espie@ ok for make/,
deraadt@ one extra eye,
millert@ ok

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jun 9 21:11:22 2002 UTC (21 years, 11 months ago) by hin
Branch: MAIN
Changes since 1.17: +6 -3 lines
Diff to previous 1.17 (colored)

Remove private unused version of warn().
Replave private basename() with the real one.

ok millert@

Revision 1.17 / (download) - annotate - [select for diffs], Tue Feb 19 19:39:38 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.16: +7 -51 lines
Diff to previous 1.16 (colored)

We live in an ANSI C world.  Remove lots of gratuitous #ifdef __STDC__ cruft.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:50 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.15: +17 -17 lines
Diff to previous 1.15 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Nov 19 19:02:15 2001 UTC (22 years, 6 months ago) by mpech
Branch: MAIN
Changes since 1.14: +16 -16 lines
Diff to previous 1.14 (colored)

kill more registers

millert@ ok

Revision 1.14 / (download) - annotate - [select for diffs], Wed Sep 5 22:32:42 2001 UTC (22 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)

make sure that va_start() has matching va_end()

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jul 9 07:04:50 2001 UTC (22 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

correct type on last arg to execl(); nordin@cse.ogi.edu

Revision 1.12 / (download) - annotate - [select for diffs], Tue Aug 17 09:13:16 1999 UTC (24 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

More <sys/file.h> vs. <fcntl.h> and open() flags fixes.

Revision 1.11 / (download) - annotate - [select for diffs], Mon May 18 19:13:20 1998 UTC (26 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

readlink len-1

Revision 1.10 / (download) - annotate - [select for diffs], Mon Apr 27 03:13:53 1998 UTC (26 years ago) by deraadt
Branch: MAIN
Changes since 1.9: +60 -26 lines
Diff to previous 1.9 (colored)

Correctly operate on hardlink when source and destination are not on the
same device; freebsd

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jul 25 21:05:37 1997 UTC (26 years, 10 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.8: +11 -11 lines
Diff to previous 1.8 (colored)

#if __STDC__ --> #ifdef __STDC__

Revision 1.8 / (download) - annotate - [select for diffs], Sun Feb 9 19:24:59 1997 UTC (27 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.7: +5 -5 lines
Diff to previous 1.7 (colored)

buf oflow, eivind@freebsd

Revision 1.7 / (download) - annotate - [select for diffs], Sun Dec 22 03:26:00 1996 UTC (27 years, 5 months ago) by tholo
Branch: MAIN
Changes since 1.6: +4 -2 lines
Diff to previous 1.6 (colored)

Deal with _POSIX_SAVED_IDS when relinquishing privileges

Revision 1.6 / (download) - annotate - [select for diffs], Thu Aug 22 20:33:24 1996 UTC (27 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.5: +41 -37 lines
Diff to previous 1.5 (colored)

NetBSD changes: use POSIX regex routines and fix more buff oflow
Can't use mkstemp() so go back to mktemp and open(2) with sane flags.
Now uses rcmdsh and fixes memory leak in NetBSD POSIX regex support
(leak fixed by Charles Amos <amos@umiacs.umd.edu>).

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jul 25 05:13:49 1996 UTC (27 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.4: +49 -45 lines
Diff to previous 1.4 (colored)

Replaced sprintf() with snprintf() where buffer size is obvious.
Probably just paranoia but why take the chance?  Just four occurences
of sprintf() left.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jul 19 21:57:34 1996 UTC (27 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.3: +14 -11 lines
Diff to previous 1.3 (colored)

oldrdist now uses rsh so doesn't need to be setuid.
Incorporates some changes from Chris Siebenmann <cks@utcc.utoronto.ca>
and rdist 6.1.2.  Also fixes at least one possible core dump and
uses strr?chr() instead of r?index().

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jun 26 05:37:41 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

rcsid

Revision 1.2 / (download) - annotate - [select for diffs], Tue May 28 12:31:57 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +4 -6 lines
Diff to previous 1.1 (colored)

sync

Revision 1.1 / (download) - annotate - [select for diffs], Sat Feb 3 12:12:03 1996 UTC (28 years, 3 months ago) by dm
Branch: MAIN

rdist 6.1.1

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.