| /netbsd-src/external/gpl2/texinfo/dist/intl/ |
| H A D | log.c | 60 FILE *logfile; in _nl_log_untranslated() local 85 logfile = last_logfile; in _nl_log_untranslated() 87 fprintf (logfile, "domain "); in _nl_log_untranslated() 88 print_escaped (logfile, domainname); in _nl_log_untranslated() 89 fprintf (logfile, "\nmsgid "); in _nl_log_untranslated() 90 print_escaped (logfile, msgid1); in _nl_log_untranslated() 93 fprintf (logfile, "\nmsgid_plural "); in _nl_log_untranslated() 94 print_escaped (logfile, msgid2); in _nl_log_untranslated() 95 fprintf (logfile, "\nmsgstr[0] \"\"\n"); in _nl_log_untranslated() 98 fprintf (logfile, "\nmsgstr \"\"\n"); in _nl_log_untranslated() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/intl/ |
| H A D | log.c | 64 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 …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/intl/ |
| H A D | log.c | 64 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 …]
|
| /netbsd-src/external/gpl3/gcc/dist/intl/ |
| H A D | log.c | 64 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 …]
|
| /netbsd-src/external/gpl3/gdb.old/dist/intl/ |
| H A D | log.c | 64 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 …]
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-runtime/intl/ |
| H A D | log.c | 66 FILE *logfile; in __libc_lock_define_initialized() local 91 logfile = last_logfile; in __libc_lock_define_initialized() 93 fprintf (logfile, "domain "); in __libc_lock_define_initialized() 94 print_escaped (logfile, domainname); in __libc_lock_define_initialized() 95 fprintf (logfile, "\nmsgid "); in __libc_lock_define_initialized() 96 print_escaped (logfile, msgid1); in __libc_lock_define_initialized() 99 fprintf (logfile, "\nmsgid_plural "); in __libc_lock_define_initialized() 100 print_escaped (logfile, msgid2); in __libc_lock_define_initialized() 101 fprintf (logfile, "\nmsgstr[0] \"\"\n"); in __libc_lock_define_initialized() 104 fprintf (logfile, "\nmsgstr \"\"\n"); in __libc_lock_define_initialized() [all …]
|
| /netbsd-src/usr.bin/newsyslog/ |
| H A D | newsyslog.c | 110 char logfile[MAXPATHLEN]; /* Path to log file */ member 221 if (strcmp(log.logfile, argv[i]) == 0) in main() 277 (void)strlcpy(log->logfile, *ap++, sizeof(log->logfile)); in parse_cfgline() 278 if (log->logfile[0] != '/') in parse_cfgline() 438 PRHDRINFO(("\n%s <%d%s>: ", log->logfile, log->numhist, in log_examine() 446 if (stat(log->logfile, &sb) < 0) { in log_examine() 455 if (stat(log->logfile, &sb)) in log_examine() 456 err(EXIT_FAILURE, "%s", log->logfile); in log_examine() 461 err(EXIT_FAILURE, "%s", log->logfile); in log_examine() 486 (void)strlcpy(tmp, log->logfile, sizeof(tmp)); in log_examine() [all …]
|
| /netbsd-src/external/bsd/kyua-cli/dist/utils/logging/ |
| H A D | operations.cpp | 99 static std::unique_ptr< std::ofstream > logfile; variable 180 if (logfile.get() == NULL) in log() 184 (*logfile) << message << '\n'; in log() 185 (*logfile).flush(); in log() 218 PRE(logfile.get() == NULL); in set_persistency() 232 logfile.reset(new std::ofstream(path.c_str())); in set_persistency() 233 if (!(*logfile)) in set_persistency() 239 (*logfile) << (*iter).second << '\n'; in set_persistency() 241 (*logfile).flush(); in set_persistency()
|
| /netbsd-src/external/gpl2/xcvs/dist/contrib/ |
| H A D | sccs2rcs.in | 99 set logfile = /tmp/sccs2rcs_$$_log 100 rm -f $logfile 226 sccs edit -r$rev $file >>& $logfile 251 ci -f -r$rev -d"$date" -w$author -t$emptyfile $file < $initialfile >>& $logfile 258 ci -f -r$rev -d"$date" -w$author -t$tmpfile $file < $initialfile >>& $logfile 267 rcs -l$lckrev $file >>& $logfile 270 rcs -l $file >>& $logfile 277 ed $tmpfile >>& $logfile <<EOF 283 ci -f -r$rev -d"$date" -w$author $file < $tmpfile >>& $logfile 287 sccs unedit $file >>& $logfile [all …]
|
| H A D | mfpipe.in | 95 $logfile = "$cvsroot/LOG/$file"; 96 open(FILE, ">> $logfile") || die "Opening $logfile: $!\n"; 99 print FILE "$whoami $date--------BEGIN LOG ENTRY-------------\n" if ($logfile); 102 print FILE $log if ($log && $logfile); 104 print FILE $_ if ($logfile);
|
| H A D | rcs2sccs.sh | 23 logfile=/tmp/rcs2sccs_$$_log 24 rm -f $logfile 81 co -r$rev $file >> $logfile 2>&1 103 sccs admin -n -i$file $file < $commentfile >> $logfile 2>&1 113 sccs admin -fb $file 2>>$logfile 115 sccs get -e -p -r$brev $file >/dev/null 2>>$logfile 119 sccs get -e -p $file >/dev/null 2>> $logfile 126 sccs delta $file < $commentfile >> $logfile 2>&1
|
| H A D | log.in | 100 my $logfile; 113 ($logfile) && die "Too many '-f' args"; 114 $logfile = shift @ARGV; 149 my $logfh = new IO::File ">>" . $logfile 150 or die "Could not open(" . $logfile . "): $!\n"; 228 or die "Write to $logfile failed: $!";
|
| /netbsd-src/crypto/dist/ipsec-tools/src/racoon/ |
| H A D | plog.c | 80 static char *logfile = NULL; variable 111 if (logfile || f_foreground) { 194 if (logfile) in plogv() 249 if (logfile) { in ploginit() 250 logp = log_open(250, logfile); in ploginit() 252 errx(1, "ERROR: failed to open log file %s.", logfile); in ploginit() 263 if (logfile != NULL) 264 racoon_free(logfile); 265 logfile = racoon_strdup(file); 266 STRDUP_FATAL(logfile);
|
| /netbsd-src/external/bsd/unbound/dist/util/ |
| H A D | log.c | 66 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 …]
|
| /netbsd-src/usr.sbin/lastlogin/ |
| H A D | lastlogin.c | 134 const char *logfile = in main() local 151 logfile = optarg; in main() 187 len = strlen(logfile); in main() 192 if (len > 0 && logfile[len - 1] == 'x') in main() 193 dolastlogx(logfile, argc, argv); in main() 197 dolastlog(logfile, argc, argv); in main() 217 dolastlog(const char *logfile, int argc, char **argv) in dolastlog() argument 220 FILE *fp = fopen(logfile, "r"); in dolastlog() 225 err(1, "%s", logfile); in dolastlog() 301 dolastlogx(const char *logfile, int argc, char **argv) in dolastlogx() argument [all …]
|
| /netbsd-src/external/bsd/unbound/dist/contrib/ |
| H A D | parseunbound.pl | 32 my $logfile = shift or die "Usage: parseunbound.pl --cron unboundlogfile"; 33 my $in = new FileHandle $logfile or die "Cannot open $logfile: $!\n"; 61 if ( $offset > -s $logfile or $offset > 10_000_000 ) { 62 die "Cannot find stats in $logfile\n"; 64 $in->seek(-$offset, SEEK_END) or croak "cannot seek $logfile: $!\n";
|
| /netbsd-src/external/bsd/less/dist/lesstest/ |
| H A D | lesstest.c | 22 char* logfile = NULL; in setup() local 36 logfile = optarg; in setup() 54 if (logfile != NULL && !log_open(logfile)) { in setup() 55 fprintf(stderr, "cannot create %s: %s\n", logfile, strerror(errno)); in setup()
|
| H A D | log.c | 11 int log_open(const char* logfile) { in log_open() argument 13 logf = (strcmp(logfile, "-") == 0) ? stdout : fopen(logfile, "w"); in log_open() 15 fprintf(stderr, "cannot create %s\n", logfile); in log_open()
|
| /netbsd-src/external/bsd/am-utils/dist/libamu/ |
| H A D | xutil.c | 739 get_syslog_facility(const char *logfile) in get_syslog_facility() argument 744 facstr = strchr(logfile, ':'); in get_syslog_facility() 837 switch_to_logfile(char *logfile, int old_umask, int truncate_log) in switch_to_logfile() argument 841 if (logfile) { in switch_to_logfile() 846 if (STREQ(logfile, "/dev/stderr")) in switch_to_logfile() 848 else if (NSTREQ(logfile, "syslog", strlen("syslog"))) { in switch_to_logfile() 859 , get_syslog_facility(logfile) in switch_to_logfile() 869 __IGNORE(truncate(logfile, 0)); in switch_to_logfile() 870 new_logfp = fopen(logfile, "a"); in switch_to_logfile() 878 if (!new_logfp && logfile) { in switch_to_logfile() [all …]
|
| /netbsd-src/external/bsd/kyua-cli/dist/utils/ |
| H A D | sanity.cpp | 60 static std::string logfile; variable 88 PRE(!logfile.empty()); in crash_handler() 91 err_write(F("*** Log file is %s\n") % logfile); in crash_handler() 188 logfile = logfile_; in install_crash_handlers()
|
| /netbsd-src/external/gpl3/gcc.old/dist/contrib/header-tools/ |
| H A D | graph-header-logs | 54 def process_log_file (header, logfile): argument 64 for line in logfile: 143 logfile = open(x).read().splitlines() 144 process_log_file (header, logfile) 146 logfile = open(x + ".log").read().splitlines() 147 process_log_file (x, logfile)
|
| /netbsd-src/external/gpl3/gcc/dist/contrib/header-tools/ |
| H A D | graph-header-logs | 54 def process_log_file (header, logfile): argument 64 for line in logfile: 143 logfile = open(x).read().splitlines() 144 process_log_file (header, logfile) 146 logfile = open(x + ".log").read().splitlines() 147 process_log_file (x, logfile)
|
| /netbsd-src/external/bsd/am-utils/dist/scripts/ |
| H A D | lostaltmail.in | 150 $logfile = $LOGFILE . ".$$"; 151 open (LOGFILE, (">". "$logfile")) || die "Unable to create log file"; 384 if (defined($logfile) && $logfile ne "" ) { 386 if ( -s $logfile ) { 393 open (LOGFILE, "< $logfile"); 402 unlink($logfile);
|
| /netbsd-src/external/bsd/kyua-cli/dist/integration/ |
| H A D | global_test.sh | 74 atf_check -s exit:3 -o empty -e ignore kyua --logfile=test.log 87 atf_check -s exit:3 -o empty -e ignore kyua --logfile=test.log 103 atf_check -s exit:3 -o empty -e ignore kyua --logfile=test.log \ 120 atf_check -s exit:3 -o empty -e ignore kyua --logfile=test.log \
|
| /netbsd-src/external/gpl3/gdb/dist/readline/readline/examples/rlfe/ |
| H A D | rlfe.c | 141 FILE *logfile = NULL; variable 142 #define DPRINT0(FMT) (fprintf(logfile, FMT), fflush(logfile)) 143 #define DPRINT1(FMT, V1) (fprintf(logfile, FMT, V1), fflush(logfile)) 144 #define DPRINT2(FMT, V1, V2) (fprintf(logfile, FMT, V1, V2), fflush(logfile)) 393 logfile = fopen("/tmp/rlfe.log", "w"); in main()
|