FreeBSD Bugzilla – Attachment 84324 Details for
Bug 120304
[netgraph] [patch] netgraph source assumes 32-bit timeval on AMD64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ng_source.c.diff
ng_source.c.diff (text/plain; charset=UTF-8), 586 bytes, created by
Dmitry
on 2013-05-13 09:01:20 UTC
(
hide
)
Description:
ng_source.c.diff
Filename:
MIME Type:
Creator:
Dmitry
Created:
2013-05-13 09:01:20 UTC
Size:
586 bytes
patch
obsolete
>--- ng_source.c.orig 2011-09-23 03:51:37.000000000 +0300 >+++ ng_source.c 2013-05-03 14:18:18.000000000 +0300 >@@ -126,8 +126,16 @@ > > /* Parse type for timeval */ > static const struct ng_parse_struct_field ng_source_timeval_type_fields[] = { >+#if defined(__LP64__) || defined(__arm__) || defined(__mips__) >+ { "tv_sec", &ng_parse_int64_type }, >+#else > { "tv_sec", &ng_parse_int32_type }, >+#endif >+#if defined(__LP64__) >+ { "tv_usec", &ng_parse_int64_type }, >+#else > { "tv_usec", &ng_parse_int32_type }, >+#endif > { NULL } > }; > const struct ng_parse_type ng_source_timeval_type = {
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 120304
:
84323
| 84324