FreeBSD Bugzilla – Attachment 185286 Details for
Bug 221418
FreeBSD 10.4-PRERELEASE fails to build on systems using 32 bit time_t since r322315.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Assign the correct time_t value on any system using 2's complement integers independent of the size of time_t.
tcp_syncache.c.patch (text/plain), 605 bytes, created by
jau
on 2017-08-11 12:50:27 UTC
(
hide
)
Description:
Assign the correct time_t value on any system using 2's complement integers independent of the size of time_t.
Filename:
MIME Type:
Creator:
jau
Created:
2017-08-11 12:50:27 UTC
Size:
605 bytes
patch
obsolete
>Index: /usr/src/sys/netinet/tcp_syncache.c >=================================================================== >--- /usr/src/sys/netinet/tcp_syncache.c (revision 322399) >+++ /usr/src/sys/netinet/tcp_syncache.c (working copy) >@@ -277,7 +277,8 @@ > &V_tcp_syncache.hashbase[i].sch_mtx, 0); > V_tcp_syncache.hashbase[i].sch_length = 0; > V_tcp_syncache.hashbase[i].sch_sc = &V_tcp_syncache; >- V_tcp_syncache.hashbase[i].sch_last_overflow = INT64_MIN; >+ V_tcp_syncache.hashbase[i].sch_last_overflow = >+ (time_t) 0x1 << ((sizeof (time_t) * CHAR_BIT) - 1); > } > > /* Create the syncache entry zone. */
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 221418
: 185286