aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/u_io.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2026-03-23 12:10:58 +0100
committerlemon <lsof@mailbox.org>2026-03-23 12:10:58 +0100
commit4f2fb9ba5f529890b2a341e30a1c0c978a882e3a (patch)
tree96470481c074deeb856731a14be2045d297b730a /src/u_io.c
parentc1267dbfeb153c782e9690de8962aaf176ed0cdd (diff)
<iso646.h>, test for libc headers
Diffstat (limited to 'src/u_io.c')
-rw-r--r--src/u_io.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/u_io.c b/src/u_io.c
index f376c98..1dccb9d 100644
--- a/src/u_io.c
+++ b/src/u_io.c
@@ -857,10 +857,6 @@ openfile(const char **err, MemFile **pf, const char *path)
size_t h, id, n = countof(fileht);
if (*path == '@' && path[1] == ':') {
- /* fast path to rule out filenames we know for sure aren't builtin */
- /* !KEEP SYNC with embedfilesdir */
- if (path[2] != 's' /* std*.h */
- && path[2] != 'f' /* float.h */) return -1;
uid.dev = -1;
uid.str = path;
h = hashs(0, path+2);