shithub: libacme

Download patch

ref: f56267814566dddb3d995e2ca067d73d71a4937f
parent: ce79e1fe0355e8e6aff4de3278c5b343f8b31538
author: james palmer <foura@biobuf.link>
date: Mon Jun 7 11:14:23 EDT 2021

awincat: fix sucide. we want an 8k buffer not a int sized buffer

--- a/window.c
+++ b/window.c
@@ -110,7 +110,7 @@
 	char *buf;
 	long n;
 	
-	buf = malloc(sizeof(8*1024));
+	buf = malloc(8*1024);
 	body = awinfsopen(w, "body", OWRITE);
 	fd = open(file, OREAD);
 	if(fd < 0) {