|
|
Message-ID: <20261118125553.9133-16-ilt@envs.net>
Date: Wed, 18 Nov 2026 15:49:57 +0300
From: illiliti <ilt@...s.net>
To: musl@...ts.openwall.com
Cc: illiliti <ilt@...s.net>
Subject: [PATCH v1 15/18] fts: drop __FTS_COMPAT_LEVEL
---
src/misc/fts.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/src/misc/fts.c b/src/misc/fts.c
index 0cc0c290..1c2bc446 100644
--- a/src/misc/fts.c
+++ b/src/misc/fts.c
@@ -668,16 +668,6 @@ fts_build(FTS *sp, int type)
len++;
maxlen = sp->fts_pathlen - len;
-#if defined(__FTS_COMPAT_LEVEL)
- if (cur->fts_level == SHRT_MAX) {
- (void)closedir(dirp);
- cur->fts_info = FTS_ERR;
- SET(FTS_STOP);
- errno = ENAMETOOLONG;
- return (NULL);
- }
-#endif
-
level = cur->fts_level + 1;
/* Read the directory, attaching each entry to the `link' pointer. */
--
2.55.0
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.