nxt_lib.c (328:542e3e439969) nxt_lib.c (1306:3604d05e48be)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

--- 29 unchanged lines hidden (view full) ---

38 nxt_thread_t *thread;
39
40 flags = nxt_stderr_start();
41
42 nxt_log_start(app);
43
44 nxt_pid = getpid();
45 nxt_ppid = getppid();
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

--- 29 unchanged lines hidden (view full) ---

38 nxt_thread_t *thread;
39
40 flags = nxt_stderr_start();
41
42 nxt_log_start(app);
43
44 nxt_pid = getpid();
45 nxt_ppid = getppid();
46 nxt_euid = geteuid();
47 nxt_egid = getegid();
46
47#if (NXT_DEBUG)
48
49 nxt_main_log.level = NXT_LOG_DEBUG;
50
51#if (NXT_HAVE_MALLOPT)
52 /* Fill memory with 0xAA after malloc() and with 0x55 before free(). */
53 mallopt(M_PERTURB, 0x55);

--- 99 unchanged lines hidden ---
48
49#if (NXT_DEBUG)
50
51 nxt_main_log.level = NXT_LOG_DEBUG;
52
53#if (NXT_HAVE_MALLOPT)
54 /* Fill memory with 0xAA after malloc() and with 0x55 before free(). */
55 mallopt(M_PERTURB, 0x55);

--- 99 unchanged lines hidden ---