FreeBSD Bugzilla – Attachment 231364 Details for
Bug 260194
net-mgmt/pmacct: Update to 1.7.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
extra-patch-i386
extra-patch-i386 (text/plain), 1.17 KB, created by
Kurt Jaeger
on 2022-01-26 18:27:43 UTC
(
hide
)
Description:
extra-patch-i386
Filename:
MIME Type:
Creator:
Kurt Jaeger
Created:
2022-01-26 18:27:43 UTC
Size:
1.17 KB
patch
obsolete
>--- src/sql_common_m.c.orig 2022-01-26 18:30:42.475639000 +0100 >+++ src/sql_common_m.c 2022-01-26 18:31:05.795499000 +0100 >@@ -259,7 +259,7 @@ > > strncat(envbuf.ptr, "ELAPSED_TIME=", envbuf.end-envbuf.ptr); > tmpptr = envbuf.ptr + strlen(envbuf.ptr); >- snprintf(tmpptr, envbuf.end-tmpptr, "%lu", idata->elap_time); >+ snprintf(tmpptr, envbuf.end-tmpptr, "%u", idata->elap_time); > ptrs[count] = envbuf.ptr; > envbuf.ptr += strlen(envbuf.ptr)+1; > count++; >@@ -292,7 +292,7 @@ > > strncat(envbuf.ptr, "SQL_HISTORY_BASETIME=", envbuf.end-envbuf.ptr); > tmpptr = envbuf.ptr + strlen(envbuf.ptr); >- snprintf(tmpptr, envbuf.end-tmpptr, "%lu", idata->basetime); >+ snprintf(tmpptr, envbuf.end-tmpptr, "%u", idata->basetime); > ptrs[count] = envbuf.ptr; > envbuf.ptr += strlen(envbuf.ptr)+1; > count++; >@@ -303,7 +303,7 @@ > > strncat(envbuf.ptr, "SQL_HISTORY_TIMESLOT=", envbuf.end-envbuf.ptr); > tmpptr = envbuf.ptr + strlen(envbuf.ptr); >- snprintf(tmpptr, envbuf.end-tmpptr, "%lu", idata->timeslot); >+ snprintf(tmpptr, envbuf.end-tmpptr, "%u", idata->timeslot); > ptrs[count] = envbuf.ptr; > envbuf.ptr += strlen(envbuf.ptr)+1; > count++;
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 260194
:
229865
| 231364 |
234286