Author:ptrace
Comitter:ptrace
Date:2026-04-29 12:31:19 UTC
diff --git a/src/search/main.jai b/src/search/main.jai
index 1465c5b..0fe51f7 100644
--- a/src/search/main.jai
+++ b/src/search/main.jai
@@ -45,10 +45,6 @@
#import,file "../quick_trace.jai"(ENABLE_TRACING=IS_DEVELOPER);
/** TODO(adam, 5): Bug - when typing "SSL" inside the search, it cannot find
the Rust/SSL entry. It seems that titles are not indexed!
*/
/** This is a list of things we did, to ensure stability
diff --git a/src/search/search.jai b/src/search/search.jai
index 21ee17c..83647a0 100644
--- a/src/search/search.jai
+++ b/src/search/search.jai
@@ -136,8 +136,6 @@ find_in_documents :: (ht: *Table(string, []int), query: []string) -> []int {
for term: query {
found, indexes := table_find(ht, to_lower_copy(term));
// TODO(adam, 5): create some validation at init time if the
// indexes from the ht are inside the bounds of `documents`!
if found then { for indexes array_add(*buf, it); }
}
diff --git a/src/search/sec_landlock.jai b/src/search/sec_landlock.jai
index 21ba1b7..0317469 100644
--- a/src/search/sec_landlock.jai
+++ b/src/search/sec_landlock.jai
@@ -11,9 +11,6 @@ sec_landlock_init :: () {
version := landlock_is_version_equal_or_higher(DESIRED_VERSION, true);
if !version {
/** TODO(adam, 5): For now we ignore the handling here,
since I want to test it on an older server first.
*/
log_error("Warning: Your version of landlock is too old.");
}