git: 9front

Download patch

ref: c38889544226740ca51bb21e86a92227457a9b81
parent: aaf53fb23552873a01baf346f3ada736e8518fd8
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Wed Nov 21 14:28:40 EST 2012

hgfs: remove bogus OTRUNC mode from create() call in fmktemp()

--- a/sys/src/cmd/hgfs/revlog.c
+++ b/sys/src/cmd/hgfs/revlog.c
@@ -10,7 +10,7 @@
 	static ulong id = 1;
 	char path[MAXPATH];
 	snprint(path, sizeof(path), "/tmp/hg%.12d%.8lux", getpid(), id++);
-	return create(path, OEXCL|OTRUNC|ORDWR|ORCLOSE, 0600);
+	return create(path, OEXCL|ORDWR|ORCLOSE, 0600);
 }
 
 void
--