NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problems unpacking sets with ftp -o



On Sun, 4 Jul 2021, RVP wrote:

+		n = fwrite(p, 1, len, fp);
+		if (n == 0) {
+			if (errno == EINTR)
+				clearerr(fp);
+			else
+				return 0;
+		}

Small correction: that clearerr() is probably unnecessary--please omit.

-RVP


Home | Main Index | Thread Index | Old Index