summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-13 12:41:57 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-14 09:34:13 +0200
commite3a3c0d7640f8fcefde901b7e35a2f22e7d3a033 (patch)
tree3d9d76f942a0ac874a9ce10bffa4dc882dda478a /lib/replace
parent4430d6a0d9645f40acb297e77f8e73bab3e0ddb4 (diff)
downloadsamba-e3a3c0d7640f8fcefde901b7e35a2f22e7d3a033.tar.gz
samba-e3a3c0d7640f8fcefde901b7e35a2f22e7d3a033.tar.bz2
samba-e3a3c0d7640f8fcefde901b7e35a2f22e7d3a033.zip
Revert "replace: use replace for non 'samba' compliant strptime"
This reverts commit 4ea7d4694a8353fc55ecd12cb09b9c91ffde7b3f. A better fix will follow. metze
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/wscript19
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 215fc32383..aa69c47316 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -317,25 +317,6 @@ removeea setea
addmain=False,
msg='Checking for working strptime'):
conf.DEFINE('REPLACE_STRPTIME', 1)
- else:
- conf.CHECK_CODE('''
- const char *s = "20070414101546Z";
- char *ret;
- struct tm t;
- memset(&t, 0, sizeof(t));
- ret = strptime(s, "%Y%m%d%H%M%S", &t);
- if (ret == NULL || t.tm_wday != 6) {
- return 0;
- } else {
- return 1;
- }
- ''',
- msg="Checking correct behavior of strptime",
- headers = 'time.h',
- execute = True,
- define_ret = True,
- define = 'REPLACE_STRPTIME',
- )
conf.CHECK_CODE('gettimeofday(NULL, NULL)', 'HAVE_GETTIMEOFDAY_TZ', execute=False)