shithub: riscv

Download patch

ref: c4e51c5678d7f359bf0d33dba8f0bd422d979725
parent: 6fa983a5b9f89346b25a8bacc57b2c21dab36300
author: cinap_lenrek <[email protected]>
date: Mon Aug 28 15:45:49 EDT 2017

devdup: remove useless OCEXEC check, handled by namec()

--- a/sys/src/9/port/devdup.c
+++ b/sys/src/9/port/devdup.c
@@ -86,8 +86,6 @@
 		f = fdtochan(fd, openmode(omode), 0, 1);
 		cclose(c);
 	}
-	if(omode & OCEXEC)
-		f->flag |= CCEXEC;
 	return f;
 }