[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/2] maint: pwd: use the COUNTED_BY attribute on the constructed
|
From: |
Collin Funk |
|
Subject: |
[PATCH 2/2] maint: pwd: use the COUNTED_BY attribute on the constructed file name |
|
Date: |
Fri, 2 Oct 2026 23:35:05 -0700 |
* src/pwd.c (struct file_name): Use COUNTED_BY on the buf member.
---
src/pwd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pwd.c b/src/pwd.c
index 486e8e670..aa75b3d71 100644
--- a/src/pwd.c
+++ b/src/pwd.c
@@ -31,8 +31,8 @@
struct file_name
{
- char *buf;
idx_t n_alloc;
+ char *buf COUNTED_BY (n_alloc);
char *start;
};
--
2.55.0