NetBSD/bin
rin 2316fa6ff0 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...
2022-07-18 13:01:59 +00:00
..
cat Add cross reference to tac(1). 2017-10-02 08:24:17 +00:00
chio typo: unvalid -> invalid 2017-10-16 17:08:35 +00:00
chmod Use Ex. 2017-07-04 06:46:51 +00:00
cp fix reversed test. 2020-05-22 14:54:30 +00:00
csh csh(1): fix punctuation at the end of an .Xr line 2022-07-09 21:19:44 +00:00
date date(1): Use .Dl for one-liners. Same output is generated. 2022-05-10 09:07:57 +00:00
dd update header too. 2022-01-14 23:56:35 +00:00
df Set totals.f_frsize to DEV_BSIZE instead of totals.f_bsize so that 2021-11-29 05:59:58 +00:00
domainname Use __dead 2011-08-29 14:51:17 +00:00
echo echo: fix lint error due to strict bool mode 2021-11-16 21:38:29 +00:00
ed fix some misspellings and remove trailing whitespaces. 2022-05-20 07:47:16 +00:00
expr Fix typo 2020-06-11 13:08:07 +00:00
getfacl Fix xrefs, comment out acl(9) which we don't have. 2020-06-18 19:36:13 +00:00
hostname Remove options added in 1.18, commitid: UhxHPgtT2Pzeg4Yw due to some 2014-02-13 12:00:29 +00:00
kill Alter error messages so they no longer claim that bad input is illegal. 2022-05-16 10:53:14 +00:00
ksh Fix core dump caused by 2022-07-03 06:30:31 +00:00
ln Update usage to include -w 2018-08-26 23:01:06 +00:00
ls Fix skipping of directories that begin with a '.' in -R mode. 2020-07-07 14:29:06 +00:00
mkdir PR bin/56398 2021-09-13 22:46:02 +00:00
mt s/begining/beginning/ in comments and messages. 2022-01-24 09:14:36 +00:00
mv Note that -h is an extension to POSIX. Bump date. 2020-06-24 17:00:58 +00:00
pax fix various typos, mainly in comments. 2022-05-28 10:36:21 +00:00
ps remove double t from targeted, add missing r to arbitrary 2022-01-26 11:48:53 +00:00
pwd Make pwd (both /bin/pwd and the /bin/sh built-in version) check for 2021-11-16 16:57:15 +00:00
rcmd Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
rcp Fix bug revealed by SIGINFO support; Do not treat short read(2)/write(2) 2022-07-18 13:01:59 +00:00
rm bin: remove unnecessary lint comment CONSTCOND 2021-09-10 22:11:03 +00:00
rmdir PR/48182: Fix rmdir -p handling of top-level (root) directory. 2017-08-10 22:52:13 +00:00
setfacl Sync usage with manpage. 2020-06-18 19:44:01 +00:00
sh fix various typos in comments, documentation and messages. 2022-05-31 08:43:13 +00:00
sleep Deal with overflow when the sleep duration given is a simple 2019-03-10 15:18:45 +00:00
stty Clarify that "stty 0" will normally hang up the tty. Bump date. 2022-05-14 21:04:34 +00:00
sync Drop main() prototype. 2016-09-05 01:00:07 +00:00
test s/existance/existence/ in comment. 2021-12-05 04:42:54 +00:00
Makefile Add ACL support for FFS. From FreeBSD. 2020-05-16 18:31:45 +00:00
Makefile.inc bin: in builds with MKLINT=yes, run lint on all programs 2021-10-09 21:06:31 +00:00