shithub: riscv

Download patch

ref: ca8d12b8e3c97ad8cf7b1ce32acd515a7a825f59
parent: a786a79acfc5079761f8b3efe72142640c1e9d2c
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Thu Aug 25 09:29:42 EDT 2022

audio/zuke: properly report empty playlist error

--- a/sys/src/cmd/audio/zuke/zuke.c
+++ b/sys/src/cmd/audio/zuke/zuke.c
@@ -855,6 +855,8 @@
 			break;
 	}
 	if(n < 0 || sz < 1){
+		if(n == 0)
+			werrstr("empty");
 		free(s);
 		return nil;
 	}