mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
Canonicalize the path used by sh.
With a bunch of LibC work to support the feature. LibC now initializes AK::StringImpl by default. It's now fine to use AK in LibC/Userland! :^)
This commit is contained in:
parent
88ad59bfb1
commit
e904f193c1
Notes:
sideshowbarker
2024-07-19 18:37:10 +09:00
Author: https://github.com/awesomekling
Commit: e904f193c1
15 changed files with 170 additions and 24 deletions
14
LibC/assert.cpp
Normal file
14
LibC/assert.cpp
Normal file
|
@ -0,0 +1,14 @@
|
|||
#include "assert.h"
|
||||
#include "stdlib.h"
|
||||
#include "stdio.h"
|
||||
|
||||
extern "C" {
|
||||
|
||||
extern void __assertion_failed(const char* msg, const char* file, unsigned line, const char* func)
|
||||
{
|
||||
printf("ASSERTION FAILED: %s\n%s:%u in %s\n", msg, file, line, func);
|
||||
abort();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue