FreeBSD Bugzilla – Attachment 156581 Details for
Bug 200083
[PATCH] ntpdate sets the wrong date on big-endian systems
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
usr.sbin/ntp/config.h patch to define WORDS_BIGENDIAN
file_200083.txt (text/plain), 327 bytes, created by
Anmol Khirbat
on 2015-05-09 20:08:47 UTC
(
hide
)
Description:
usr.sbin/ntp/config.h patch to define WORDS_BIGENDIAN
Filename:
MIME Type:
Creator:
Anmol Khirbat
Created:
2015-05-09 20:08:47 UTC
Size:
327 bytes
patch
obsolete
>--- a/usr.sbin/ntp/config.h >+++ b/usr.sbin/ntp/config.h >@@ -1606,7 +1606,10 @@ typedef unsigned int uintptr_t; > # endif > #else > # ifndef WORDS_BIGENDIAN >-/* # undef WORDS_BIGENDIAN */ >+# include <machine/endian.h> >+# if _BYTE_ORDER == _BIG_ENDIAN >+# define WORDS_BIGENDIAN 1 >+# endif > # endif > #endif >
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 200083
: 156581