The NetBSD Project

CVS log for src/bin/rcp/rcp.c

[BACK] Up to [cvs.NetBSD.org] / src / bin / rcp

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.53 / (download) - annotate - [select for diffs], Tue Aug 1 08:47:24 2023 UTC (8 months, 2 weeks ago) by mrg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.52: +4 -4 lines
Diff to previous 1.52 (colored) to selected 1.19 (colored)

convert explicit length check before unchecked snprintf() with just a
overflow checked snprintf().  for res_debug.c and res_query.c, convert
from sprintf() to snprintf().

tested scp and rcp fail properly with too-long paths.
tested getaddrinfo fails as expected for too-long domains.
tested dig and ping for similar (res_debug.c/res_query.c).
created a temporary fs with quotas to test edquota with a long EDITOR.
did not test ypserv directly, but it's the same pattern.

avoids GCC 12 snprintf() warnings, and reduces total code size.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Jul 18 13:01:59 2022 UTC (20 months, 4 weeks ago) by rin
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.51: +38 -43 lines
Diff to previous 1.51 (colored) to selected 1.19 (colored)

Fix bug revealed by SIGINFO support; Do not treat short read(2)/write(2)
as error (*). This occurs typically when signal is received.

(*) For older version, we already deal with short read(2) from remote
host in sink(). But for other cases, i.e., write(2) to local file in
sink(), read(2)/write(2) in source(), error was raised.

This version of rcp(1) can successfully send/receive files with older
version, even if short read(2)/write(2) occurs by SIGINFO.

Also, when real error occurs, give up immediately instead of continue to
send/receive wrong data.

Clean up the mess a little bit as well...

