aboutsummaryrefslogtreecommitdiff
path: root/lib/fstree/internal.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-12-05 10:17:03 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-03-30 22:31:30 +0200
commita0e9956f931e28eeb430bd2459668fd96a69c676 (patch)
treeb17b9c6a6b282598affa2cf695ee18a2ebaa0a17 /lib/fstree/internal.h
parentbb526954f24b2be5c574810a72395461cadd2d0c (diff)
Fix: Directory insertion order on Windows
The fstree sorting code got removed recently, in favour of inserting at the correct position. The Windows directory scanning code still used it's own list insertion code instead of mknode (so it could allocate and translate the directory entry name in-place), which broke the sorting order. This issue is fixed in this commit. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/fstree/internal.h')
-rw-r--r--lib/fstree/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/fstree/internal.h b/lib/fstree/internal.h
index c594f64..d14fb4f 100644
--- a/lib/fstree/internal.h
+++ b/lib/fstree/internal.h
@@ -17,4 +17,6 @@
*/
sqfs_u32 get_source_date_epoch(void);
+void fstree_insert_sorted(tree_node_t *root, tree_node_t *n);
+
#endif /* FSTREE_INTERNAL_H */