Home
last modified time | relevance | path

Searched refs:logfile (Results 1 – 25 of 130) sorted by relevance

123456

/openbsd-src/gnu/usr.bin/texinfo/intl/
H A Dlog.c58 FILE *logfile; in _nl_log_untranslated() local
83 logfile = last_logfile; in _nl_log_untranslated()
85 fprintf (logfile, "domain "); in _nl_log_untranslated()
86 print_escaped (logfile, domainname); in _nl_log_untranslated()
87 fprintf (logfile, "\nmsgid "); in _nl_log_untranslated()
88 print_escaped (logfile, msgid1); in _nl_log_untranslated()
91 fprintf (logfile, "\nmsgid_plural "); in _nl_log_untranslated()
92 print_escaped (logfile, msgid2); in _nl_log_untranslated()
93 fprintf (logfile, "\nmsgstr[0] \"\"\n"); in _nl_log_untranslated()
96 fprintf (logfile, "\nmsgstr \"\"\n"); in _nl_log_untranslated()
[all …]
/openbsd-src/gnu/gcc/intl/
H A Dlog.c64 FILE *logfile; local
89 logfile = last_logfile;
91 fprintf (logfile, "domain ");
92 print_escaped (logfile, domainname);
93 fprintf (logfile, "\nmsgid ");
94 print_escaped (logfile, msgid1);
97 fprintf (logfile, "\nmsgid_plural ");
98 print_escaped (logfile, msgid2);
99 fprintf (logfile, "\nmsgstr[0] \"\"\n");
102 fprintf (logfile, "\nmsgstr \"\"\n");
[all …]
/openbsd-src/gnu/usr.bin/cvs/contrib/
H A Dmfpipe.in65 $logfile = "$cvsroot/LOG/$file";
66 open(FILE, ">> $logfile") || die "Opening $logfile: $!\n";
69 print FILE "$whoami $date--------BEGIN LOG ENTRY-------------\n" if ($logfile);
72 print FILE $log if ($log && $logfile);
74 print FILE $_ if ($logfile);
H A Drcs2sccs.sh12 logfile=/tmp/rcs2sccs_$$_log
13 rm -f $logfile
66 co -r$rev $file >> $logfile 2>&1
88 sccs admin -n -i$file $file < $commentfile >> $logfile 2>&1
98 sccs admin -fb $file 2>>$logfile
100 sccs get -e -p -r$brev $file >/dev/null 2>>$logfile
104 sccs get -e -p $file >/dev/null 2>> $logfile
111 sccs delta $file < $commentfile >> $logfile 2>&1
H A Dlog.in70 my $logfile;
83 ($logfile) && die "Too many '-f' args";
84 $logfile = shift @ARGV;
119 my $logfh = new IO::File ">>" . $logfile
120 or die "Could not open(" . $logfile . "): $!\n";
198 or die "Write to $logfile failed: $!";
H A Dsccs2rcs.in82 rm -f $logfile
232 ed $tmpfile >>& $logfile <<EOF
238 ci -f -r$rev -d"$date" -w$author $file < $tmpfile >>& $logfile
242 sccs unedit $file >>& $logfile
271 echo Log file exists in $logfile.
/openbsd-src/gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A Drun.py8 extra_args=None, logfile=None, cwd=None, env=None, **kwargs): argument
96 child = spawn(command, maxread=2000, logfile=logfile, cwd=cwd, env=env,
99 child = spawn(command, timeout=timeout, maxread=2000, logfile=logfile,
151 extra_args=None, logfile=None, cwd=None, env=None, **kwargs): argument
156 events=events, extra_args=extra_args, logfile=logfile, cwd=cwd,
H A Dspawnbase.py34 logfile=None, encoding=None, codec_errors='strict'): argument
54 self.logfile = logfile
125 if self.logfile is not None:
126 self.logfile.write(s)
127 self.logfile.flush()
/openbsd-src/usr.sbin/unbound/util/
H A Dlog.c66 static FILE* logfile = 0; variable
95 if(logfile in log_init()
105 if(logfile && logfile != stderr) { in log_init()
106 FILE* cl = logfile; in log_init()
107 logfile = NULL; /* set to NULL before it is closed, so that in log_init()
137 logfile = stderr; in log_init()
156 logfile = f; in log_init()
163 logfile = f; in log_file()
268 if(!logfile) { in log_vmsg()
277 fprintf(logfile, "%s %s[%d:%x] %s: %s\n", tmbuf, in log_vmsg()
[all …]
/openbsd-src/sbin/unwind/libunbound/util/
H A Dlog.c66 static FILE* logfile = 0; variable
95 if(logfile in log_init()
105 if(logfile && logfile != stderr) { in log_init()
106 FILE* cl = logfile; in log_init()
107 logfile = NULL; /* set to NULL before it is closed, so that in log_init()
137 logfile = stderr; in log_init()
156 logfile = f; in log_init()
163 logfile = f; in log_file()
268 if(!logfile) { in log_vmsg()
277 fprintf(logfile, "%s %s[%d:%x] %s: %s\n", tmbuf, in log_vmsg()
[all …]
/openbsd-src/regress/usr.bin/ssh/
H A Dtest-exec.sh216 logfile="${TEST_SSH_LOGDIR}/\${timestamp}.ssh.\$\$.log"
217 echo "Executing: ${SSH} \$@" log \${logfile} >>$TEST_REGRESS_LOGFILE
218 echo "Executing: ${SSH} \$@" >>\${logfile}
221 ln -f -s \${logfile} $TEST_SSH_LOGFILE
222 exec ${SSH} -E\${logfile} "\$@"
235 logfile="${TEST_SSH_LOGDIR}/\${timestamp}.sshd.\$\$.log"
237 touch \$logfile
238 test -z "$SUDO" || chown $USER \$logfile
239 ln -f -s \${logfile} $TEST_SSHD_LOGFILE
240 echo "Executing: ${SSHD} \$@" log \${logfile} >>
[all...]
/openbsd-src/regress/sys/net/pf_divert/
H A Dremote.pl97 my ($logfile, $ktracefile, $packetlog, $packetktrace);
99 $logfile = dirname($0)."/remote.log";
111 logfile => $logfile,
129 logfile => "$remote.log",
150 logfile => $logfile,
167 open(my $log, '<', $l->{logfile})
182 logfile => $packetlog,
190 open($plog, '<', $p->{logfile})
/openbsd-src/usr.sbin/amd/amd/
H A Dxutil.c332 switch_to_logfile(char *logfile) in switch_to_logfile() argument
336 if (logfile) { in switch_to_logfile()
338 if (strcmp(logfile, "/dev/stderr") == 0) in switch_to_logfile()
340 else if (strcmp(logfile, "syslog") == 0) { in switch_to_logfile()
352 new_logfp = fopen(logfile, "a"); in switch_to_logfile()
360 if (!new_logfp && logfile) { in switch_to_logfile()
361 plog(XLOG_USER, "%s: Can't open logfile: %m", logfile); in switch_to_logfile()
H A Dget_args.c97 char *logfile = "syslog"; in get_args() local
134 logfile = optarg; in get_args()
254 if (switch_to_logfile(logfile) != 0) in get_args()
/openbsd-src/regress/usr.sbin/syslogd/
H A Dttylog.c43 char ptyname[16], *console, *username, *logfile, *tty; variable
68 logfile = argv[2]; in main()
76 if ((lg = fopen(logfile, "w")) == NULL) in main()
77 err(1, "fopen %s", logfile); in main()
129 err(1, "fwrite %s", logfile); in main()
226 err(1, "fwrite %s", logfile); in iostdin()
/openbsd-src/gnu/usr.bin/perl/cpan/Sys-Syslog/t/
H A Dsyslog.t245 my $logfile = "test.log";
247 open $fh, ">$logfile" or skip "can't create file '$logfile': $!", 2;
249 $r = eval { setlogsock("stream", $logfile ) } || '';
250 is( $@, '', "setlogsock() called, with 'stream' and '$logfile' (file exists)" );
252 unlink($logfile);
/openbsd-src/usr.bin/less/
H A Dedit.c31 extern int logfile;
643 logfile = open(filename, O_CREAT | O_TRUNC | O_WRONLY, 0644); in use_logfile()
649 logfile = open(filename, O_WRONLY | O_APPEND); in use_logfile()
650 if (lseek(logfile, (off_t)0, SEEK_END) == (off_t)-1) { in use_logfile()
651 close(logfile); in use_logfile()
652 logfile = -1; in use_logfile()
672 if (logfile < 0) { in use_logfile()
H A Dch.c129 extern int logfile;
262 if (!secure && logfile >= 0 && n > 0) in ch_get()
263 (void) write(logfile, (char *)&bp->data[bp->datasize], n); in ch_get()
357 if (logfile < 0) in end_logfile()
366 close(logfile); in end_logfile()
367 logfile = -1; in end_logfile()
392 (void) write(logfile, (char *)bp->data, in sync_logfile()
/openbsd-src/regress/sys/kern/sosplice/tcp/
H A Dremote.pl63 logfile => dirname($0)."/remote.log",
72 open(my $log, '<', $r->{logfile})
102 logfile => "relay.log",
/openbsd-src/regress/sys/kern/sosplice/udp/
H A Dremote.pl63 logfile => dirname($0)."/remote.log",
74 open(my $log, '<', $r->{logfile})
105 logfile => "relay.log",
/openbsd-src/regress/sys/kern/sosplice/scapy/
H A Dscapy.pl62 logfile => dirname($0)."/remote.log",
77 open(my $log, '<', $r->{logfile})
106 logfile => "relay.log",
/openbsd-src/gnu/llvm/lldb/packages/Python/lldbsuite/test/
H A Dlldbpexpect.py26 logfile = getattr(sys.stdout, 'buffer',
50 args[0], args=args[1:], logfile=logfile,
/openbsd-src/regress/sys/kern/sosplice/
H A DProc.pm49 $self->{logfile}
51 open(my $fh, '>', $self->{logfile})
125 open(my $fh, '<', $self->{logfile})
/openbsd-src/regress/usr.sbin/ospfd/
H A DProc.pm67 $self->{logfile}
69 open(my $fh, '>', $self->{logfile})
149 open(my $fh, '<', $self->{logfile})
/openbsd-src/regress/usr.sbin/relayd/
H A Dremote.pl71 logfile => dirname($0)."/remote.log",
75 open(my $log, '<', $r->{logfile})
115 logfile => "relayd.log",

123456