1
0
Fork 0
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:
Andreas Kling 2019-01-31 17:31:23 +01:00
parent 27fa09aee4
commit ffab6897aa
Notes: sideshowbarker 2024-07-19 15:54:26 +09:00
93 changed files with 830 additions and 885 deletions

View file

@ -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");