shithub: 9pro

Download patch

ref: 57fdb807f713ef11c66ee904eea35695f42071e8
parent: 1a0e97f78fb7f3cdcb442ffe76d360d3c81c4b26
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Tue Dec 24 09:29:39 EST 2019

fix wrong qid type in some cases

--- a/9pex.c
+++ b/9pex.c
@@ -205,6 +205,7 @@
 
 	qid->path = st->st_ino;
 	qid->version = crc32(&st->st_ctim, sizeof(st->st_ctime));
+	qid->type = C9qtfile;
 	fmt = st->st_mode & S_IFMT;
 	if (fmt == S_IFDIR)
 		qid->type |= C9qtdir;