From f2dd830c7b9f283ba8db26c7cbb29fb1763f86aa Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 31 Mar 2026 07:47:15 +0100 Subject: TODO Signed-off-by: Leah Rowe --- util/libreboot-utils/lib/file.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'util/libreboot-utils') diff --git a/util/libreboot-utils/lib/file.c b/util/libreboot-utils/lib/file.c index 1d2de9b8..82ba603c 100644 --- a/util/libreboot-utils/lib/file.c +++ b/util/libreboot-utils/lib/file.c @@ -7,6 +7,16 @@ * Be nice to the demon. */ +/* +TODO: putting it here just so it's somewhere: +PATH_MAX is not reliable as a limit for paths, +because the real length depends on mount point, +and specific file systems. +more correct usage example: +long max = pathconf("/", _PC_PATH_MAX); + */ + + #include #include -- cgit v1.2.1