Revision 1.51 / (download) - annotate - [select for diffs], Sun Jun 26 09:29:59 2022 UTC (21 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.50: +45 -2 lines
Diff to previous 1.50 (colored) to selected 1.19 (colored)

Add SIGINFO support. Mostly stolen from scan_ffs(8).

Revision 1.49.26.1 / (download) - annotate - [select for diffs], Thu May 7 17:02:33 2020 UTC (3 years, 11 months ago) by martin
Branch: netbsd-8
Changes since 1.49: +41 -43 lines
Diff to previous 1.49 (colored) next main 1.50 (colored) to selected 1.19 (colored)

Pull up following revision(s) (requested by aymeric in ticket #1546):

	bin/rcp/rcp.c: revision 1.50

In sink(), upon error, avoid multiple replies to the source as this
would lead to a desynchronization of the protocol and further files or
directories to be ignored or corrupted.

Reported by Daniel Goujot, Georges-Axel Jaloyan, Ryan Lahfa, and David Naccache.

Revision 1.49.36.1 / (download) - annotate - [select for diffs], Thu May 7 17:01:13 2020 UTC (3 years, 11 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.49: +41 -43 lines
Diff to previous 1.49 (colored) next main 1.50 (colored) to selected 1.19 (colored)

Pull up following revision(s) (requested by aymeric in ticket #890):

	bin/rcp/rcp.c: revision 1.50

In sink(), upon error, avoid multiple replies to the source as this
would lead to a desynchronization of the protocol and further files or
directories to be ignored or corrupted.

Reported by Daniel Goujot, Georges-Axel Jaloyan, Ryan Lahfa, and David Naccache.

Revision 1.49.22.1 / (download) - annotate - [select for diffs], Thu May 7 12:05:51 2020 UTC (3 years, 11 months ago) by sborrill
Branch: netbsd-7-1
Changes since 1.49: +41 -43 lines
Diff to previous 1.49 (colored) next main 1.50 (colored) to selected 1.19 (colored)

Pull up the following revisions(s) (requested by aymeric in ticket #1731):
	bin/rcp/rcp.c:	revision 1.50

In sink(), upon error, avoid multiple replies to the source as this
would lead to a desynchronization of the protocol and further files or
directories to be ignored or corrupted.

Revision 1.49.14.1 / (download) - annotate - [select for diffs], Thu May 7 12:02:24 2020 UTC (3 years, 11 months ago) by sborrill
Branch: netbsd-7-0
Changes since 1.49: +41 -43 lines
Diff to previous 1.49 (colored) next main 1.50 (colored) to selected 1.19 (colored)

Pull up the following revisions(s) (requested by aymeric in ticket #1731):
	bin/rcp/rcp.c:	revision 1.50

In sink(), upon error, avoid multiple replies to the source as this
would lead to a desynchronization of the protocol and further files or
directories to be ignored or corrupted.

Revision 1.49.12.1 / (download) - annotate - [select for diffs], Thu May 7 12:01:00 2020 UTC (3 years, 11 months ago) by sborrill
Branch: netbsd-7
Changes since 1.49: +41 -43 lines
Diff to previous 1.49 (colored) next main 1.50 (colored) to selected 1.19 (colored)

Pull up the following revisions(s) (requested by aymeric in ticket #1731):
	bin/rcp/rcp.c:	revision 1.50

In sink(), upon error, avoid multiple replies to the source as this
would lead to a desynchronization of the protocol and further files or
directories to be ignored or corrupted.

Revision 1.50 / (download) - annotate - [select for diffs], Wed May 6 18:15:40 2020 UTC (3 years, 11 months ago) by aymeric
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.49: +41 -43 lines
Diff to previous 1.49 (colored) to selected 1.19 (colored)

In sink(), upon error, avoid multiple replies to the source as this
would lead to a desynchronization of the protocol and further files or
directories to be ignored or corrupted.

Reported by Daniel Goujot, Georges-Axel Jaloyan, Ryan Lahfa, and David Naccache.

Revision 1.49.34.2 / (download) - annotate - [select for diffs], Tue Apr 21 19:37:34 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.49.34.1: +0 -0 lines
Diff to previous 1.49.34.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored) to selected 1.19 (colored)

Ooops, restore accidently removed files from merge mishap

Revision 1.49.34.1, Tue Apr 21 18:41:06 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.49: +2 -2 lines
FILE REMOVED

Sync with HEAD

Revision 1.48.6.1 / (download) - annotate - [select for diffs], Wed May 23 10:07:04 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.48: +16 -8 lines
Diff to previous 1.48 (colored) next main 1.49 (colored) to selected 1.19 (colored)

sync with head.

Revision 1.48.8.1 / (download) - annotate - [select for diffs], Wed May 9 15:42:08 2012 UTC (11 years, 11 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.48: +16 -8 lines
Diff to previous 1.48 (colored) next main 1.49 (colored) to selected 1.19 (colored)

Pull up following revision(s) (requested by chs in ticket #230):
	bin/rcp/rcp.c: revision 1.49
allocate a separate buffer in each call to sink().
reusing the buffer across recursive calls just doesn't work right.

Revision 1.49 / (download) - annotate - [select for diffs], Mon May 7 15:22:54 2012 UTC (11 years, 11 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, khorben-n900, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Branch point for: phil-wifi, netbsd-9, netbsd-8, netbsd-7-1, netbsd-7-0, netbsd-7
Changes since 1.48: +16 -8 lines
Diff to previous 1.48 (colored) to selected 1.19 (colored)

allocate a separate buffer in each call to sink().
reusing the buffer across recursive calls just doesn't work right.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Aug 31 07:11:16 2009 UTC (14 years, 7 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, matt-premerge-20091211, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, netbsd-6
Changes since 1.47: +12 -5 lines
Diff to previous 1.47 (colored) to selected 1.19 (colored)

Fix up seriously borked mallocing of a static buffer, which seems to
have been this way since at least 4.4. This will still dump core if
malloc fails on the first trip through, instead of on any malloc
failure, but should otherwise behave much more reasonably.

Revision 1.45.4.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:27:42 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.45.4.1: +4 -4 lines
Diff to previous 1.45.4.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored) to selected 1.19 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Jul 20 00:52:40 2008 UTC (15 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored) to selected 1.19 (colored)

Remove the \n and tabs from the __COPYRIGHT() strings.

Revision 1.45.4.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:26:44 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.45: +6 -2 lines
Diff to previous 1.45 (colored) to selected 1.19 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Wed Jun 4 02:02:57 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.45: +6 -2 lines
Diff to previous 1.45 (colored) next main 1.46 (colored) to selected 1.19 (colored)

sync with head

Revision 1.46 / (download) - annotate - [select for diffs], Mon May 26 14:21:08 2008 UTC (15 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Changes since 1.45: +6 -2 lines
Diff to previous 1.45 (colored) to selected 1.19 (colored)

PR/38755: murray armfield: /bin posix programs missing setprogname and/or
setlocale

Revision 1.44.8.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:29 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.44: +8 -8 lines
Diff to previous 1.44 (colored) next main 1.45 (colored) to selected 1.19 (colored)

sync with head.

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Sun Mar 23 00:11:40 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.44: +8 -8 lines
Diff to previous 1.44 (colored) next main 1.45 (colored) to selected 1.19 (colored)

sync with HEAD

Revision 1.45 / (download) - annotate - [select for diffs], Sun Feb 24 05:16:46 2008 UTC (16 years, 1 month ago) by dholland
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base2, yamt-pf42-base, matt-armv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base
Branch point for: yamt-pf42, wrstuden-revivesa
Changes since 1.44: +8 -8 lines
Diff to previous 1.44 (colored) to selected 1.19 (colored)

Print time_t as long long, not long.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Dec 15 22:45:34 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: matt-armv6, keiichi-mipv6
Changes since 1.43: +30 -19 lines
Diff to previous 1.43 (colored) to selected 1.19 (colored)

pass lint; from Anon Ymous

Revision 1.43 / (download) - annotate - [select for diffs], Fri Dec 15 20:22:06 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.42: +2 -12 lines
Diff to previous 1.42 (colored) to selected 1.19 (colored)

remove two (void)&foo; which are ot needed. From Anon Ymous

Revision 1.42 / (download) - annotate - [select for diffs], Mon Mar 20 04:03:10 2006 UTC (18 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.41: +2 -145 lines
Diff to previous 1.41 (colored) to selected 1.19 (colored)

Goodbye KerberosIV

Revision 1.41 / (download) - annotate - [select for diffs], Sat Mar 18 04:44:49 2006 UTC (18 years, 1 month ago) by ginsbach
Branch: MAIN
Changes since 1.40: +5 -3 lines
Diff to previous 1.40 (colored) to selected 1.19 (colored)

Fix Coverity CID 1863, 1864; resource leak, bp not freed when !okname()
before function return and/or bp overwritten by malloc().

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jun 26 19:10:49 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.39: +11 -8 lines
Diff to previous 1.39 (colored) to selected 1.19 (colored)

sprinkle a little const, and now everything compiles with WARNS=3

Revision 1.39 / (download) - annotate - [select for diffs], Fri Mar 11 02:55:23 2005 UTC (19 years, 1 month ago) by ginsbach
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.38: +8 -3 lines
Diff to previous 1.38 (colored) to selected 1.19 (colored)

Add mechanism for escaping IPv6 address strings, since they already
contain colons.  Idea from Solaris rcp(1).

Revision 1.38 / (download) - annotate - [select for diffs], Wed Mar 9 17:09:39 2005 UTC (19 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.37: +7 -7 lines
Diff to previous 1.37 (colored) to selected 1.19 (colored)

Add -4 and -6 to usage.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Mar 9 03:11:22 2005 UTC (19 years, 1 month ago) by ginsbach
Branch: MAIN
Changes since 1.36: +16 -9 lines
Diff to previous 1.36 (colored) to selected 1.19 (colored)

- Support -4 and -6.  Approved by christos.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Feb 17 15:25:02 2005 UTC (19 years, 2 months ago) by xtraeme
Branch: MAIN
Changes since 1.35: +20 -34 lines
Diff to previous 1.35 (colored) to selected 1.19 (colored)

Kill __P(), use ANSI function declarations.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Apr 2 09:08:55 2004 UTC (20 years ago) by martin
Branch: MAIN
Changes since 1.34: +2 -3 lines
Diff to previous 1.34 (colored) to selected 1.19 (colored)

Remove duplicate include, fixes PR bin/25018 from Jeff Ito.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Mar 28 08:18:25 2004 UTC (20 years ago) by jdolecek
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.33: +6 -6 lines
Diff to previous 1.33 (colored) to selected 1.19 (colored)

IPv6 support, based on src/usr.bin/rsh/rsh.c rev. 1.13
fixes PR bin/24940 by Manuel Bouyer

Revision 1.33 / (download) - annotate - [select for diffs], Thu Aug 7 09:05:27 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.32: +3 -7 lines
Diff to previous 1.32 (colored) to selected 1.19 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Jul 23 21:10:36 2003 UTC (20 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored) to selected 1.19 (colored)

include des.h, not kerberosIV/des.h

Revision 1.31 / (download) - annotate - [select for diffs], Wed Apr 16 07:10:00 2003 UTC (21 years ago) by itojun
Branch: MAIN
Changes since 1.30: +5 -3 lines
Diff to previous 1.30 (colored) to selected 1.19 (colored)

misuse of strncpy.  PR 21201 from Christian Biere.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Fri Nov 22 23:03:31 2002 UTC (21 years, 4 months ago) by tron
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.28: +4 -3 lines
Diff to previous 1.28 (colored) next main 1.29 (colored) to selected 1.19 (colored)

Pull up revision 1.30 (requested by ragge in ticket #1008):
It's a very bad habit to store file sizes in int's, so change it to off_t
instead. Obviously noone has tried to rcp files larger than 2GB.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Nov 22 21:46:02 2002 UTC (21 years, 4 months ago) by ragge
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.29: +4 -3 lines
Diff to previous 1.29 (colored) to selected 1.19 (colored)

It's a very bad habit to store file sizes in int's, so change it to off_t
instead. Obviously noone has tried to rcp files larger than 2GB.

Revision 1.29 / (download) - annotate - [select for diffs], Sat May 25 23:29:17 2002 UTC (21 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.28: +3 -30 lines
Diff to previous 1.28 (colored) to selected 1.19 (colored)

__STDC__ is always defined on NetBSD.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Sep 24 13:22:25 2001 UTC (22 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Branch point for: netbsd-1-6
Changes since 1.27: +16 -8 lines
Diff to previous 1.27 (colored) to selected 1.19 (colored)

va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jan 4 15:39:51 2001 UTC (23 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) to selected 1.19 (colored)

use more standard %ll_ in favour of %q_

Revision 1.25.6.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:27:12 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.25: +7 -7 lines
Diff to previous 1.25 (colored) next main 1.26 (colored) to selected 1.19 (colored)

Pull up to last week's -current.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Nov 9 15:06:32 1999 UTC (24 years, 5 months ago) by drochner
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.25: +7 -7 lines
Diff to previous 1.25 (colored) to selected 1.19 (colored)

Since our gcc doesn't warn about NULL format strings anymore, we can
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Feb 17 06:45:38 1999 UTC (25 years, 2 months ago) by scottr
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored) to selected 1.19 (colored)

Make this compile ifdef KERBEROS.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Nov 5 14:00:58 1998 UTC (25 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored) to selected 1.19 (colored)

s/MODEMASK/RCPMODEMASK/
From Darrin Jewell.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Nov 4 19:43:50 1998 UTC (25 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.22: +18 -6 lines
Diff to previous 1.22 (colored) to selected 1.19 (colored)

char -> unsigned char
work around missing futimes.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jul 28 11:41:51 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.21: +6 -19 lines
Diff to previous 1.21 (colored) to selected 1.19 (colored)

Be more retentive about use of NOTREACHED and noreturn.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jul 28 05:31:27 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.20: +22 -6 lines
Diff to previous 1.20 (colored) to selected 1.19 (colored)

Delint.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Feb 3 07:48:44 1998 UTC (26 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.19: +12 -2 lines
Diff to previous 1.19 (colored)

Deal with GCC warnings.

Revision 1.19 / (download) - annotate - [selected], Tue Oct 21 13:47:17 1997 UTC (26 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.18: +16 -15 lines
Diff to previous 1.18 (colored)

PR/4284: Tatoku Ogaito: rcmd(3) get be called with getpwent(3) results as
arguments, leading to memory corruption.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Oct 19 13:12:04 1997 UTC (26 years, 6 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.17: +14 -10 lines
Diff to previous 1.17 (colored) to selected 1.19 (colored)

Use futimes(2).
Send microseconds over the wire, rather than just 0.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Sep 14 08:17:12 1997 UTC (26 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) to selected 1.19 (colored)

- cleanup use of .Nm in man page
- getopt returns -1 not EOF

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jul 30 05:07:22 1997 UTC (26 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +7 -5 lines
Diff to previous 1.15 (colored) to selected 1.19 (colored)

Cast some printf arguments to keep the compiler happy on the Alpha.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jul 20 20:47:32 1997 UTC (26 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.14: +16 -14 lines
Diff to previous 1.14 (colored) to selected 1.19 (colored)

Fix compiler warnings
Add WARNS=1

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jun 7 07:11:34 1997 UTC (26 years, 10 months ago) by jeremy
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored) to selected 1.19 (colored)

Fix incorrect use of name vs. pwd->pw_name and wrong logic in strdup() test.
[PR/3718]

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jun 5 16:10:46 1997 UTC (26 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.12: +10 -8 lines
Diff to previous 1.12 (colored) to selected 1.19 (colored)

fix PR#3710, reported by Tatoku Ogaito <tacha@trap.fukui-med.ac.jp>.
- don't pass pw->pw_name into functions; make a copy.

Revision 1.12 / (download) - annotate - [select for diffs], Tue May 27 07:09:51 1997 UTC (26 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.11: +9 -21 lines
Diff to previous 1.11 (colored) to selected 1.19 (colored)

use rcmd();  garbage collect junk.

Revision 1.11 / (download) - annotate - [select for diffs], Mon May 26 15:18:52 1997 UTC (26 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (colored) to selected 1.19 (colored)

use orcmd() for now.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 1 00:02:24 1996 UTC (28 years, 2 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored) to selected 1.19 (colored)

Rename struct timespec fields to conform to POSIX.1b

Revision 1.9 / (download) - annotate - [select for diffs], Tue Mar 21 08:19:06 1995 UTC (29 years, 1 month ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.8: +337 -418 lines
Diff to previous 1.8 (colored) to selected 1.19 (colored)

actually do the import.  rcp appears to have been previously imported
but not merged(?!?!?).

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 30 19:39:36 1995 UTC (29 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored) to selected 1.19 (colored)

Use S_IS*().

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jan 30 19:37:34 1995 UTC (29 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) to selected 1.19 (colored)

Use S_IS*().

Revision 1.6 / (download) - annotate - [select for diffs], Sun Dec 4 07:12:00 1994 UTC (29 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.5: +27 -1 lines
Diff to previous 1.5 (colored) to selected 1.19 (colored)

from James Jegers <jimj@miller.cs.uwm.edu>: quiet -Wall, and squelch
some of the worst style errors.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Thu Sep 22 03:05:39 1994 UTC (29 years, 7 months ago) by mycroft
Branch: WFJ-920714, CSRG
CVS Tags: lite-2, lite-1
Changes since 1.1.1.1: +340 -400 lines
Diff to previous 1.1.1.1 (colored) to selected 1.19 (colored)

Import original 4.4-Lite version.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Mar 27 10:28:21 1994 UTC (30 years ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored) to selected 1.19 (colored)

more off_t

Revision 1.4 / (download) - annotate - [select for diffs], Sun Aug 1 18:58:57 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored) to selected 1.19 (colored)

Add RCS identifiers.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 23 00:27:01 1993 UTC (31 years, 1 month ago) by cgd
Branch: MAIN
CVS Tags: netbsd-alpha-1, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, netbsd-0-8
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored) to selected 1.19 (colored)

changed "Id" to "Header" for rcsids

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 22 08:04:00 1993 UTC (31 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored) to selected 1.19 (colored)

added rcs ids to all files

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.19 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: MAIN
Diff to selected 1.19 (colored)

Initial revision

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.




CVSweb <webmaster@jp.NetBSD.org>