Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4bbc7d631326fb735ab043506881a8f0bc9713b4
https://github.com/WebKit/WebKit/commit/4bbc7d631326fb735ab043506881a8f0bc9713b4
Author: Thomas Klausner <[email protected]>
Date: 2026-05-05 (Tue, 05 May 2026)
Changed paths:
M Source/WTF/wtf/glib/FileSystemGlib.cpp
Log Message:
-----------
Adapt for procfs differences between NetBSD and other operating systems.
https://bugs.webkit.org/show_bug.cgi?id=313992
Reviewed by Claudio Saavedra.
NetBSD does support procfs, but there are some differences. One is
that the link to the executable is not `/proc/curproc/file` but
`/proc/curproc/exe`. This causes an error message on the console.
This error also showed an off-by-one - glib2 doesn't like creating
file names from strings of length zero - fixed as well.
* Source/WTF/wtf/glib/FileSystemGlib.cpp:
(WTF::FileSystemImpl::currentExecutablePath):
Canonical link: https://commits.webkit.org/312615@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications