mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-01 08:48:29 +00:00
Perform some code cleanup
This commit is contained in:
parent
0dd9629562
commit
a4601a24d3
63 changed files with 350 additions and 1643 deletions
|
@ -111,9 +111,9 @@ void(vflogf)(unsigned level, const char *file, int line, FILE *f,
|
|||
if (bufmode == _IOLBF) f->bufmode = _IOFBF;
|
||||
|
||||
if ((fprintf_unlocked)(f, "%r%c%s%06ld:%s:%d:%.*s:%d] ",
|
||||
"FEWIVDNT"[level & 7], buf32,
|
||||
rem1000000int64(div1000int64(dots)), file, line,
|
||||
strchrnul(prog, '.') - prog, prog, getpid()) <= 0) {
|
||||
"FEWIVDNT"[level & 7], buf32, dots / 1000 % 1000000,
|
||||
file, line, strchrnul(prog, '.') - prog, prog,
|
||||
getpid()) <= 0) {
|
||||
vflogf_onfail(f);
|
||||
}
|
||||
(vfprintf_unlocked)(f, fmt, va);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue