| /netbsd/src/external/bsd/am-utils/dist/ |
| D | commit | 54 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/ |
| D | log.c | 29 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/gpl3/gdb/dist/gdb/ |
| D | gdb_buildall.sh | 229 ./gdb/gdb -batch -nx -x x 2>&1 | cat > $log_file 231 if test ! -s $log_file 233 echo " ERR: gdb printed no output" | tee -a $log_file 234 elif test `grep -o internal-error $log_file | tail -n 1` 236 echo " ERR: gdb panic" | tee -a $log_file 244 sed -n -e '/<0x0*>/d' -e 's/^.*<0x\([0-9a-f]*\)>.*$/0x\1/p' $log_file \ 254 sed -f mbuild.sed $log_file > Mbuild.log 256 mv Mbuild.log ${builddir}/$log_file 257 rm -rf $log_file x mbuild.sed
|
| /netbsd/src/lib/libc/gen/ |
| D | xsyslog.c | 69 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/bsd/openpam/dist/ |
| D | test-driver | 56 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/expat/dist/conftools/ |
| D | test-driver | 56 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/ |
| D | test-driver | 56 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/ |
| D | test-driver | 56 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/ |
| D | iprop-log.c | 305 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 …]
|
| D | context_s.c | 185 ctx->log_context.log_file = strdup(p); in find_db_spec() 186 if (ctx->log_context.log_file == NULL) in find_db_spec() 213 if (ctx->log_context.log_file == NULL) { in find_db_spec() 214 aret = asprintf(&ctx->log_context.log_file, "%s/log", in find_db_spec()
|
| /netbsd/src/external/gpl3/binutils/dist/ |
| D | test-driver | 54 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/ |
| D | test-driver | 54 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/ |
| D | test-driver | 54 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/ |
| D | test-driver | 54 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/ |
| D | test-driver | 54 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/ |
| D | test-driver | 54 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/gpl2/lvm2/dist/lib/log/ |
| D | log.c | 55 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()
|
| D | lvm-logging.h | 41 void init_log_file(const char *log_file, int append); 42 void init_log_direct(const char *log_file, int append);
|
| /netbsd/src/external/bsd/libbind/dist/isc/ |
| D | logging.c | 92 if (chan == NULL || chan->type != log_file) { in log_open_stream() 166 if (chan == NULL || chan->type != log_file) { in log_close_stream() 184 if (lcl->channel->type == log_file && in log_close_debug_channels() 192 if (chan == NULL || chan->type != log_file) { in log_get_stream() 201 if (chan == NULL || chan->type != log_file) { in log_get_filename() 386 case log_file: in log_vwrite() 609 chan->type = log_file; in log_new_file_channel() 645 if (chan->type != log_file) { in log_set_file_owner() 705 if (chan->type == log_file) { in log_free_channel()
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/hdb/ |
| D | dbinfo.c | 44 char *log_file; member 83 di->log_file = strdup(p); in get_dbinfo() 218 return dbp->log_file; in hdb_dbinfo_get_log_file() 239 free (di->log_file); in hdb_free_dbinfo()
|
| /netbsd/src/external/gpl2/lvm2/dist/include/ |
| D | lvm-logging.h | 41 void init_log_file(const char *log_file, int append); 42 void init_log_direct(const char *log_file, int append);
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/tests/db/ |
| D | krb5.conf.in | 15 log_file = @objdir@/current.log 21 log_file = @objdir@/current.log
|
| /netbsd/src/sys/sys/ |
| D | syslog.h | 180 int log_file; member 192 .log_file = -1, \
|
| /netbsd/src/external/gpl2/lvm2/dist/lib/commands/ |
| D | toolcontext.c | 128 const char *log_file; in _init_logging() local 173 log_file = find_config_tree_str(cmd, "log/file", 0); in _init_logging() 175 if (log_file) { in _init_logging() 178 init_log_file(log_file, append); in _init_logging() 181 log_file = find_config_tree_str(cmd, "log/activate_file", 0); in _init_logging() 182 if (log_file) in _init_logging() 183 init_log_direct(log_file, append); in _init_logging()
|
| /netbsd/src/external/bsd/wpa/dist/hostapd/ |
| D | main.c | 769 const char *log_file = NULL; in main() local 831 log_file = optarg; in main() 900 if (log_file) in main() 901 wpa_debug_open_file(log_file); in main() 902 if (!log_file && !wpa_debug_syslog) in main() 1054 if (log_file) in main()
|