The Samba-Bugzilla – Attachment 2334 Details for
Bug 4063
strptime() called in ldap_get_entry_timestamp() badly converts ldap timestamps causing SMBD to abnormally end at startup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
m4 file included in libreplace.m4
strptime.m4 (text/plain), 555 bytes, created by
William Jojo
on 2007-03-15 13:22:53 UTC
(
hide
)
Description:
m4 file included in libreplace.m4
Filename:
MIME Type:
Creator:
William Jojo
Created:
2007-03-15 13:22:53 UTC
Size:
555 bytes
patch
obsolete
>AC_CACHE_CHECK([whether strptime should be replaced],samba_cv_REPLACE_STRPTIME,[ >AC_TRY_RUN([ >#include <stdio.h> >#include <stdlib.h> >#include <time.h> >int main (void) { >char *s = "20061004023546Z", *ret; >struct tm t, *tp; >ret = strptime(s, "%Y%m%d%H%M%S", &t); >if ( ret == NULL ) return 1; >return 0; >} >],[],samba_cv_REPLACE_STRPTIME=yes,samba_cv_REPLACE_STRPTIME=no) >]) >if test x"$samba_cv_REPLACE_STRPTIME" = x"yes"; then > AC_DEFINE(REPLACE_STRPTIME,1,[Whether strptime should be replaced]) > LIBREPLACEOBJ="${LIBREPLACEOBJ} strptime.o" >fi >
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 4063
:
2132
|
2332
|
2333
| 2334 |
2335
|
2336
|
2337