The Samba-Bugzilla – Attachment 17 Details for
Bug 140
64-bit signed time_t causes corrupt timestamps on server
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
one-liner patch to fix timestamps on Linux/Alpha
samba-alpha-timestamp.patch (text/plain), 591 bytes, created by
Steve Langasek
on 2003-05-31 22:22:08 UTC
(
hide
)
Description:
one-liner patch to fix timestamps on Linux/Alpha
Filename:
MIME Type:
Creator:
Steve Langasek
Created:
2003-05-31 22:22:08 UTC
Size:
591 bytes
patch
obsolete
>Index: source/lib/time.c >=================================================================== >RCS file: /cvsroot/samba/source/lib/time.c,v >retrieving revision 1.42.2.5 >diff -u -r1.42.2.5 time.c >--- source/lib/time.c 24 Feb 2003 03:09:07 -0000 1.42.2.5 >+++ source/lib/time.c 1 Jun 2003 01:19:24 -0000 >@@ -308,7 +308,8 @@ > time_t l_time_min = TIME_T_MIN; > time_t l_time_max = TIME_T_MAX; > >- if (nt->high == 0) return(0); >+ if (nt->high == 0 || (nt->high == 0xffffffff && nt->low == 0xffffffff)) >+ return(0); > > d = ((double)nt->high)*4.0*(double)(1<<30); > d += (nt->low&0xFFF00000);
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 Raw
Actions:
View
Attachments on
bug 140
: 17