clean up and standardize types across the codebase, unify atomic operations, improve UTF-8 handling throughout the system, remove obsolete input and named queue interfaces, redesign process preparation and creation, tighten IPC and service boundaries, improve error handling and reliability, minor documentation cleanup, fix doom surfaces, fix panic in ini parsing.
This commit is contained in:
1 parent
899225f551
commit
c0ad63c27f
226 files changed
+6562
-4147
No files matched your search
@@ -1,5 +1,6 @@
|
||||
// User-mode smoke test for POSIX descriptor and open-description semantics.
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
@@ -58,7 +59,7 @@ static void fail_error(const char* message, int error) {
|
||||
#define INHERIT_PIPE_B_WRITE 15
|
||||
|
||||
// Returns whether this invocation is the descriptor-inheritance child.
|
||||
static int is_inheritance_child(void) {
|
||||
static bool is_inheritance_child(void) {
|
||||
const char* command = posix_get_command_line();
|
||||
return command && strstr(command, "--inherit-child") != NULL;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user