mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
Big, possibly complete sweep of naming changes.
This commit is contained in:
parent
27fa09aee4
commit
ffab6897aa
Notes:
sideshowbarker
2024-07-19 15:54:26 +09:00
Author: https://github.com/awesomekling
Commit: ffab6897aa
93 changed files with 830 additions and 885 deletions
|
@ -84,7 +84,7 @@ static String read_var(const String& name)
|
|||
StringBuilder builder;
|
||||
builder.append("/proc/sys/");
|
||||
builder.append(name);
|
||||
auto path = builder.build();
|
||||
auto path = builder.to_string();
|
||||
int fd = open(path.characters(), O_RDONLY);
|
||||
if (fd < 0) {
|
||||
perror("open");
|
||||
|
@ -105,7 +105,7 @@ static void write_var(const String& name, const String& value)
|
|||
StringBuilder builder;
|
||||
builder.append("/proc/sys/");
|
||||
builder.append(name);
|
||||
auto path = builder.build();
|
||||
auto path = builder.to_string();
|
||||
int fd = open(path.characters(), O_WRONLY);
|
||||
if (fd < 0) {
|
||||
perror("open");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue