shithub: pplay

Download patch

ref: 411fec76ff605c8ac00cee05635ef7b3665b221e
parent: ddb90edcf4da755893f27eee303d4807f70f1ec2
author: qwx <[email protected]>
date: Wed Jan 25 22:03:27 EST 2023

fix non-interruptible temporary warning (386, arm)

--- a/pplay.c
+++ b/pplay.c
@@ -28,7 +28,8 @@
 	for(;;){
 		if(afd < 0 || nerr > 10)
 			return;
-		if((n = getbuf(dot, Outsz, sbuf, sizeof sbuf)) < 0){
+		n = getbuf(dot, Outsz, sbuf, sizeof sbuf);
+		if(n < 0){
 			fprint(2, "athread: %r\n");
 			nerr++;
 			continue;