Files
ladybird/Kernel
Sergey Bugaev 75df45d709 Kernel: Fix comparing StringViews with strcmp().
StringView character buffer is not guaranteed to be null-terminated;
in particular it will not be null-terminated when making a substring.
This means that the buffer can not be used with C functions that expect
a null-terminated string. Instead, StringView provides a convinient
operator == for comparing it with Strings and C stirngs, so use that.

This fixes /proc/self/... resolution failures in ProcFS, since the name
("self") passed to ProcFSInode::lookup() would not be null-terminated.
2019-06-12 16:14:29 +02:00
..
2019-05-28 17:31:20 +02:00
2019-05-28 17:31:20 +02:00
2019-06-08 18:12:20 +02:00
2019-05-28 17:31:20 +02:00
2019-05-28 17:31:20 +02:00
2019-05-28 17:31:20 +02:00
2019-06-10 20:26:54 +02:00
2019-05-28 17:31:20 +02:00
2019-05-28 17:31:20 +02:00
2019-05-28 17:31:20 +02:00
2019-05-28 17:31:20 +02:00
2019-05-28 17:31:20 +02:00