4b7c37750e
Changelog since 1.4.0 version 2.0.2 * Fixed bug #3401971 (node-by-reference on dynamic collections) * documentation improvements * installer improvements * Fixed bug #3403291 (build for Fedora 15) * Don't install the .so for test modules * Fix for running ctest on Windows version 2.0.1 * Custom Full-text stemming. * Custom Full-text tokenization. * Fixed scripting bug where apply statement was considered a * sequential expr even if the source expr was non-updating and * non-sequential. * Fixed bug #3394400 (Element replacement, really unexpected result) * Fixed bug #3394588 (Unexpected error during pul undo) * Fixed bugs #3398511 and #3398552 with "make install" * Fixed bug #3398521 for compiling with ZORBA_NO_XMLSCHEMA version 2.0 * Zorba 2.0 is a major rewrite of previous versions. It doesn't claim to preserve backwards compatibility with any 1.X version. Host language API changes have been made to the following components: - External functions API - XmlDataManager - Error reporting - Debugger API XQuery language and API changes have been made to the following components: - XQuery Scripting Extension - Function APIs - XQuery Data Definition Facility - XQuery modules and module versioning - Changes to conform with the latest XQuery 3.0 - Namespaces of annotations, errors, collations. * In addition to host language API and XQuery language improvements, plenty of bug fixes and optimizations have been made. Feature safe: yes
14 lines
400 B
C
14 lines
400 B
C
--- include/zorba/util/time.h.orig 2011-09-15 11:16:07.000000000 +0200
|
|
+++ include/zorba/util/time.h 2011-09-15 11:19:48.000000000 +0200
|
|
@@ -73,7 +73,11 @@
|
|
|
|
inline void get_current_cputime (cputime& t)
|
|
{
|
|
+#if defined( __FreeBSD__ )
|
|
+ clock_gettime(CLOCK_PROF, &t);
|
|
+#else
|
|
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &t);
|
|
+#endif
|
|
}
|
|
|
|
#elif defined(ZORBA_HAVE_RUSAGE_FUNCTION)
|