Home
last modified time | relevance | path

Searched refs:log_file (Results 1 – 25 of 77) sorted by relevance

1234

/netbsd-src/external/bsd/am-utils/dist/
H A Dcommit54 log_file="${TMPDIR-/tmp}/commitlog.$$"
56 rm -f "$log_file"
81 if test -f "$log_file"; then
86 echo "$1" > "$log_file"
90 if test -f "$log_file"; then
99 if cat < "$1" > "$log_file"; then :; else
183 if test ! -f "$log_file"; then
199 | sed -e 's,\+ ,,' -e '/./p' -e '/./d' -e '1d' -e '$d' > "$log_file" \
205 if grep '[^ ]' < "$log_file" > /dev/null; then :; else
210 if grep '^$' < "$log_file" > /dev/null; then
[all …]
/netbsd-src/external/bsd/tmux/dist/
H A Dlog.c29 static FILE *log_file; variable
64 log_file = fopen(path, "a"); in log_open()
66 if (log_file == NULL) in log_open()
69 setvbuf(log_file, NULL, _IOLBF, 0); in log_open()
92 if (log_file != NULL) in log_close()
93 fclose(log_file); in log_close()
94 log_file = NULL; in log_close()
106 if (log_file == NULL) in log_vwrite()
118 if (fprintf(log_file, "%lld.%06d %s%s\n", (long long)tv.tv_sec, in log_vwrite()
120 fflush(log_file); in log_vwrite()
[all …]
/netbsd-src/external/bsd/dhcpcd/dist/src/
H A Dlogerr.c61 FILE *log_file; member
240 if (ctx->log_file != NULL && in vlogmessage()
242 len = vlogprintf_r(ctx, ctx->log_file, fmt, args); in vlogmessage()
382 if (fd != -1 && ctx->log_file != NULL) { in logsetfd()
383 fclose(ctx->log_file); in logsetfd()
384 ctx->log_file = NULL; in logsetfd()
458 if (ctx->log_file != NULL) { in logopen()
459 fclose(ctx->log_file); in logopen()
460 ctx->log_file = NULL; in logopen()
471 if ((ctx->log_file = fopen(path, "ae")) == NULL) in logopen()
[all …]
/netbsd-src/lib/libc/gen/
H A Dxsyslog.c69 if (data->log_file != -1) { in disconnectlog_r()
70 (void)close(data->log_file); in disconnectlog_r()
71 data->log_file = -1; in disconnectlog_r()
86 if (data->log_file == -1 || fcntl(data->log_file, F_GETFL, 0) == -1) { in connectlog_r()
87 if ((data->log_file = socket(AF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC, in connectlog_r()
93 if (connect(data->log_file, in connectlog_r()
96 (void)close(data->log_file); in connectlog_r()
97 data->log_file = -1; in connectlog_r()
122 (void)close(data->log_file); in _closelog_unlocked_r()
123 data->log_file = -1; in _closelog_unlocked_r()
[all …]
/netbsd-src/external/mpl/bind/dist/
H A Dtest-driver56 log_file= # Where to save the output of the test script.
66 --log-file) log_file=$2; shift;;
80 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
111 : >"$log_file"
112 "$@" >>"$log_file" 2>&1
134 echo "$res $test_name (exit status: $estatus)" >>"$log_file"
/netbsd-src/external/mit/isl/dist/
H A Dtest-driver56 log_file= # Where to save the output of the test script.
66 --log-file) log_file=$2; shift;;
80 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
111 : >"$log_file"
112 "$@" >>"$log_file" 2>&1
134 echo "$res $test_name (exit status: $estatus)" >>"$log_file"
/netbsd-src/external/bsd/openpam/dist/
H A Dtest-driver56 log_file= # Where to save the output of the test script.
66 --log-file) log_file=$2; shift;;
80 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
111 : >"$log_file"
112 "$@" >>"$log_file" 2>&1
134 echo "$res $test_name (exit status: $estatus)" >>"$log_file"
/netbsd-src/crypto/external/bsd/heimdal/dist/
H A Dtest-driver56 log_file= # Where to save the output of the test script.
66 --log-file) log_file=$2; shift;;
80 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
111 : >"$log_file"
112 "$@" >>"$log_file" 2>&1
134 echo "$res $test_name (exit status: $estatus)" >>"$log_file"
/netbsd-src/external/lgpl3/mpfr/dist/
H A Dtest-driver56 log_file= # Where to save the output of the test script.
66 --log-file) log_file=$2; shift;;
80 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
111 : >"$log_file"
112 "$@" >>"$log_file" 2>&1
134 echo "$res $test_name (exit status: $estatus)" >>"$log_file"
/netbsd-src/external/lgpl3/mpc/dist/build-aux/
H A Dtest-driver56 log_file= # Where to save the output of the test script.
66 --log-file) log_file=$2; shift;;
80 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
111 : >"$log_file"
112 "$@" >>"$log_file" 2>&1
134 echo "$res $test_name (exit status: $estatus)" >>"$log_file"
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/kadm5/
H A Diprop-log.c305 free(server_context->log_context.log_file); in iprop_dump()
306 server_context->log_context.log_file = strdup(argv[0]); in iprop_dump()
307 if (server_context->log_context.log_file == NULL) in iprop_dump()
364 free(server_context->log_context.log_file); in iprop_truncate()
365 server_context->log_context.log_file = strdup(argv[0]); in iprop_truncate()
366 if (server_context->log_context.log_file == NULL) in iprop_truncate()
414 alt_argv[0] = strdup(server_context->log_context.log_file); in last_version()
422 free(server_context->log_context.log_file); in last_version()
423 server_context->log_context.log_file = strdup(argv[i]); in last_version()
424 if (server_context->log_context.log_file == NULL) in last_version()
[all …]
/netbsd-src/external/bsd/flex/dist/build-aux/
H A Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/netbsd-src/external/gpl3/gcc.old/dist/
H A Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/netbsd-src/sys/external/isc/libsodium/dist/build-aux/
H A Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/netbsd-src/external/gpl3/binutils.old/dist/
H A Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/netbsd-src/external/lgpl3/gmp/dist/
H A Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/netbsd-src/external/gpl3/binutils/dist/
H A Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/netbsd-src/external/bsd/libevent/dist/build-aux/
H A Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/netbsd-src/external/gpl3/gdb.old/dist/
H A Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/netbsd-src/external/gpl3/gdb/dist/
H A Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/netbsd-src/external/lgpl3/mpc/dist/
H A Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/netbsd-src/external/gpl3/gcc/dist/
H A Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/netbsd-src/external/bsd/ntp/dist/sntp/libevent/build-aux/
H A Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/netbsd-src/external/mit/expat/dist/conftools/
H A Dtest-driver56 log_file= # Where to save the output of the test script.
66 --log-file) log_file=$2; shift;;
80 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
109 "$@" >$log_file 2>&1
131 echo "$res $test_name (exit status: $estatus)" >>$log_file
/netbsd-src/external/gpl2/lvm2/dist/lib/log/
H A Dlog.c55 void init_log_file(const char *log_file, int append) in init_log_file() argument
59 if (!(_log_file = fopen(log_file, open_mode))) { in init_log_file()
60 log_sys_error("fopen", log_file); in init_log_file()
67 void init_log_direct(const char *log_file, int append) in init_log_direct() argument
71 dev_create_file(log_file, &_log_dev, &_log_dev_alias, 1); in init_log_direct()

1234