]> git.ipfire.org Git - thirdparty/gcc.git/commit
EXPERIMENTAL_SARIF_SOCKET: decode errno when reporting errors [PR115970]
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 12 Nov 2025 21:51:16 +0000 (16:51 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Wed, 12 Nov 2025 21:51:16 +0000 (16:51 -0500)
commite7e1f2e40a2d1c335d2bd8b7d57d65eb377d46dd
tree9b43b06132dcbb189669239faf52a499211087ca
parent69b484f9481f53186a8431c0149a173885255362
EXPERIMENTAL_SARIF_SOCKET: decode errno when reporting errors [PR115970]

gcc/ChangeLog:
PR diagnostics/115970
* diagnostics/sarif-sink.cc (maybe_open_sarif_sink_for_socket):
Add "%m" to error messages, so that we print the string form of
errno.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/diagnostics/sarif-sink.cc