mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-27 21:22:26 +00:00
XQuartz: Update DEBUG_LOG to report to ASL
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
384eb45b94
commit
96ac4e61f4
5 changed files with 38 additions and 17 deletions
|
|
@ -66,6 +66,8 @@
|
|||
/* From darwinEvents.c ... but don't want to pull in all the server cruft */
|
||||
void DarwinListenOnOpenFD(int fd);
|
||||
|
||||
extern aslclient aslc;
|
||||
|
||||
/* Ditto, from os/log.c */
|
||||
extern void ErrorF(const char *f, ...) _X_ATTRIBUTE_PRINTF(1,2);
|
||||
extern void FatalError(const char *f, ...) _X_ATTRIBUTE_PRINTF(1,2) _X_NORETURN;
|
||||
|
|
@ -485,7 +487,6 @@ static void ensure_path(const char *dir) {
|
|||
static void setup_console_redirect(const char *bundle_id) {
|
||||
char *asl_sender;
|
||||
char *asl_facility;
|
||||
aslclient aslc;
|
||||
|
||||
asprintf(&asl_sender, "%s.server", bundle_id);
|
||||
assert(asl_sender);
|
||||
|
|
|
|||
Loading…
Reference in a new issue