New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use fmt for string formatting (GTK client) #3967
Conversation
a32aa52
to
d4501e4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Were changes mixed for different issues in this commit? 🤔
g_message(_("Got signal %d; trying to shut down cleanly. Do it again if it gets stuck."), sig); | ||
gtr_actions_handler("quit", sighandler_cbdata); | ||
} | ||
g_message(_("Got termination signal, trying to shut down cleanly. Do it again if it gets stuck.")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💭 Are you sure that the implementation of this function is async-signal-safe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I may have misread the question. The proper answer is: it doesn't matter now since g_warning()
is no longer called inside the actual signal handler.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got the impression from your other response that this short feedback should be reconsidered another bit.
Are there different development views involved according to the term “signal handling” by the programming interfaces “POSIX” and “GLib”? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
POSIX signals and Glib signals are two completely different things which aren't related to each other. I'm sorry but I'd rather not dive into details here; I believe there's enough information on both topics out there if you're interested to know more.
Changes to |
No description provided.