From fc56b708803d28b949a9181528bb0da4d25b3b7b Mon Sep 17 00:00:00 2001 From: Apple Date: Fri, 1 May 2020 18:25:29 +0000 Subject: [PATCH] Libc-1353.100.2.tar.gz --- libdarwin/bsd.c | 2 +- xcodescripts/libc.xcconfig | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/libdarwin/bsd.c b/libdarwin/bsd.c index 35cbafd..5a60e53 100644 --- a/libdarwin/bsd.c +++ b/libdarwin/bsd.c @@ -34,7 +34,7 @@ _parse_boot_arg_value(char *argsbuff, const char *which, char *where, size_t max char *token = NULL; char *argsstr = argsbuff; - static const char seps[] = { ' ', '\t', }; + static const char seps[] = { ' ', '\t', 0 }; while ((token = strsep(&argsstr, seps)) != NULL) { bool is_boolean = false; diff --git a/xcodescripts/libc.xcconfig b/xcodescripts/libc.xcconfig index a7437ae..24e859b 100644 --- a/xcodescripts/libc.xcconfig +++ b/xcodescripts/libc.xcconfig @@ -75,7 +75,6 @@ GCC_PREPROCESSOR_DEFINITIONS = $(BASE_PREPROCESSOR_MACROS) // libsystem_c.dylib linking CR_LDFLAGS = -lCrashReporterClient -CR_LDFLAGS[sdk=driverkit*] = LIBCOMPILER_RT_LDFLAGS = -lcompiler_rt LIBMALLOC_LDFLAGS = -lsystem_malloc LIBC_LDFLAGS = -lsystem_c -- 2.45.2