Author: jilles
Date: Sun Jul 31 13:11:34 2016
New Revision: 303586
URL: https://svnweb.freebsd.org/changeset/base/303586
Log:
sh: Fix a clang warning.
Submitted by: bdrewery
Modified:
head/bin/sh/expand.c
Modified: head/bin/sh/expand.c
==============================================================================
--- head/bin/sh/expand.c Sun Jul 31 12:59:10 2016 (r303585)
+++ head/bin/sh/expand.c Sun Jul 31 13:11:34 2016 (r303586)
@@ -473,7 +473,8 @@ expbackq(union node *cmd, int quoted, in
if (--in.nleft < 0) {
if (in.fd < 0)
break;
- while ((i = read(in.fd, buf, sizeof buf)) < 0 && errno
== EINTR);
+ while ((i = read(in.fd, buf, sizeof buf)) < 0 && errno
== EINTR)
+ ;
TRACE(("expbackq: read returns %d\n", i));
if (i <= 0)
break;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"