shithub: riscv

Download patch

ref: 2163aebcb85e8214869a2c026b3fc5bd9ddac22c
parent: c615586e7319b2514c5e31697adca76247cfb54d
author: Jacob Moody <[email protected]>
date: Sat Mar 25 20:40:45 EDT 2023

cpp: allow qid version change for #pragma once

--- a/sys/src/cmd/cpp/include.c
+++ b/sys/src/cmd/cpp/include.c
@@ -13,7 +13,6 @@
 oncecmp(Once *a, Once *b)
 {
 	if(a->qid.path == b->qid.path)
-	if(a->qid.vers == b->qid.vers)
 	if(a->qid.type == b->qid.type)
 	if(a->dev == b->dev)
 	if(a->type == b->type)