shithub: 9pro

Download patch

ref: fa3dedf095a17cdca105b57ee84f8f6f9117012f
parent: 996dd23001bb1f21e1fbf324bce4016baa5d85c4
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Thu Jun 18 09:11:17 EDT 2020

add a trace

--- a/9pex.c
+++ b/9pex.c
@@ -263,6 +263,8 @@
 		f->name = f->path;
 	else
 		f->name++;
+	if (f->name[0] == 0)
+		fprintf(stderr, "%s -> empty file name\n", f->path);
 
 	for (i = 0; i < numfids; i++) {
 		if (fids[i] == NULL) {