Bugzilla – Attachment 2702 Details for
Bug 2464
Adding timestamp to debug messages (log.c:do_log)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
adding timestamp to debug messages
log.patch (text/plain), 373 bytes, created by
Lőrinczy Zsigmond
on 2015-09-12 16:47:45 AEST
(
hide
)
Description:
adding timestamp to debug messages
Filename:
MIME Type:
Creator:
Lőrinczy Zsigmond
Created:
2015-09-12 16:47:45 AEST
Size:
373 bytes
patch
obsolete
>48a49 >> #include <sys/timeb.h> >446c447,455 >< snprintf(msgbuf, sizeof msgbuf, "%s\r\n", fmtbuf); >--- >> struct timeb tb; >> struct tm tm; >> char *p= msgbuf; >> >> ftime (&tb); >> localtime_r (&tb.time, &tm); >> p += strftime (p, 16, "%Y%m%d.%H%M%S", &tm); >> p += sprintf (p, ".%03d ", tb.millitm); >> snprintf(p, (msgbuf + sizeof msgbuf - p), "%s\r\n", fmtbuf);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2464
:
2702
|
2740
|
2741