[-]
[+]
|
Changed |
gearmand.changes
|
|
[-]
[+]
|
Changed |
gearmand.spec
^
|
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/ChangeLog
^
|
@@ -1,3 +1,7 @@
+0.39 Wed Sep 19 03:36:06 EDT 2012
+* Added gearman_job_error() interface.
+* gearman_client_errno() and gearman_worker_errno() now return EINVAL if client or worker is invalid.
+
0.38 Fri Sep 14 02:16:01 EDT 2012
* Updates for compiling on different platforms.
* UUID portability fixes.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/Makefile.am
^
|
@@ -48,8 +48,6 @@
include m4/include.am
-docs: html man
-
TESTS += $(check_PROGRAMS)
EXTRA_DIST+= HACKING
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/Makefile.in
^
|
@@ -636,6 +636,7 @@
$(top_srcdir)/m4/libmemcached.m4 $(top_srcdir)/m4/libtool.m4 \
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/m4/pandora_check_compiler_version.m4 \
$(top_srcdir)/m4/pandora_enable_dtrace.m4 \
$(top_srcdir)/m4/pandora_have_better_malloc.m4 \
$(top_srcdir)/m4/pandora_have_libtokyocabinet.m4 \
@@ -734,8 +735,9 @@
libgearman-server/plugins/queue/sqlite/instance.cc \
libgearman-server/plugins/queue/tokyocabinet/queue.cc \
libgearman-server/plugins/queue/mysql/queue.cc \
- libgearman-server/text.cc libgearman-server/byteorder.cc \
- libgearman-server/client.cc libgearman-server/connection.c \
+ libgearman/pipe.cc libgearman-server/text.cc \
+ libgearman-server/byteorder.cc libgearman-server/client.cc \
+ libgearman-server/connection.c \
libgearman-server/connection_plus.cc \
libgearman-server/connection_list.cc libgearman-server/fifo.c \
libgearman-server/function.cc libgearman-server/gearmand.cc \
@@ -769,6 +771,7 @@
$(am__objects_1) $(am__objects_2) $(am__objects_3) \
$(am__objects_4) $(am__objects_5) $(am__objects_6) \
$(am__objects_7) \
+ libgearman/libgearman_server_libgearman_server_la-pipe.lo \
libgearman-server/libgearman_server_libgearman_server_la-text.lo \
libgearman-server/libgearman_server_libgearman_server_la-byteorder.lo \
libgearman-server/libgearman_server_libgearman_server_la-client.lo \
@@ -1452,6 +1455,7 @@
BOOST_THREAD_WIN32_LIBS = @BOOST_THREAD_WIN32_LIBS@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
+CC_VERSION = @CC_VERSION@
CFLAGS = @CFLAGS@
CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
CPP = @CPP@
@@ -1463,6 +1467,7 @@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
+CXX_VERSION = @CXX_VERSION@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
@@ -1906,6 +1911,8 @@
tests/gearman.sql tests/gearman.sql-journal \
tests/gearmand.log*
BUILT_SOURCES = libtest/version.h configmake.h
+
+# Should always be first
TESTS = $(check_PROGRAMS)
.PHONY =
LIBTOOL_COMMAND = ${abs_top_builddir}/libtool --mode=execute
@@ -2075,7 +2082,7 @@
libgearman-server/plugins/queue/default/queue.cc \
$(am__append_26) $(am__append_30) $(am__append_34) \
$(am__append_38) $(am__append_40) $(am__append_44) \
- $(am__append_46) libgearman-server/text.cc \
+ $(am__append_46) libgearman/pipe.cc libgearman-server/text.cc \
libgearman-server/byteorder.cc libgearman-server/client.cc \
libgearman-server/connection.c \
libgearman-server/connection_plus.cc \
@@ -2553,6 +2560,15 @@
libgearman-server/plugins/queue/mysql/libgearman_server_libgearman_server_la-queue.lo: \
libgearman-server/plugins/queue/mysql/$(am__dirstamp) \
libgearman-server/plugins/queue/mysql/$(DEPDIR)/$(am__dirstamp)
+libgearman/$(am__dirstamp):
+ @$(MKDIR_P) libgearman
+ @: > libgearman/$(am__dirstamp)
+libgearman/$(DEPDIR)/$(am__dirstamp):
+ @$(MKDIR_P) libgearman/$(DEPDIR)
+ @: > libgearman/$(DEPDIR)/$(am__dirstamp)
+libgearman/libgearman_server_libgearman_server_la-pipe.lo: \
+ libgearman/$(am__dirstamp) \
+ libgearman/$(DEPDIR)/$(am__dirstamp)
libgearman-server/$(am__dirstamp):
@$(MKDIR_P) libgearman-server
@: > libgearman-server/$(am__dirstamp)
@@ -2637,12 +2653,6 @@
libgearman-server/libgearman_server_libgearman_server_la-worker.lo: \
libgearman-server/$(am__dirstamp) \
libgearman-server/$(DEPDIR)/$(am__dirstamp)
-libgearman/$(am__dirstamp):
- @$(MKDIR_P) libgearman
- @: > libgearman/$(am__dirstamp)
-libgearman/$(DEPDIR)/$(am__dirstamp):
- @$(MKDIR_P) libgearman/$(DEPDIR)
- @: > libgearman/$(DEPDIR)/$(am__dirstamp)
libgearman/libgearman_server_libgearman_server_la-command.lo: \
libgearman/$(am__dirstamp) \
libgearman/$(DEPDIR)/$(am__dirstamp)
@@ -3718,6 +3728,8 @@
-rm -f libgearman/libgearman_libgearmancore_la-vector.lo
-rm -f libgearman/libgearman_server_libgearman_server_la-command.$(OBJEXT)
-rm -f libgearman/libgearman_server_libgearman_server_la-command.lo
+ -rm -f libgearman/libgearman_server_libgearman_server_la-pipe.$(OBJEXT)
+ -rm -f libgearman/libgearman_server_libgearman_server_la-pipe.lo
-rm -f libgearman/libgearman_server_libgearman_server_la-strcommand.$(OBJEXT)
-rm -f libgearman/libgearman_server_libgearman_server_la-strcommand.lo
-rm -f libgearman/protocol/libgearman_libgearman_la-submit.$(OBJEXT)
@@ -4038,6 +4050,7 @@
@AMDEP_TRUE@@am__include@ @am__quote@libgearman/$(DEPDIR)/libgearman_libgearmancore_la-universal.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@libgearman/$(DEPDIR)/libgearman_libgearmancore_la-vector.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@libgearman/$(DEPDIR)/libgearman_server_libgearman_server_la-command.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@libgearman/$(DEPDIR)/libgearman_server_libgearman_server_la-pipe.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@libgearman/$(DEPDIR)/libgearman_server_libgearman_server_la-strcommand.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@libgearman/function/$(DEPDIR)/libgearman_libgearman_la-function_v2.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@libgearman/function/$(DEPDIR)/libgearman_libgearman_la-make.Plo@am__quote@
@@ -4492,6 +4505,13 @@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgearman_server_libgearman_server_la_CXXFLAGS) $(CXXFLAGS) -c -o libgearman-server/plugins/queue/mysql/libgearman_server_libgearman_server_la-queue.lo `test -f 'libgearman-server/plugins/queue/mysql/queue.cc' || echo '$(srcdir)/'`libgearman-server/plugins/queue/mysql/queue.cc
+libgearman/libgearman_server_libgearman_server_la-pipe.lo: libgearman/pipe.cc
+@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgearman_server_libgearman_server_la_CXXFLAGS) $(CXXFLAGS) -MT libgearman/libgearman_server_libgearman_server_la-pipe.lo -MD -MP -MF libgearman/$(DEPDIR)/libgearman_server_libgearman_server_la-pipe.Tpo -c -o libgearman/libgearman_server_libgearman_server_la-pipe.lo `test -f 'libgearman/pipe.cc' || echo '$(srcdir)/'`libgearman/pipe.cc
+@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) libgearman/$(DEPDIR)/libgearman_server_libgearman_server_la-pipe.Tpo libgearman/$(DEPDIR)/libgearman_server_libgearman_server_la-pipe.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='libgearman/pipe.cc' object='libgearman/libgearman_server_libgearman_server_la-pipe.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgearman_server_libgearman_server_la_CXXFLAGS) $(CXXFLAGS) -c -o libgearman/libgearman_server_libgearman_server_la-pipe.lo `test -f 'libgearman/pipe.cc' || echo '$(srcdir)/'`libgearman/pipe.cc
+
libgearman-server/libgearman_server_libgearman_server_la-text.lo: libgearman-server/text.cc
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgearman_server_libgearman_server_la_CXXFLAGS) $(CXXFLAGS) -MT libgearman-server/libgearman_server_libgearman_server_la-text.lo -MD -MP -MF libgearman-server/$(DEPDIR)/libgearman_server_libgearman_server_la-text.Tpo -c -o libgearman-server/libgearman_server_libgearman_server_la-text.lo `test -f 'libgearman-server/text.cc' || echo '$(srcdir)/'`libgearman-server/text.cc
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) libgearman-server/$(DEPDIR)/libgearman_server_libgearman_server_la-text.Tpo libgearman-server/$(DEPDIR)/libgearman_server_libgearman_server_la-text.Plo
@@ -7152,6 +7172,8 @@
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
+@HAVE_SPHINX_TRUE@docs: html man
+
@HAVE_SPHINX_TRUE@sphinx-help:
@HAVE_SPHINX_TRUE@ @echo "Please use \`make <target>' where <target> is one of"
@HAVE_SPHINX_TRUE@ @echo " html to make standalone HTML files"
@@ -7171,17 +7193,20 @@
@HAVE_SPHINX_TRUE@ @echo " linkcheck to check all external links for integrity"
@HAVE_SPHINX_TRUE@ @echo " doctest to run all doctests embedded in the documentation (if enabled)"
-@HAVE_SPHINX_TRUE@html-local: docs/conf.py
+@HAVE_SPHINX_TRUE@docs/_static:
+@HAVE_SPHINX_TRUE@ @$(mkdir_p) docs/_static
+
+@HAVE_SPHINX_TRUE@html-local: docs/conf.py docs changes docs/_static
@HAVE_SPHINX_TRUE@ PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/html
@HAVE_SPHINX_TRUE@ @echo
@HAVE_SPHINX_TRUE@ @echo "Build finished. The HTML pages are in $(SPHINX_BUILDDIR)/html."
-@HAVE_SPHINX_TRUE@dirhtml: docs/conf.py
+@HAVE_SPHINX_TRUE@dirhtml: html-local
@HAVE_SPHINX_TRUE@ PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/dirhtml
@HAVE_SPHINX_TRUE@ @echo
@HAVE_SPHINX_TRUE@ @echo "Build finished. The HTML pages are in $(SPHINX_BUILDDIR)/dirhtml."
-@HAVE_SPHINX_TRUE@singlehtml: docs/conf.py
+@HAVE_SPHINX_TRUE@singlehtml: html-local
@HAVE_SPHINX_TRUE@ PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/singlehtml
@HAVE_SPHINX_TRUE@ @echo
@HAVE_SPHINX_TRUE@ @echo "Build finished. The HTML page is in $(SPHINX_BUILDDIR)/singlehtml."
@@ -7263,6 +7288,8 @@
@HAVE_SPHINX_TRUE@ PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/doctest
@HAVE_SPHINX_TRUE@ @echo "Testing of doctests in the sources finished, look at the " \
@HAVE_SPHINX_TRUE@ "results in $(SPHINX_BUILDDIR)/doctest/output.txt."
+
+@HAVE_SPHINX_FALSE@docs:
update_m4:
@rm -r -f m4.moved
@mv m4 m4.moved
@@ -7271,10 +7298,6 @@
(cd m4; git checkout .)
@bzr diff m4
-# Should always be first
-
-docs: html man
-
test: check
configmake.h: ${top_srcdir}/Makefile.in
@echo "Making $@"
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/aclocal.m4
^
|
@@ -1079,6 +1079,7 @@
m4_include([m4/ltsugar.m4])
m4_include([m4/ltversion.m4])
m4_include([m4/lt~obsolete.m4])
+m4_include([m4/pandora_check_compiler_version.m4])
m4_include([m4/pandora_enable_dtrace.m4])
m4_include([m4/pandora_have_better_malloc.m4])
m4_include([m4/pandora_have_libtokyocabinet.m4])
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/config/config.sub
^
|
@@ -4,7 +4,7 @@
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
# 2011, 2012 Free Software Foundation, Inc.
-timestamp='2012-02-10'
+timestamp='2012-04-18'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
@@ -225,6 +225,12 @@
-isc*)
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
+ -lynx*178)
+ os=-lynxos178
+ ;;
+ -lynx*5)
+ os=-lynxos5
+ ;;
-lynx*)
os=-lynxos
;;
@@ -1537,6 +1543,9 @@
c4x-* | tic4x-*)
os=-coff
;;
+ hexagon-*)
+ os=-elf
+ ;;
tic54x-*)
os=-coff
;;
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/configure
^
|
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for gearmand 0.38.
+# Generated by GNU Autoconf 2.68 for gearmand 0.39.
#
# Report bugs to <https://bugs.launchpad.net/gearmand>.
#
@@ -570,8 +570,8 @@
# Identity of this package.
PACKAGE_NAME='gearmand'
PACKAGE_TARNAME='gearmand'
-PACKAGE_VERSION='0.38'
-PACKAGE_STRING='gearmand 0.38'
+PACKAGE_VERSION='0.39'
+PACKAGE_STRING='gearmand 0.39'
PACKAGE_BUGREPORT='https://bugs.launchpad.net/gearmand'
PACKAGE_URL='http://gearman.info/'
@@ -720,6 +720,8 @@
BOOST_CPPFLAGS
DISTCHECK_CONFIGURE_FLAGS
BOOST_ROOT
+CXX_VERSION
+CC_VERSION
AM_BACKSLASH
AM_DEFAULT_VERBOSITY
AM_DEFAULT_V
@@ -1471,7 +1473,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures gearmand 0.38 to adapt to many kinds of systems.
+\`configure' configures gearmand 0.39 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1542,7 +1544,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of gearmand 0.38:";;
+ short | recursive ) echo "Configuration of gearmand 0.39:";;
esac
cat <<\_ACEOF
@@ -1722,7 +1724,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-gearmand configure 0.38
+gearmand configure 0.39
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -2530,7 +2532,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by gearmand $as_me 0.38, which was
+It was created by gearmand $as_me 0.39, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
@@ -4780,7 +4782,7 @@
# Define the identity of the package.
PACKAGE='gearmand'
- VERSION='0.38'
+ VERSION='0.39'
cat >>confdefs.h <<_ACEOF
@@ -16021,6 +16023,57 @@
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"C Compiler version--$GCC\"" >&5
+$as_echo_n "checking \"C Compiler version--$GCC\"... " >&6; }
+ if test "$GCC" = "yes"; then :
+
+ CC_VERSION=`$CC --version | sed 1q`
+elif
+ test "$SUNCC" = "yes"; then :
+
+ CC_VERSION=`$CC -V 2>&1 | sed 1q`
+elif
+ test "$CLANG" = "yes"; then :
+
+ CC_VERSION=`$CC --version 2>&1 | sed 1q`
+else
+
+ CC_VERSION=""
+
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$CC_VERSION\"" >&5
+$as_echo "\"$CC_VERSION\"" >&6; }
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"C++ Compiler version\"" >&5
+$as_echo_n "checking \"C++ Compiler version\"... " >&6; }
+ if test "$GCC" = "yes"; then :
+
+ CXX_VERSION=`$CXX --version | sed 1q`
+elif
+ test "$SUNCC" = "yes"; then :
+
+ CXX_VERSION=`$CXX -V 2>&1 | sed 1q`
+elif
+ test "$CLANG" = "yes"; then :
+
+ CXX_VERSION=`$CXX --version 2>&1 | sed 1q`
+else
+
+ CXX_VERSION=""
+
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$CXX_VERSION\"" >&5
+$as_echo "\"$CXX_VERSION\"" >&6; }
+
+
+
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C++ 98 include files" >&5
$as_echo_n "checking for ISO C++ 98 include files... " >&6; }
if ${ax_cv_cxx_stdcxx_98+:} false; then :
@@ -23518,10 +23571,8 @@
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "test program execution failed
-See \`config.log' for more details" "$LINENO" 5; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: test program execution failed" >&5
+$as_echo "$as_me: WARNING: test program execution failed" >&2;}
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -23575,10 +23626,8 @@
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot run test program while cross compiling
-See \`config.log' for more details" "$LINENO" 5; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: test program execution failed" >&5
+$as_echo "$as_me: WARNING: test program execution failed" >&2;}
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -23665,10 +23714,8 @@
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot run test program while cross compiling
-See \`config.log' for more details" "$LINENO" 5; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: test program execution failed" >&5
+$as_echo "$as_me: WARNING: test program execution failed" >&2;}
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -23752,10 +23799,8 @@
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot run test program while cross compiling
-See \`config.log' for more details" "$LINENO" 5; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: test program execution failed" >&5
+$as_echo "$as_me: WARNING: test program execution failed" >&2;}
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -24463,6 +24508,116 @@
+# Check whether --with-debug was given.
+if test "${with_debug+set}" = set; then :
+ withval=$with_debug; ax_with_debug=$withval
+else
+ ax_with_debug=no
+fi
+
+ if test "$ax_with_debug" = "yes"; then :
+
+ # Debugging. No optimization.
+ AM_CFLAGS="${AM_CFLAGS} ${DEBUG_CFLAGS} -DDEBUG"
+ AM_CXXFLAGS="${AM_CXXFLAGS} ${DEBUG_CXXFLAGS} -DDEBUG"
+
+$as_echo "#define DEBUG 1 " >>confdefs.h
+
+
+else
+
+ # Optimized version. No debug
+ AM_CFLAGS="${AM_CFLAGS} ${OPTIMIZE_CFLAGS}"
+ AM_CXXFLAGS="${AM_CXXFLAGS} ${OPTIMIZE_CXXFLAGS}"
+
+$as_echo "#define DEBUG 0 " >>confdefs.h
+
+
+fi
+
+
+
+
+
+
+ if test "$ac_cv_vcs_checkout" = yes; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Werror" >&5
+$as_echo_n "checking whether the linker accepts -Werror... " >&6; }
+if ${ax_cv_check_ldflags___Werror+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ ax_check_save_flags=$LDFLAGS
+ LDFLAGS="$LDFLAGS -Werror"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ax_cv_check_ldflags___Werror=yes
+else
+ ax_cv_check_ldflags___Werror=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$ax_check_save_flags
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Werror" >&5
+$as_echo "$ax_cv_check_ldflags___Werror" >&6; }
+if test x"$ax_cv_check_ldflags___Werror" = xyes; then :
+ :
+else
+ :
+fi
+
+
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -z relro -z now" >&5
+$as_echo_n "checking whether the linker accepts -z relro -z now... " >&6; }
+if ${ax_cv_check_ldflags___z_relro__z_now+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ ax_check_save_flags=$LDFLAGS
+ LDFLAGS="$LDFLAGS -z relro -z now"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ax_cv_check_ldflags___z_relro__z_now=yes
+else
+ ax_cv_check_ldflags___z_relro__z_now=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$ax_check_save_flags
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___z_relro__z_now" >&5
+$as_echo "$ax_cv_check_ldflags___z_relro__z_now" >&6; }
+if test x"$ax_cv_check_ldflags___z_relro__z_now" = xyes; then :
+ :
+else
+ :
+fi
+
+
+
@@ -24472,6 +24627,73 @@
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ if test "$ax_with_debug" = yes; then :
+
+
+
+for flag in -O0; do
+ as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
+$as_echo_n "checking whether C compiler accepts $flag... " >&6; }
+if eval \${$as_CACHEVAR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ ax_check_save_flags=$CFLAGS
+ CFLAGS="$CFLAGS $flag"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ eval "$as_CACHEVAR=yes"
+else
+ eval "$as_CACHEVAR=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ CFLAGS=$ax_check_save_flags
+fi
+eval ac_res=\$$as_CACHEVAR
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
+ if ${CFLAGS+:} false; then :
+ case " $CFLAGS " in
+ *" $flag "*)
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
+ (: CFLAGS already contains $flag) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ ;;
+ *)
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
+ (: CFLAGS="$CFLAGS $flag") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ CFLAGS="$CFLAGS $flag"
+ ;;
+ esac
+else
+ CFLAGS="$flag"
+fi
+
+else
+ :
+fi
+
+done
+
+else
+
for flag in -O2; do
@@ -24536,6 +24758,12 @@
done
+fi
+
+ ac_cv_warnings_as_errors=no
+ if test "$ac_cv_vcs_checkout" = yes; then :
+
+
for flag in -Werror; do
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
@@ -24598,6 +24826,10 @@
done
+ ac_cv_warnings_as_errors=yes
+
+fi
+
for flag in -Wall; do
@@ -25165,6 +25397,69 @@
done
+
+
+for flag in -Wlogical-op; do
+ as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
+$as_echo_n "checking whether C compiler accepts $flag... " >&6; }
+if eval \${$as_CACHEVAR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ ax_check_save_flags=$CFLAGS
+ CFLAGS="$CFLAGS $flag"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ eval "$as_CACHEVAR=yes"
+else
+ eval "$as_CACHEVAR=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ CFLAGS=$ax_check_save_flags
+fi
+eval ac_res=\$$as_CACHEVAR
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
+ if ${CFLAGS+:} false; then :
+ case " $CFLAGS " in
+ *" $flag "*)
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
+ (: CFLAGS already contains $flag) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ ;;
+ *)
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
+ (: CFLAGS="$CFLAGS $flag") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ CFLAGS="$CFLAGS $flag"
+ ;;
+ esac
+else
+ CFLAGS="$flag"
+fi
+
+else
+ :
+fi
+
+done
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -25174,6 +25469,7 @@
+
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -25181,8 +25477,11 @@
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+ if test "$ax_with_debug" = yes; then :
-for flag in -O2; do
+
+
+for flag in -O0; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -25243,9 +25542,11 @@
done
+else
-for flag in -Werror; do
+
+for flag in -O2; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -25308,7 +25609,7 @@
-for flag in -Wall; do
+for flag in -D_FORTIFY_SOURCE=2; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -25370,8 +25671,13 @@
done
+fi
-for flag in -Wextra; do
+ if test "$ac_cv_vcs_checkout" = yes; then :
+
+
+
+for flag in -Werror; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -25433,8 +25739,11 @@
done
+fi
-for flag in -Wpragmas; do
+
+
+for flag in -Wall; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -25497,7 +25806,7 @@
-for flag in --paramssp-buffer-size=1; do
+for flag in -Wextra; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -25560,7 +25869,7 @@
-for flag in -D_FORTIFY_SOURCE=2; do
+for flag in -Wpragmas; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -25623,7 +25932,7 @@
-for flag in -Waddress; do
+for flag in --paramssp-buffer-size=1; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -25686,7 +25995,7 @@
-for flag in -Warray-bounds; do
+for flag in -Waddress; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -25749,7 +26058,7 @@
-for flag in -Wchar-subscripts; do
+for flag in -Warray-bounds; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -25812,7 +26121,7 @@
-for flag in -Wcomment; do
+for flag in -Wchar-subscripts; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -25875,7 +26184,7 @@
-for flag in -Wctor-dtor-privacy; do
+for flag in -Wcomment; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -25938,7 +26247,7 @@
-for flag in -Wfloat-equal; do
+for flag in -Wctor-dtor-privacy; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -26001,7 +26310,7 @@
-for flag in -Wformat=2; do
+for flag in -Wfloat-equal; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -26064,7 +26373,7 @@
-for flag in -Wlong-long; do
+for flag in -Wformat=2; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -26316,7 +26625,7 @@
-for flag in -Wnon-virtual-dtor; do
+for flag in -Wlogical-op; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -26379,7 +26688,7 @@
-for flag in -Wnormalized=id; do
+for flag in -Wnon-virtual-dtor; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -26442,7 +26751,7 @@
-for flag in -Woverloaded-virtual; do
+for flag in -Wnormalized=id; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -26505,7 +26814,7 @@
-for flag in -Wpointer-arith; do
+for flag in -Woverloaded-virtual; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -26568,7 +26877,7 @@
-for flag in -Wredundant-decls; do
+for flag in -Wpointer-arith; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -26631,7 +26940,7 @@
-for flag in -Wshadow; do
+for flag in -Wredundant-decls; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -26694,7 +27003,7 @@
-for flag in -Wshorten-64-to-32; do
+for flag in -Wshadow; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -26757,7 +27066,7 @@
-for flag in -Wsign-compare; do
+for flag in -Wshorten-64-to-32; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -26820,7 +27129,7 @@
-for flag in -Wstrict-overflow=1; do
+for flag in -Wsign-compare; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -26883,7 +27192,7 @@
-for flag in -Wswitch-enum; do
+for flag in -Wstrict-overflow=1; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -26946,7 +27255,7 @@
-for flag in -Wundef; do
+for flag in -Wswitch-enum; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -27009,7 +27318,7 @@
-for flag in -Wunused-result; do
+for flag in -Wundef; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -27072,7 +27381,7 @@
-for flag in -Wunused-variable; do
+for flag in -Wunused-result; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -27135,7 +27444,7 @@
-for flag in -Wwrite-strings; do
+for flag in -Wunused-variable; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -27198,7 +27507,7 @@
-for flag in -floop-parallelize-all; do
+for flag in -Wwrite-strings; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -27261,7 +27570,7 @@
-for flag in -fwrapv; do
+for flag in -floop-parallelize-all; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -27324,7 +27633,7 @@
-for flag in -ggdb; do
+for flag in -fwrapv; do
as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
@@ -27385,14 +27694,18 @@
done
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Werror" >&5
-$as_echo_n "checking whether the linker accepts -Werror... " >&6; }
-if ${ax_cv_check_ldflags___Werror+:} false; then :
+
+
+for flag in -ggdb; do
+ as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
+$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; }
+if eval \${$as_CACHEVAR+:} false; then :
$as_echo_n "(cached) " >&6
else
- ax_check_save_flags=$LDFLAGS
- LDFLAGS="$LDFLAGS -Werror"
+ ax_check_save_flags=$CXXFLAGS
+ CXXFLAGS="$CXXFLAGS $flag"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -27404,59 +27717,46 @@
return 0;
}
_ACEOF
-if ac_fn_cxx_try_link "$LINENO"; then :
- ax_cv_check_ldflags___Werror=yes
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ eval "$as_CACHEVAR=yes"
else
- ax_cv_check_ldflags___Werror=no
+ eval "$as_CACHEVAR=no"
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
- LDFLAGS=$ax_check_save_flags
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ CXXFLAGS=$ax_check_save_flags
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Werror" >&5
-$as_echo "$ax_cv_check_ldflags___Werror" >&6; }
-if test x"$ax_cv_check_ldflags___Werror" = xyes; then :
- :
+eval ac_res=\$$as_CACHEVAR
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
+ if ${CXXFLAGS+:} false; then :
+ case " $CXXFLAGS " in
+ *" $flag "*)
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5
+ (: CXXFLAGS already contains $flag) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ ;;
+ *)
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$flag\""; } >&5
+ (: CXXFLAGS="$CXXFLAGS $flag") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ CXXFLAGS="$CXXFLAGS $flag"
+ ;;
+ esac
else
- :
+ CXXFLAGS="$flag"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -z relro -z now" >&5
-$as_echo_n "checking whether the linker accepts -z relro -z now... " >&6; }
-if ${ax_cv_check_ldflags___z_relro__z_now+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- ax_check_save_flags=$LDFLAGS
- LDFLAGS="$LDFLAGS -z relro -z now"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_link "$LINENO"; then :
- ax_cv_check_ldflags___z_relro__z_now=yes
-else
- ax_cv_check_ldflags___z_relro__z_now=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
- LDFLAGS=$ax_check_save_flags
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___z_relro__z_now" >&5
-$as_echo "$ax_cv_check_ldflags___z_relro__z_now" >&6; }
-if test x"$ax_cv_check_ldflags___z_relro__z_now" = xyes; then :
- :
else
:
fi
+done
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -27469,12 +27769,12 @@
# Check whether --with-debug was given.
if test "${with_debug+set}" = set; then :
- withval=$with_debug; with_debug=$withval
+ withval=$with_debug; ax_with_debug=$withval
else
- with_debug=no
+ ax_with_debug=no
fi
- if test "$with_debug" = "yes"; then :
+ if test "$ax_with_debug" = "yes"; then :
# Debugging. No optimization.
AM_CFLAGS="${AM_CFLAGS} ${DEBUG_CFLAGS} -DDEBUG"
@@ -28112,7 +28412,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by gearmand $as_me 0.38, which was
+This file was extended by gearmand $as_me 0.39, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -28183,7 +28483,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-gearmand config.status 0.38
+gearmand config.status 0.39
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
@@ -30272,13 +30572,13 @@
echo " * Installation prefix: $prefix"
echo " * System type: $host_vendor-$host_os"
echo " * Host CPU: $host_cpu"
-echo " * C Compiler: $CC"
+echo " * C Compiler: $CC_VERSION"
echo " * C Flags: $CFLAGS"
-echo " * C++ Compiler: $CXX"
+echo " * C++ Compiler: $CXX_VERSION"
echo " * C++ Flags: $CXXFLAGS"
echo " * CPP Flags: $CPPFLAGS"
echo " * Assertions enabled: $ac_cv_assert"
-echo " * Debug enabled: $with_debug"
+echo " * Debug enabled: $ax_with_debug"
echo " * Warnings as failure: $ac_cv_warnings_as_errors"
echo " * Building with libsqlite3 $WANT_SQLITE3"
echo " * Building with libdrizzle $ac_enable_libdrizzle"
@@ -30288,3 +30588,16 @@
echo " * Building with libmysql $found_mysql"
echo ""
echo "---"
+
+case "$host_os" in
+ *freebsd*)
+ echo "*****"
+ echo "*"
+ echo "* NOTE: You are on FreeBSD. BSD make will not work."
+ echo "*"
+ echo "* use 'gmake' To build libmemcached"
+ echo "*"
+ echo "*****"
+ ;;
+esac
+
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/configure.ac
^
|
@@ -6,7 +6,7 @@
# Use and distribution licensed under the BSD license. See
# the COPYING file in this directory for full text.
-AC_INIT([gearmand],[0.38],[https://bugs.launchpad.net/gearmand],[gearmand],[http://gearman.info/])
+AC_INIT([gearmand],[0.39],[https://bugs.launchpad.net/gearmand],[gearmand],[http://gearman.info/])
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_MACRO_DIR([m4])
@@ -42,6 +42,8 @@
PANDORA_PLATFORM
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+PANDORA_CHECK_CXX_VERSION
+
AX_CXX_HEADER_STDCXX_98
if test "$ax_cv_cxx_stdcxx_98" = no; then
AC_MSG_ERROR([Your system lacks a new enough C++ compiler])
@@ -249,13 +251,13 @@
echo " * Installation prefix: $prefix"
echo " * System type: $host_vendor-$host_os"
echo " * Host CPU: $host_cpu"
-echo " * C Compiler: $CC"
+echo " * C Compiler: $CC_VERSION"
echo " * C Flags: $CFLAGS"
-echo " * C++ Compiler: $CXX"
+echo " * C++ Compiler: $CXX_VERSION"
echo " * C++ Flags: $CXXFLAGS"
echo " * CPP Flags: $CPPFLAGS"
echo " * Assertions enabled: $ac_cv_assert"
-echo " * Debug enabled: $with_debug"
+echo " * Debug enabled: $ax_with_debug"
echo " * Warnings as failure: $ac_cv_warnings_as_errors"
echo " * Building with libsqlite3 $WANT_SQLITE3"
echo " * Building with libdrizzle $ac_enable_libdrizzle"
@@ -265,3 +267,16 @@
echo " * Building with libmysql $found_mysql"
echo ""
echo "---"
+
+case "$host_os" in
+ *freebsd*)
+ echo "*****"
+ echo "*"
+ echo "* NOTE: You are on FreeBSD. BSD make will not work."
+ echo "*"
+ echo "* use 'gmake' To build libmemcached"
+ echo "*"
+ echo "*****"
+ ;;
+esac
+
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/include.am
^
|
@@ -177,6 +177,9 @@
docs/man/libgearman.3
if HAVE_SPHINX
+
+docs: html man
+
sphinx-help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " html to make standalone HTML files"
@@ -196,17 +199,20 @@
@echo " linkcheck to check all external links for integrity"
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
-html-local: docs/conf.py
+docs/_static:
+ @$(mkdir_p) docs/_static
+
+html-local: docs/conf.py docs changes docs/_static
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(SPHINX_BUILDDIR)/html."
-dirhtml: docs/conf.py
+dirhtml: html-local
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/dirhtml
@echo
@echo "Build finished. The HTML pages are in $(SPHINX_BUILDDIR)/dirhtml."
-singlehtml: docs/conf.py
+singlehtml: html-local
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/singlehtml
@echo
@echo "Build finished. The HTML page is in $(SPHINX_BUILDDIR)/singlehtml."
@@ -289,6 +295,10 @@
@echo "Testing of doctests in the sources finished, look at the " \
"results in $(SPHINX_BUILDDIR)/doctest/output.txt."
+else
+
+docs:
+
endif
noinst_PROGRAMS+= \
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearadmin.1
^
|
@@ -1,4 +1,4 @@
-.TH "GEARADMIN" "1" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARADMIN" "1" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearadmin \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman.1
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN" "1" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN" "1" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_actions_t.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_ACTIONS_T" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_ACTIONS_T" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_actions_t \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_allocator_t.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_ALLOCATOR_T" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_ALLOCATOR_T" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_allocator_t \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_argument_make.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_ARGUMENT_MAKE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_ARGUMENT_MAKE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_argument_make \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_argument_t.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_ARGUMENT_T" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_ARGUMENT_T" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_argument_t \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_bugreport.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_BUGREPORT" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_BUGREPORT" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_bugreport \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_add_options.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_ADD_OPTIONS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_ADD_OPTIONS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_add_options \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_add_server.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_ADD_SERVER" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_ADD_SERVER" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_add_server \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_add_servers.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_ADD_SERVERS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_ADD_SERVERS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_add_servers \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_add_task.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_ADD_TASK" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_ADD_TASK" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_add_task \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_add_task_background.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_ADD_TASK_BACKGROUND" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_ADD_TASK_BACKGROUND" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_add_task_background \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_add_task_high.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_ADD_TASK_HIGH" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_ADD_TASK_HIGH" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_add_task_high \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_add_task_high_background.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_ADD_TASK_HIGH_BACKGROUND" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_ADD_TASK_HIGH_BACKGROUND" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_add_task_high_background \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_add_task_low.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_ADD_TASK_LOW" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_ADD_TASK_LOW" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_add_task_low \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_add_task_low_background.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_ADD_TASK_LOW_BACKGROUND" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_ADD_TASK_LOW_BACKGROUND" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_add_task_low_background \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_add_task_status.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_ADD_TASK_STATUS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_ADD_TASK_STATUS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_add_task_status \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_clear_fn.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_CLEAR_FN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_CLEAR_FN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_clear_fn \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_clone.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_CLONE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_CLONE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_clone \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_context.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_CONTEXT" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_CONTEXT" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_context \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_create.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_CREATE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_CREATE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_create \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_do.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_DO" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_DO" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_do \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_do_background.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_DO_BACKGROUND" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_DO_BACKGROUND" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_do_background \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_do_high.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_DO_HIGH" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_DO_HIGH" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_do_high \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_do_high_background.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_DO_HIGH_BACKGROUND" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_DO_HIGH_BACKGROUND" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_do_high_background \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_do_job_handle.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_DO_JOB_HANDLE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_DO_JOB_HANDLE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_do_job_handle \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_do_low.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_DO_LOW" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_DO_LOW" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_do_low \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_do_low_background.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_DO_LOW_BACKGROUND" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_DO_LOW_BACKGROUND" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_do_low_background \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_do_status.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_DO_STATUS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_DO_STATUS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_do_status \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_echo.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_ECHO" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_ECHO" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_echo \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_errno.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_ERRNO" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_ERRNO" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_errno \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_error.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_ERROR" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_ERROR" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_error \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_free.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_FREE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_FREE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_free \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_has_option.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_HAS_OPTION" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_HAS_OPTION" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_has_option \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_job_status.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_JOB_STATUS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_JOB_STATUS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_job_status \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_options.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_OPTIONS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_OPTIONS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_options \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_options_t.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_OPTIONS_T" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_OPTIONS_T" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_options_t \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_remove_options.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_REMOVE_OPTIONS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_REMOVE_OPTIONS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_remove_options \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_remove_servers.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_REMOVE_SERVERS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_REMOVE_SERVERS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_remove_servers \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_run_tasks.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_RUN_TASKS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_RUN_TASKS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_run_tasks \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_set_complete_fn.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_SET_COMPLETE_FN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_SET_COMPLETE_FN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_set_complete_fn \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_set_context.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_SET_CONTEXT" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_SET_CONTEXT" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_set_context \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_set_created_fn.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_SET_CREATED_FN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_SET_CREATED_FN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_set_created_fn \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_set_data_fn.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_SET_DATA_FN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_SET_DATA_FN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_set_data_fn \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_set_exception_fn.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_SET_EXCEPTION_FN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_SET_EXCEPTION_FN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_set_exception_fn \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_set_fail_fn.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_SET_FAIL_FN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_SET_FAIL_FN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_set_fail_fn \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_set_log_fn.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_SET_LOG_FN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_SET_LOG_FN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_set_log_fn \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_set_memory_allocators.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_SET_MEMORY_ALLOCATORS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_SET_MEMORY_ALLOCATORS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_set_memory_allocators \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_set_namespace.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_SET_NAMESPACE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_SET_NAMESPACE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_set_namespace \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_set_options.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_SET_OPTIONS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_SET_OPTIONS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_set_options \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_set_status_fn.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_SET_STATUS_FN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_SET_STATUS_FN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_set_status_fn \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_set_task_context_free_fn.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_SET_TASK_CONTEXT_FREE_FN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_SET_TASK_CONTEXT_FREE_FN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_set_task_context_free_fn \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_set_timeout.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_SET_TIMEOUT" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_SET_TIMEOUT" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_set_timeout \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_set_warning_fn.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_SET_WARNING_FN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_SET_WARNING_FN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_set_warning_fn \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_set_workload_fn.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_SET_WORKLOAD_FN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_SET_WORKLOAD_FN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_set_workload_fn \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_set_workload_free_fn.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_SET_WORKLOAD_FREE_FN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_SET_WORKLOAD_FREE_FN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_set_workload_free_fn \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_set_workload_malloc_fn.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_SET_WORKLOAD_MALLOC_FN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_SET_WORKLOAD_MALLOC_FN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_set_workload_malloc_fn \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_st.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_ST" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_ST" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_st \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_task_free_all.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_TASK_FREE_ALL" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_TASK_FREE_ALL" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_task_free_all \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_timeout.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_TIMEOUT" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_TIMEOUT" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_timeout \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_client_wait.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CLIENT_WAIT" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CLIENT_WAIT" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_client_wait \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_continue.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_CONTINUE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_CONTINUE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_continue \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_execute.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_EXECUTE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_EXECUTE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_execute \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_failed.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_FAILED" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_FAILED" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_failed \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_job_free.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_JOB_FREE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_JOB_FREE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_job_free \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_job_free_all.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_JOB_FREE_ALL" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_JOB_FREE_ALL" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_job_free_all \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_job_function_name.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_JOB_FUNCTION_NAME" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_JOB_FUNCTION_NAME" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_job_function_name \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_job_handle.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_JOB_HANDLE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_JOB_HANDLE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_job_handle \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_job_handle_t.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_JOB_HANDLE_T" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_JOB_HANDLE_T" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_job_handle_t \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_job_send_complete.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_JOB_SEND_COMPLETE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_JOB_SEND_COMPLETE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_job_send_complete \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_job_send_data.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_JOB_SEND_DATA" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_JOB_SEND_DATA" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_job_send_data \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_job_send_exception.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_JOB_SEND_EXCEPTION" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_JOB_SEND_EXCEPTION" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_job_send_exception \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_job_send_fail.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_JOB_SEND_FAIL" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_JOB_SEND_FAIL" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_job_send_fail \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_job_send_status.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_JOB_SEND_STATUS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_JOB_SEND_STATUS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_job_send_status \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_job_send_warning.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_JOB_SEND_WARNING" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_JOB_SEND_WARNING" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_job_send_warning \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_job_st.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_JOB_ST" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_JOB_ST" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_job_st \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_job_take_workload.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_JOB_TAKE_WORKLOAD" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_JOB_TAKE_WORKLOAD" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_job_take_workload \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_job_unique.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_JOB_UNIQUE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_JOB_UNIQUE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_job_unique \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_job_workload.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_JOB_WORKLOAD" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_JOB_WORKLOAD" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_job_workload \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_job_workload_size.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_JOB_WORKLOAD_SIZE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_JOB_WORKLOAD_SIZE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_job_workload_size \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_log_fn.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_LOG_FN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_LOG_FN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_log_fn \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_parse_servers.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_PARSE_SERVERS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_PARSE_SERVERS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_parse_servers \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_result_boolean.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_RESULT_BOOLEAN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_RESULT_BOOLEAN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_result_boolean \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_result_integer.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_RESULT_INTEGER" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_RESULT_INTEGER" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_result_integer \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_result_is_null.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_RESULT_IS_NULL" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_RESULT_IS_NULL" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_result_is_null \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_result_size.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_RESULT_SIZE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_RESULT_SIZE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_result_size \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_result_store_integer.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_RESULT_STORE_INTEGER" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_RESULT_STORE_INTEGER" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_result_store_integer \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_result_store_string.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_RESULT_STORE_STRING" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_RESULT_STORE_STRING" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_result_store_string \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_result_store_value.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_RESULT_STORE_VALUE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_RESULT_STORE_VALUE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_result_store_value \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_result_string.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_RESULT_STRING" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_RESULT_STRING" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_result_string \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_return_t.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_RETURN_T" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_RETURN_T" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_return_t \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_strerror.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_STRERROR" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_STRERROR" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_strerror \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_string_t.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_STRING_T" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_STRING_T" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_string_t \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_success.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_SUCCESS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_SUCCESS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_success \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_attr_init.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_ATTR_INIT" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_ATTR_INIT" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_attr_init \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_attr_init_background.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_ATTR_INIT_BACKGROUND" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_ATTR_INIT_BACKGROUND" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_attr_init_background \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_attr_init_epoch.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_ATTR_INIT_EPOCH" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_ATTR_INIT_EPOCH" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_attr_init_epoch \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_attr_t.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_ATTR_T" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_ATTR_T" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_attr_t \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_context.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_CONTEXT" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_CONTEXT" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_context \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_data.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_DATA" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_DATA" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_data \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_data_size.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_DATA_SIZE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_DATA_SIZE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_data_size \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_denominator.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_DENOMINATOR" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_DENOMINATOR" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_denominator \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_error.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_ERROR" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_ERROR" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_error \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_free.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_FREE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_FREE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_free \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_function_name.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_FUNCTION_NAME" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_FUNCTION_NAME" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_function_name \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_give_workload.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_GIVE_WORKLOAD" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_GIVE_WORKLOAD" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_give_workload \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_is_known.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_IS_KNOWN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_IS_KNOWN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_is_known \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_is_running.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_IS_RUNNING" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_IS_RUNNING" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_is_running \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_job_handle.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_JOB_HANDLE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_JOB_HANDLE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_job_handle \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_numerator.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_NUMERATOR" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_NUMERATOR" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_numerator \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_recv_data.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_RECV_DATA" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_RECV_DATA" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_recv_data \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_return.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_RETURN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_RETURN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_return \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_send_workload.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_SEND_WORKLOAD" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_SEND_WORKLOAD" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_send_workload \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_set_context.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_SET_CONTEXT" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_SET_CONTEXT" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_set_context \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_st.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_ST" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_ST" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_st \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_take_data.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_TAKE_DATA" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_TAKE_DATA" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_take_data \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_task_unique.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_TASK_UNIQUE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_TASK_UNIQUE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_task_unique \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_verbose_name.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_VERBOSE_NAME" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_VERBOSE_NAME" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_verbose_name \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_verbose_t.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_VERBOSE_T" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_VERBOSE_T" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_verbose_t \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_version.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_VERSION" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_VERSION" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_version \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_add_function.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_ADD_FUNCTION" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_ADD_FUNCTION" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_add_function \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_add_options.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_ADD_OPTIONS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_ADD_OPTIONS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_add_options \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_add_server.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_ADD_SERVER" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_ADD_SERVER" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_add_server \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_add_servers.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_ADD_SERVERS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_ADD_SERVERS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_add_servers \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_clone.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_CLONE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_CLONE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_clone \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_context.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_CONTEXT" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_CONTEXT" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_context \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_create.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_CREATE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_CREATE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_create \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_define_function.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_DEFINE_FUNCTION" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_DEFINE_FUNCTION" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_define_function \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_echo.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_ECHO" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_ECHO" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_echo \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_errno.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_ERRNO" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_ERRNO" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_errno \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_error.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_ERROR" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_ERROR" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_error \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_free.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_FREE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_FREE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_free \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_function_exist.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_FUNCTION_EXIST" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_FUNCTION_EXIST" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_function_exist \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_grab_job.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_GRAB_JOB" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_GRAB_JOB" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_grab_job \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_options.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_OPTIONS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_OPTIONS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_options \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_register.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_REGISTER" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_REGISTER" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_register \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_remove_options.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_REMOVE_OPTIONS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_REMOVE_OPTIONS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_remove_options \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_remove_servers.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_REMOVE_SERVERS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_REMOVE_SERVERS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_remove_servers \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_set_context.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_SET_CONTEXT" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_SET_CONTEXT" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_set_context \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_set_log_fn.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_SET_LOG_FN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_SET_LOG_FN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_set_log_fn \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_set_memory_allocators.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_SET_MEMORY_ALLOCATORS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_SET_MEMORY_ALLOCATORS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_set_memory_allocators \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_set_namespace.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_SET_NAMESPACE" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_SET_NAMESPACE" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_set_namespace \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_set_options.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_SET_OPTIONS" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_SET_OPTIONS" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_set_options \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_set_timeout.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_SET_TIMEOUT" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_SET_TIMEOUT" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_set_timeout \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_set_workload_free_fn.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_SET_WORKLOAD_FREE_FN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_SET_WORKLOAD_FREE_FN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_set_workload_free_fn \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_set_workload_malloc_fn.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_SET_WORKLOAD_MALLOC_FN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_SET_WORKLOAD_MALLOC_FN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_set_workload_malloc_fn \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_st.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_ST" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_ST" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_st \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_timeout.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_TIMEOUT" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_TIMEOUT" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_timeout \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_unregister.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_UNREGISTER" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_UNREGISTER" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_unregister \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_unregister_all.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_UNREGISTER_ALL" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_UNREGISTER_ALL" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_unregister_all \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_wait.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_WAIT" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_WAIT" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_wait \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearman_worker_work.3
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAN_WORKER_WORK" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAN_WORKER_WORK" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearman_worker_work \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/gearmand.8
^
|
@@ -1,4 +1,4 @@
-.TH "GEARMAND" "8" "September 14, 2012" "0.38" "Gearmand"
+.TH "GEARMAND" "8" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
gearmand \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/docs/man/libgearman.3
^
|
@@ -1,4 +1,4 @@
-.TH "LIBGEARMAN" "3" "September 14, 2012" "0.38" "Gearmand"
+.TH "LIBGEARMAN" "3" "September 19, 2012" "0.39" "Gearmand"
.SH NAME
libgearman \- Gearmand Documentation, http://gearman.info/
.
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/gearmand/gearmand.cc
^
|
@@ -384,6 +384,7 @@
gearmand_error_t ret= gearmand_run(_gearmand);
gearmand_free(_gearmand);
+ _gearmand= NULL;
return (ret == GEARMAN_SUCCESS || ret == GEARMAN_SHUTDOWN) ? 0 : 1;
}
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/libgearman-1.0/job.h
^
|
@@ -165,6 +165,9 @@
GEARMAN_API
gearman_worker_st *gearman_job_clone_worker(gearman_job_st *job);
+GEARMAN_API
+ const char *gearman_job_error(gearman_job_st *job);
+
/** @} */
#ifdef __cplusplus
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/libgearman-1.0/version.h
^
|
@@ -38,5 +38,5 @@
#pragma once
-#define LIBGEARMAN_VERSION_STRING "0.38"
+#define LIBGEARMAN_VERSION_STRING "0.39"
#define LIBGEARMAN_VERSION_HEX @PANDORA_HEX_VERSION@
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/libgearman-server/gearmand.cc
^
|
@@ -87,7 +87,7 @@
static void _clear_events(gearmand_st *gearmand);
static void _close_events(gearmand_st *gearmand);
-static bool gearman_server_create(gearman_server_st *server,
+static bool gearman_server_create(gearman_server_st& server,
uint8_t job_retries,
uint8_t worker_wakeup,
bool round_robin);
@@ -95,53 +95,56 @@
void *context, const gearmand_verbose_t verbose);
-static void gearman_server_free(gearman_server_st *server)
+static void gearman_server_free(gearman_server_st& server)
{
/* All threads should be cleaned up before calling this. */
- assert(server->thread_list == NULL);
+ assert(server.thread_list == NULL);
for (uint32_t key= 0; key < GEARMAND_JOB_HASH_SIZE; key++)
{
- while (server->job_hash[key] != NULL)
+ while (server.job_hash[key] != NULL)
{
- gearman_server_job_free(server->job_hash[key]);
+ gearman_server_job_free(server.job_hash[key]);
}
}
- while (server->function_list != NULL)
+ while (server.function_list != NULL)
{
- gearman_server_function_free(server, server->function_list);
+ gearman_server_function_free(&server, server.function_list);
}
- while (server->free_packet_list != NULL)
+ while (server.free_packet_list != NULL)
{
- gearman_server_packet_st *packet= server->free_packet_list;
- server->free_packet_list= packet->next;
+ gearman_server_packet_st *packet= server.free_packet_list;
+ server.free_packet_list= packet->next;
delete packet;
}
- while (server->free_job_list != NULL)
+ while (server.free_job_list != NULL)
{
- gearman_server_job_st* job= server->free_job_list;
- server->free_job_list= job->next;
+ gearman_server_job_st* job= server.free_job_list;
+ server.free_job_list= job->next;
delete job;
}
- while (server->free_client_list != NULL)
+ while (server.free_client_list != NULL)
{
- gearman_server_client_st* client= server->free_client_list;
- server->free_client_list= client->con_next;
+ gearman_server_client_st* client= server.free_client_list;
+ server.free_client_list= client->con_next;
delete client;
}
- while (server->free_worker_list != NULL)
+ while (server.free_worker_list != NULL)
{
- gearman_server_worker_st* worker= server->free_worker_list;
- server->free_worker_list= worker->con_next;
+ gearman_server_worker_st* worker= server.free_worker_list;
+ server.free_worker_list= worker->con_next;
delete worker;
}
- delete server->queue.object;
+ if (server.queue_version == QUEUE_VERSION_CLASS)
+ {
+ delete server.queue.object;
+ }
}
/** @} */
@@ -191,7 +194,7 @@
return NULL;
}
- if (gearman_server_create(&(gearmand->server), job_retries, worker_wakeup, round_robin) == false)
+ if (gearman_server_create(gearmand->server, job_retries, worker_wakeup, round_robin) == false)
{
delete gearmand;
return NULL;
@@ -228,55 +231,59 @@
void gearmand_free(gearmand_st *gearmand)
{
- _close_events(gearmand);
-
- if (gearmand->threads > 0)
+ if (gearmand)
{
- gearmand_debug("Shutting down all threads");
- }
+ _close_events(gearmand);
- while (gearmand->thread_list != NULL)
- {
- gearmand_thread_free(gearmand->thread_list);
- }
-
- while (gearmand->free_dcon_list != NULL)
- {
- gearmand_con_st *dcon;
+ if (gearmand->threads > 0)
+ {
+ gearmand_debug("Shutting down all threads");
+ }
- dcon= gearmand->free_dcon_list;
- gearmand->free_dcon_list= dcon->next;
- free(dcon);
- }
+ while (gearmand->thread_list != NULL)
+ {
+ gearmand_thread_free(gearmand->thread_list);
+ }
- if (gearmand->base != NULL)
- {
- event_base_free(gearmand->base);
- }
+ while (gearmand->free_dcon_list != NULL)
+ {
+ gearmand_con_st *dcon;
- gearman_server_free(&(gearmand->server));
+ dcon= gearmand->free_dcon_list;
+ gearmand->free_dcon_list= dcon->next;
+ free(dcon);
+ }
- for (uint32_t x= 0; x < gearmand->port_count; x++)
- {
- if (gearmand->port_list[x].listen_fd != NULL)
+ if (gearmand->base != NULL)
{
- free(gearmand->port_list[x].listen_fd);
+ event_base_free(gearmand->base);
+ gearmand->base= NULL;
}
- if (gearmand->port_list[x].listen_event != NULL)
+ gearman_server_free(gearmand->server);
+
+ for (uint32_t x= 0; x < gearmand->port_count; x++)
{
- free(gearmand->port_list[x].listen_event);
+ if (gearmand->port_list[x].listen_fd != NULL)
+ {
+ free(gearmand->port_list[x].listen_fd);
+ }
+
+ if (gearmand->port_list[x].listen_event != NULL)
+ {
+ free(gearmand->port_list[x].listen_event);
+ }
}
- }
- if (gearmand->port_list != NULL)
- {
- free(gearmand->port_list);
- }
+ if (gearmand->port_list != NULL)
+ {
+ free(gearmand->port_list);
+ }
- gearmand_info("Shutdown complete");
+ gearmand_info("Shutdown complete");
- delete gearmand;
+ delete gearmand;
+ }
}
static void gearmand_set_log_fn(gearmand_st *gearmand, gearmand_log_fn *function,
@@ -1076,43 +1083,43 @@
return success;
}
-static bool gearman_server_create(gearman_server_st *server,
+static bool gearman_server_create(gearman_server_st& server,
uint8_t job_retries_arg,
uint8_t worker_wakeup_arg,
bool round_robin_arg)
{
struct utsname un;
- assert(server);
- server->state.queue_startup= false;
- server->flags.round_robin= round_robin_arg;
- server->flags.threaded= false;
- server->shutdown= false;
- server->shutdown_graceful= false;
- server->proc_wakeup= false;
- server->proc_shutdown= false;
- server->job_retries= job_retries_arg;
- server->worker_wakeup= worker_wakeup_arg;
- server->thread_count= 0;
- server->free_packet_count= 0;
- server->function_count= 0;
- server->job_count= 0;
- server->unique_count= 0;
- server->free_job_count= 0;
- server->free_client_count= 0;
- server->free_worker_count= 0;
- server->thread_list= NULL;
- server->free_packet_list= NULL;
- server->function_list= NULL;
- server->free_job_list= NULL;
- server->free_client_list= NULL;
- server->free_worker_list= NULL;
+ server.state.queue_startup= false;
+ server.flags.round_robin= round_robin_arg;
+ server.flags.threaded= false;
+ server.shutdown= false;
+ server.shutdown_graceful= false;
+ server.proc_wakeup= false;
+ server.proc_shutdown= false;
+ server.job_retries= job_retries_arg;
+ server.worker_wakeup= worker_wakeup_arg;
+ server.thread_count= 0;
+ server.free_packet_count= 0;
+ server.function_count= 0;
+ server.job_count= 0;
+ server.unique_count= 0;
+ server.free_job_count= 0;
+ server.free_client_count= 0;
+ server.free_worker_count= 0;
+ server.thread_list= NULL;
+ server.free_packet_list= NULL;
+ server.function_list= NULL;
+ server.free_job_list= NULL;
+ server.free_client_list= NULL;
+ server.free_worker_list= NULL;
- server->queue_version= QUEUE_VERSION_FUNCTION;
+ server.queue_version= QUEUE_VERSION_FUNCTION;
+ server.queue.object= NULL;
- memset(server->job_hash, 0,
+ memset(server.job_hash, 0,
sizeof(gearman_server_job_st *) * GEARMAND_JOB_HASH_SIZE);
- memset(server->unique_hash, 0,
+ memset(server.unique_hash, 0,
sizeof(gearman_server_job_st *) * GEARMAND_JOB_HASH_SIZE);
if (uname(&un) == -1)
@@ -1121,14 +1128,14 @@
return false;
}
- int checked_length= snprintf(server->job_handle_prefix, GEARMAND_JOB_HANDLE_SIZE, "H:%s", un.nodename);
+ int checked_length= snprintf(server.job_handle_prefix, GEARMAND_JOB_HANDLE_SIZE, "H:%s", un.nodename);
if (checked_length >= GEARMAND_JOB_HANDLE_SIZE or checked_length <= 0)
{
gearman_server_free(server);
return false;
}
- server->job_handle_count= 1;
+ server.job_handle_count= 1;
return true;
}
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/libgearman-server/gearmand_thread.cc
^
|
@@ -182,12 +182,22 @@
gearmand_log_debug(GEARMAN_DEFAULT_LOG_PARAM, "Shutting down thread %u", thread->count);
gearmand_thread_wakeup(thread, GEARMAND_WAKEUP_SHUTDOWN);
- (void) pthread_join(thread->id, NULL);
+ int pthread_error;
+ if ((pthread_error= pthread_join(thread->id, NULL)))
+ {
+ errno= pthread_error;
+ gearmand_perror("pthread_join");
+ }
}
if (thread->is_thread_lock)
{
- (void) pthread_mutex_destroy(&(thread->lock));
+ int pthread_error;
+ if ((pthread_error= pthread_mutex_destroy(&(thread->lock))))
+ {
+ errno= pthread_error;
+ gearmand_perror("pthread_mutex_destroy");
+ }
}
_wakeup_close(thread);
@@ -221,6 +231,7 @@
if (thread->base != NULL)
{
event_base_free(thread->base);
+ thread->base= NULL;
}
gearmand_log_debug(GEARMAN_DEFAULT_LOG_PARAM, "Thread %u shutdown complete", thread->count);
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/libgearman-server/include.am
^
|
@@ -57,6 +57,7 @@
libgearman-server/wakeup.h \
libgearman-server/worker.h
+libgearman_server_libgearman_server_la_SOURCES+= libgearman/pipe.cc
libgearman_server_libgearman_server_la_SOURCES+= libgearman-server/text.cc
libgearman_server_libgearman_server_la_SOURCES+= \
libgearman-server/byteorder.cc \
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/libgearman-server/timer.cc
^
|
@@ -40,6 +40,7 @@
#include <libgearman-server/common.h>
#include <libgearman-server/gearmand.h>
+#include <libgearman/pipe.h>
#include <libgearman-server/timer.h>
#include <cerrno>
@@ -53,33 +54,35 @@
static struct timeval current_epoch;
-static void* current_epoch_handler(void*)
+static int wakeup_fd[2];
+
+static __attribute__((noreturn)) void* current_epoch_handler(void*)
{
gearmand_debug("staring up Epoch thread");
- pollfd fds[1];
+ pollfd fds[2];
while (true)
{
memset(fds, 0, sizeof(pollfd));
fds[0].fd= -1; //STDIN_FILENO;
fds[0].events= POLLIN;
fds[0].revents= 0;
+ fds[1].fd= wakeup_fd[0]; // wakeup fd
+ fds[1].events= POLLIN;
+ fds[1].revents= 0;
int active_fd;
- if ((active_fd= poll(fds, 1, 1000)) == -1)
+ if ((active_fd= poll(fds, 2, 1000)) == -1)
{
- switch (errno)
- {
- case EINTR: // Shutdown
- pthread_exit(NULL);
-
- default:
- gearmand_perror("poll");
- }
+ gearmand_perror("poll");
}
- if (active_fd == 1)
+ if (active_fd > 0)
{
+ if (fds[1].revents)
+ {
+ pthread_exit(NULL);
+ }
gettimeofday(¤t_epoch, NULL);
}
}
@@ -87,19 +90,30 @@
pthread_exit(NULL);
}
+namespace libgearman {
+namespace server {
+
static void startup(void)
{
+ wakeup_fd[0]= -1;
+ wakeup_fd[1]= -1;
+
+ if (setup_shutdown_pipe(wakeup_fd) == false)
+ {
+ fprintf(stderr, "Could not setup pipe\n");
+ exit(1);
+ }
+
gettimeofday(¤t_epoch, NULL);
int error;
if ((error= pthread_create(&thread_id, NULL, current_epoch_handler, NULL)))
{
- fprintf(stderr, "pthread_create failed\n");
+ fprintf(stderr, "pthread_create() failed: %s\n", strerror(error));
+ exit(1);
}
}
-namespace libgearman {
-namespace server {
Epoch::Epoch()
{
@@ -109,12 +123,32 @@
Epoch::~Epoch()
{
gearmand_debug("shutting down Epoch thread");
+ int count= 5;
+ while (--count)
+ {
+ if (close(wakeup_fd[1]) == -1)
+ {
+ switch(errno)
+ {
+ case EAGAIN:
+ continue;
+
+ default:
+ break;
+ }
+ }
+
+ break; // close()
+ }
+
+#if 0
int error;
- if ((error= pthread_kill(thread_id, SIGTERM)) != 0)
+ if ((error= pthread_kill(thread_id, SIGPIPE)) != 0)
{
errno= error;
gearmand_perror("pthread_kill(thread_id, SIGTERM)");
}
+#endif
pthread_join(thread_id, 0);
gearmand_debug("shutdown of Epoch completed");
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/libgearman/client.cc
^
|
@@ -351,7 +351,7 @@
{
if (client == NULL)
{
- return 0;
+ return EINVAL;
}
return gearman_universal_errno(client->universal);
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/libgearman/connection.cc
^
|
@@ -423,6 +423,8 @@
switch (send_state)
{
case GEARMAN_CON_SEND_STATE_NONE:
+ assert_msg(packet_arg.universal, "send_packet() was to execute against a packet with no universal");
+ universal_reset_error(*(packet_arg.universal));
if (packet_arg.options.complete == false)
{
return gearman_error(universal, GEARMAN_INVALID_PACKET, "packet not complete");
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/libgearman/error.hpp
^
|
@@ -64,3 +64,5 @@
const char *position);
void universal_reset_error(gearman_universal_st& universal);
+
+void gearman_worker_reset_error(gearman_worker_st *worker);
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/libgearman/job.cc
^
|
@@ -229,6 +229,13 @@
return true;
}
+static inline void gearman_job_reset_error(gearman_job_st *job)
+{
+ if (job->worker)
+ {
+ gearman_worker_reset_error(job->worker);
+ }
+}
gearman_return_t gearman_job_send_data(gearman_job_st *job, const void *data, size_t data_size)
{
@@ -243,7 +250,7 @@
return GEARMAN_SUCCESS;
}
- if (not (job->options.work_in_use))
+ if ((job->options.work_in_use) == false)
{
args[0]= job->assigned.arg[0];
args_size[0]= job->assigned.arg_size[0];
@@ -271,7 +278,7 @@
const void *args[2];
size_t args_size[2];
- if (not (job->options.work_in_use))
+ if ((job->options.work_in_use) == false)
{
args[0]= job->assigned.arg[0];
args_size[0]= job->assigned.arg_size[0];
@@ -284,7 +291,9 @@
GEARMAN_COMMAND_WORK_WARNING,
args, args_size, 2);
if (gearman_failed(ret))
+ {
return ret;
+ }
job->options.work_in_use= true;
}
@@ -449,7 +458,9 @@
size_t args_size[1];
if (job->options.finished)
+ {
return GEARMAN_SUCCESS;
+ }
if (not (job->options.work_in_use))
{
@@ -460,7 +471,9 @@
GEARMAN_COMMAND_WORK_FAIL,
args, args_size, 1);
if (gearman_failed(ret))
+ {
return ret;
+ }
job->options.work_in_use= true;
}
@@ -594,6 +607,10 @@
while ((ret == GEARMAN_IO_WAIT) or (ret == GEARMAN_TIMEOUT))
{
+#if 0
+ assert(job->work.universal);
+ ret= gearman_wait(*(job->work.universal));
+#endif
ret= gearman_wait(job->worker->universal);
if (ret == GEARMAN_SUCCESS)
{
@@ -611,3 +628,13 @@
return GEARMAN_SUCCESS;
}
+
+const char *gearman_job_error(gearman_job_st *job)
+{
+ if (job and job->worker)
+ {
+ return gearman_worker_error(job->worker);
+ }
+
+ return NULL;
+}
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/libgearman/worker.cc
^
|
@@ -228,7 +228,7 @@
{
if (worker == NULL)
{
- return 0;
+ return EINVAL;
}
return gearman_universal_errno(worker->universal);
@@ -945,6 +945,14 @@
return GEARMAN_INVALID_ARGUMENT;
}
+void gearman_worker_reset_error(gearman_worker_st *worker)
+{
+ if (worker)
+ {
+ universal_reset_error(worker->universal);
+ }
+}
+
gearman_return_t gearman_worker_work(gearman_worker_st *worker)
{
bool shutdown= false;
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/libtest/memcached.hpp
^
|
@@ -39,7 +39,7 @@
#if defined(HAVE_LIBMEMCACHED) && HAVE_LIBMEMCACHED
inline bool operator== (const memcached_st& memc, const memcached_return_t rc)
{
- if (memcached_last_error(&memc) == rc)
+ if (memcached_last_error(const_cast<memcached_st *>(&memc)) == rc)
{
return true;
}
@@ -49,7 +49,7 @@
inline bool operator!= (const memcached_st& memc, const memcached_return_t rc)
{
- if (memcached_last_error(&memc) != rc)
+ if (memcached_last_error(const_cast<memcached_st *>(&memc)) != rc)
{
return true;
}
@@ -59,7 +59,7 @@
inline bool operator!= (const memcached_return_t rc, const memcached_st& memc)
{
- if (memcached_last_error(&memc) != rc)
+ if (memcached_last_error(const_cast<memcached_st *>(&memc)) != rc)
{
return true;
}
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/m4/ax_harden_compiler_flags.m4
^
|
@@ -51,17 +51,36 @@
# AX_APPEND_COMPILE_FLAGS([-pedantic]) -- ?
# AX_APPEND_COMPILE_FLAGS([-Wstack-protector]) -- Issues on 32bit compile
# AX_APPEND_COMPILE_FLAGS([-fstack-protector-all]) -- Issues on 32bit compile
+# AX_APPEND_COMPILE_FLAGS([-Wlong-long]) -- Don't turn on for compatibility issues memcached_stat_st
-#serial 1
+#serial 2
+ AC_DEFUN([AX_HARDEN_LINKER_FLAGS], [
+ AC_REQUIRE([AX_CHECK_LINK_FLAG])
+ AC_REQUIRE([AX_VCS_CHECKOUT])
+ AC_REQUIRE([AX_DEBUG])
+
+ AS_IF([test "$ac_cv_vcs_checkout" = yes], [
+ AX_CHECK_LINK_FLAG([-Werror])
+ ])
+ AX_CHECK_LINK_FLAG([-z relro -z now])
+ ])
AC_DEFUN([AX_HARDEN_C_COMPILER_FLAGS], [
AC_REQUIRE([AX_APPEND_COMPILE_FLAGS])
- AC_REQUIRE([AX_CHECK_LINK_FLAG])
- AC_REQUIRE([AX_VCS_CHECKOUT])
+ AC_REQUIRE([AX_HARDEN_LINKER_FLAGS])
AC_LANG_PUSH([C])
- AX_APPEND_COMPILE_FLAGS([-O2])
- AX_APPEND_COMPILE_FLAGS([-Werror])
+ AS_IF([test "$ax_with_debug" = yes], [
+ AX_APPEND_COMPILE_FLAGS([-O0])],[
+ AX_APPEND_COMPILE_FLAGS([-O2])
+ ])
+
+ ac_cv_warnings_as_errors=no
+ AS_IF([test "$ac_cv_vcs_checkout" = yes], [
+ AX_APPEND_COMPILE_FLAGS([-Werror])
+ ac_cv_warnings_as_errors=yes
+ ])
+
AX_APPEND_COMPILE_FLAGS([-Wall])
AX_APPEND_COMPILE_FLAGS([-Wextra])
AX_APPEND_COMPILE_FLAGS([-std=c99])
@@ -71,19 +90,29 @@
AX_APPEND_COMPILE_FLAGS([-Wold-style-definition])
AX_APPEND_COMPILE_FLAGS([-Woverride-init])
AX_APPEND_COMPILE_FLAGS([-Wstrict-prototypes])
+ AX_APPEND_COMPILE_FLAGS([-Wlogical-op])
AC_LANG_POP
+
])
AC_DEFUN([AX_HARDEN_CC_COMPILER_FLAGS], [
AC_REQUIRE([AX_HARDEN_C_COMPILER_FLAGS])
AC_LANG_PUSH([C++])
- AX_APPEND_COMPILE_FLAGS([-O2])
- AX_APPEND_COMPILE_FLAGS([-Werror])
+
+ AS_IF([test "$ax_with_debug" = yes], [
+ AX_APPEND_COMPILE_FLAGS([-O0])],[
+ AX_APPEND_COMPILE_FLAGS([-O2])
+ AX_APPEND_COMPILE_FLAGS([-D_FORTIFY_SOURCE=2])
+ ])
+
+ AS_IF([test "$ac_cv_vcs_checkout" = yes], [
+ AX_APPEND_COMPILE_FLAGS([-Werror])
+ ])
+
AX_APPEND_COMPILE_FLAGS([-Wall])
AX_APPEND_COMPILE_FLAGS([-Wextra])
AX_APPEND_COMPILE_FLAGS([-Wpragmas])
AX_APPEND_COMPILE_FLAGS([--paramssp-buffer-size=1])
- AX_APPEND_COMPILE_FLAGS([-D_FORTIFY_SOURCE=2])
AX_APPEND_COMPILE_FLAGS([-Waddress])
AX_APPEND_COMPILE_FLAGS([-Warray-bounds])
AX_APPEND_COMPILE_FLAGS([-Wchar-subscripts])
@@ -91,10 +120,10 @@
AX_APPEND_COMPILE_FLAGS([-Wctor-dtor-privacy])
AX_APPEND_COMPILE_FLAGS([-Wfloat-equal])
AX_APPEND_COMPILE_FLAGS([-Wformat=2])
- AX_APPEND_COMPILE_FLAGS([-Wlong-long])
AX_APPEND_COMPILE_FLAGS([-Wmaybe-uninitialized])
AX_APPEND_COMPILE_FLAGS([-Wmissing-field-initializers])
AX_APPEND_COMPILE_FLAGS([-Wmissing-noreturn])
+ AX_APPEND_COMPILE_FLAGS([-Wlogical-op])
AX_APPEND_COMPILE_FLAGS([-Wnon-virtual-dtor])
AX_APPEND_COMPILE_FLAGS([-Wnormalized=id])
AX_APPEND_COMPILE_FLAGS([-Woverloaded-virtual])
@@ -112,7 +141,5 @@
AX_APPEND_COMPILE_FLAGS([-floop-parallelize-all])
AX_APPEND_COMPILE_FLAGS([-fwrapv])
AX_APPEND_COMPILE_FLAGS([-ggdb])
- AX_CHECK_LINK_FLAG([-Werror])
- AX_CHECK_LINK_FLAG([-z relro -z now])
AC_LANG_POP
])
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/m4/check_sock_cloexec.m4
^
|
@@ -2,7 +2,7 @@
# AX_CHECK_SOCK_CLOEXEC([action-if-found], [action-if-not-found])
#
-#serial 1
+#serial 2
AC_DEFUN([AX_CHECK_SOCK_CLOEXEC], [
AC_CACHE_CHECK([whether SOCK_CLOEXEC is supported], [ax_cv_sock_cloexec], [
@@ -19,7 +19,8 @@
return (s == -1);
])],
[ax_cv_sock_cloexec=yes],
- [ax_cv_sock_cloexec=no])
+ [ax_cv_sock_cloexec=no],
+ [AC_MSG_WARN([test program execution failed])])
])
AS_IF([test x"ax_cv_sock_cloexec" = xyes], [AC_MSG_RESULT([yes]) ; $1], AC_MSG_RESULT([no]) ; $2)
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/m4/debug.m4
^
|
@@ -2,9 +2,9 @@
AC_ARG_WITH([debug],
[AS_HELP_STRING([--with-debug],
[Add debug code/turns off optimizations (yes|no) @<:@default=no@:>@])],
- [with_debug=$withval],
- [with_debug=no])
- AS_IF([test "$with_debug" = "yes"],[
+ [ax_with_debug=$withval],
+ [ax_with_debug=no])
+ AS_IF([test "$ax_with_debug" = "yes"],[
# Debugging. No optimization.
AM_CFLAGS="${AM_CFLAGS} ${DEBUG_CFLAGS} -DDEBUG"
AM_CXXFLAGS="${AM_CXXFLAGS} ${DEBUG_CXXFLAGS} -DDEBUG"
|
[-]
[+]
|
Added |
gearmand-0.39.tar.bz2/m4/pandora_check_compiler_version.m4
^
|
@@ -0,0 +1,41 @@
+dnl Copyright (C) 2009 Sun Microsystems, Inc.
+dnl This file is free software; Sun Microsystems, Inc.
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+
+AC_DEFUN([PANDORA_CHECK_C_VERSION],[
+
+ dnl Print version of C compiler
+ AC_MSG_CHECKING("C Compiler version--$GCC")
+ AS_IF([test "$GCC" = "yes"],[
+ CC_VERSION=`$CC --version | sed 1q` ],[
+ test "$SUNCC" = "yes"],[
+ CC_VERSION=`$CC -V 2>&1 | sed 1q` ],[
+ test "$CLANG" = "yes"],[
+ CC_VERSION=`$CC --version 2>&1 | sed 1q` ],[
+ CC_VERSION=""
+ ])
+ AC_MSG_RESULT("$CC_VERSION")
+ AC_SUBST(CC_VERSION)
+ ])
+
+
+AC_DEFUN([PANDORA_CHECK_CXX_VERSION], [
+
+ dnl Check C version while at it
+ AC_REQUIRE([PANDORA_CHECK_C_VERSION])
+
+ dnl Print version of CXX compiler
+ AC_MSG_CHECKING("C++ Compiler version")
+ AS_IF([test "$GCC" = "yes"],[
+ CXX_VERSION=`$CXX --version | sed 1q` ],[
+ test "$SUNCC" = "yes"],[
+ CXX_VERSION=`$CXX -V 2>&1 | sed 1q` ],[
+ test "$CLANG" = "yes"],[
+ CXX_VERSION=`$CXX --version 2>&1 | sed 1q` ],[
+ CXX_VERSION=""
+ ])
+ AC_MSG_RESULT("$CXX_VERSION")
+ AC_SUBST(CXX_VERSION)
+ ])
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/m4/uuid.m4
^
|
@@ -33,7 +33,7 @@
])],
[ax_cv_libuuid_is_required=no],
[ax_cv_libuuid_is_required=maybe],
- [AC_MSG_FAILURE([test program execution failed])])
+ [AC_MSG_WARN([test program execution failed])])
AC_LANG_POP
])
@@ -49,7 +49,7 @@
])],
[ax_cv_libuuid_works=yes],
[ax_cv_libuuid_works=no],
- [])
+ [AC_MSG_WARN([test program execution failed])])
AC_LANG_POP
LIBS="$save_LIBS"
])
@@ -81,7 +81,7 @@
])],
[ax_cv_uuid_generate_time_safe=yes],
[ax_cv_uuid_generate_time_safe=no],
- [])
+ [AC_MSG_WARN([test program execution failed])])
AC_LANG_POP
LIBS="$save_LIBS"
])
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/support/gearmand.pc
^
|
@@ -5,6 +5,6 @@
Name: gearmand
Description: Gearman Server and C Library
-Version: 0.38
+Version: 0.39
Libs: -L${libdir} -lgearman
Cflags: -I${includedir}
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/support/gearmand.spec
^
|
@@ -1,6 +1,6 @@
Summary: Gearman Server and C Library
Name: gearmand
-Version: 0.38
+Version: 0.39
Release: 1
License: BSD
Group: System Environment/Libraries
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/tests/libgearman-1.0/client_test.cc
^
|
@@ -124,7 +124,7 @@
extern "C"
{
- static void *client_thread(void *object)
+ static __attribute__((noreturn)) void *client_thread(void *object)
{
volatile gearman_return_t *ret= (volatile gearman_return_t *)object;
gearman_client_st client;
@@ -1241,6 +1241,50 @@
return TEST_SUCCESS;
}
+static test_return_t gearman_client_free_TEST(void *)
+{
+ gearman_client_free(NULL);
+
+ return TEST_SUCCESS;
+}
+
+static test_return_t gearman_client_error_TEST(void *)
+{
+ test_null(gearman_client_error(NULL));
+
+ return TEST_SUCCESS;
+}
+
+static test_return_t gearman_client_error_no_error_TEST(void *)
+{
+ Client client;
+ test_null(gearman_client_error(&client));
+
+ return TEST_SUCCESS;
+}
+
+static test_return_t gearman_client_errno_TEST(void *)
+{
+ test_compare(EINVAL, gearman_client_errno(NULL));
+
+ return TEST_SUCCESS;
+}
+
+static test_return_t gearman_client_errno_no_error_TEST(void *)
+{
+ Client client;
+ test_compare(0, gearman_client_errno(&client));
+
+ return TEST_SUCCESS;
+}
+
+static test_return_t gearman_client_options_TEST(void *)
+{
+ test_compare(gearman_client_options_t(), gearman_client_options(NULL));
+
+ return TEST_SUCCESS;
+}
+
static test_return_t __SETUP(client_test_st* test, const gearman_function_t& echo_react_fn)
{
test_true(test);
@@ -1543,6 +1587,16 @@
{0, 0, 0}
};
+test_st gearman_client_st_NULL_invocation_TESTS[] ={
+ {"gearman_client_free()", 0, gearman_client_free_TEST },
+ {"gearman_client_error()", 0, gearman_client_error_TEST },
+ {"gearman_client_error() no error", 0, gearman_client_error_no_error_TEST },
+ {"gearman_client_errno()", 0, gearman_client_errno_TEST },
+ {"gearman_client_errno() no error", 0, gearman_client_errno_no_error_TEST },
+ {"gearman_client_options()", 0, gearman_client_options_TEST },
+ {0, 0, 0}
+};
+
test_st gearman_task_pause_tests[] ={
{"gearman_client_add_task(GEARMAN_PAUSE)", 0, gearman_client_add_task_pause_test},
{0, 0, 0}
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/tests/libgearman-1.0/worker_test.cc
^
|
@@ -1,11 +1,42 @@
-/* Gearman server and library
- * Copyright (C) 2008 Brian Aker, Eric Day
- * All rights reserved.
+/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
+ *
+ * Gearmand client and server library.
+ *
+ * Copyright (C) 2011-2012 Data Differential, http://datadifferential.com/
+ * Copyright (C) 2008 Brian Aker, Eric Day
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * * The names of its contributors may not be used to endorse or
+ * promote products derived from this software without specific prior
+ * written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * Use and distribution licensed under the BSD license. See
- * the COPYING file in the parent directory for full text.
*/
+
#include <config.h>
#include <libtest/test.hpp>
@@ -112,7 +143,7 @@
static test_return_t gearman_worker_errno_TEST(void *)
{
- test_compare(0, gearman_worker_errno(NULL));
+ test_compare(EINVAL, gearman_worker_errno(NULL));
return TEST_SUCCESS;
}
@@ -530,10 +561,8 @@
test_compare(0, int(GEARMAN_SUCCESS));
test_compare(1, int(GEARMAN_IO_WAIT));
- gearman_client_st *client= gearman_client_create(NULL);
- test_true(client);
- test_compare(GEARMAN_SUCCESS, gearman_client_add_server(client, "localhost", libtest::default_port()));
- test_compare(GEARMAN_SUCCESS, gearman_client_echo(client, test_literal_param(__func__)));
+ Client client(libtest::default_port());
+ test_compare(GEARMAN_SUCCESS, gearman_client_echo(&client, test_literal_param(__func__)));
size_t count= 0;
gearman_function_t GEARMAN_ERROR_FN= gearman_function_create(GEARMAN_ERROR_worker);
@@ -548,7 +577,7 @@
for (size_t x= 0; x < 24; x++)
{
count= x;
- gearman_task_st *task= gearman_execute(client,
+ gearman_task_st *task= gearman_execute(&client,
test_literal_param(__func__),
NULL, 0, // unique
NULL, // gearman_task_attr_t
@@ -559,7 +588,7 @@
gearman_return_t rc;
bool is_known;
do {
- rc= gearman_client_job_status(client, gearman_task_job_handle(task), &is_known, NULL, NULL, NULL);
+ rc= gearman_client_job_status(&client, gearman_task_job_handle(task), &is_known, NULL, NULL, NULL);
} while (gearman_continue(rc) or is_known);
test_compare(gearman_task_return(task), GEARMAN_SUCCESS);
@@ -570,8 +599,6 @@
test_memcmp("OK", gearman_result_value(result), strlen("ok"));
}
- gearman_client_free(client);
-
return TEST_SUCCESS;
}
@@ -581,10 +608,9 @@
test_compare(0, int(GEARMAN_SUCCESS));
test_compare(1, int(GEARMAN_IO_WAIT));
- gearman_client_st *client= gearman_client_create(NULL);
- test_true(client);
- test_compare(GEARMAN_SUCCESS, gearman_client_add_server(client, "localhost", libtest::default_port()));
- test_compare(GEARMAN_SUCCESS, gearman_client_echo(client, test_literal_param(__func__)));
+ Client client(libtest::default_port());
+
+ test_compare(GEARMAN_SUCCESS, gearman_client_echo(&client, test_literal_param(__func__)));
gearman_function_t error_return_TEST_FN= gearman_function_create(error_return_worker);
std::auto_ptr<worker_handle_st> handle(test_worker_start(libtest::default_port(),
@@ -600,7 +626,7 @@
{
gearman_return_t x= GEARMAN_FAIL;
gearman_argument_t arg= gearman_argument_make(NULL, 0, (const char*)&x, sizeof(gearman_return_t));
- gearman_task_st *task= gearman_execute(client,
+ gearman_task_st *task= gearman_execute(&client,
test_literal_param(__func__),
NULL, 0, // unique
NULL, // gearman_task_attr_t
@@ -611,7 +637,7 @@
gearman_return_t rc;
bool is_known;
do {
- rc= gearman_client_job_status(client, gearman_task_job_handle(task), &is_known, NULL, NULL, NULL);
+ rc= gearman_client_job_status(&client, gearman_task_job_handle(task), &is_known, NULL, NULL, NULL);
} while (gearman_continue(rc) or is_known);
{
@@ -619,8 +645,6 @@
}
}
- gearman_client_free(client);
-
return TEST_SUCCESS;
}
@@ -631,8 +655,7 @@
size_t args_size[2];
{
- Client client;
- gearman_client_add_server(&client, NULL, libtest::default_port());
+ Client client(libtest::default_port());
test_compare(gearman_client_do_background(&client, "abandoned_worker", NULL, NULL, 0, job_handle),
GEARMAN_SUCCESS);
}
@@ -641,10 +664,10 @@
gearman_universal_st universal;
gearman_universal_initialize(universal);
- gearman_connection_st *worker1;
- test_truth(worker1= gearman_connection_create(universal, NULL));
+ gearman_connection_st *connection1;
+ test_truth(connection1= gearman_connection_create(universal, NULL));
- worker1->set_host(NULL, libtest::default_port());
+ connection1->set_host(NULL, libtest::default_port());
gearman_packet_st packet;
args[0]= "abandoned_worker";
@@ -654,7 +677,7 @@
GEARMAN_COMMAND_CAN_DO,
args, args_size, 1));
- test_compare(worker1->send_packet(packet, true),
+ test_compare(connection1->send_packet(packet, true),
GEARMAN_SUCCESS);
gearman_packet_free(&packet);
@@ -663,21 +686,21 @@
test_compare(GEARMAN_SUCCESS,
gearman_packet_create_args(universal, packet, GEARMAN_MAGIC_REQUEST, GEARMAN_COMMAND_GRAB_JOB, NULL, NULL, 0));
- test_compare(GEARMAN_SUCCESS, worker1->send_packet(packet, true));
+ test_compare(GEARMAN_SUCCESS, connection1->send_packet(packet, true));
gearman_packet_free(&packet);
- worker1->receiving(packet, ret, false);
+ connection1->receiving(packet, ret, false);
test_truth(not (ret != GEARMAN_SUCCESS or packet.command != GEARMAN_COMMAND_JOB_ASSIGN));
test_strcmp(job_handle, packet.arg[0]); // unexepcted job
gearman_packet_free(&packet);
- gearman_connection_st *worker2;
- test_truth(worker2= gearman_connection_create(universal, NULL));
+ gearman_connection_st *connection2;
+ test_truth(connection2= gearman_connection_create(universal, NULL));
- worker2->set_host(NULL, libtest::default_port());
+ connection2->set_host(NULL, libtest::default_port());
args[0]= "abandoned_worker";
args_size[0]= strlen("abandoned_worker");
@@ -685,7 +708,7 @@
GEARMAN_COMMAND_CAN_DO,
args, args_size, 1));
- test_compare(GEARMAN_SUCCESS, worker2->send_packet(packet, true));
+ test_compare(GEARMAN_SUCCESS, connection2->send_packet(packet, true));
gearman_packet_free(&packet);
@@ -697,16 +720,16 @@
GEARMAN_COMMAND_WORK_COMPLETE,
args, args_size, 2));
- test_compare(GEARMAN_SUCCESS, worker2->send_packet(packet, true));
+ test_compare(GEARMAN_SUCCESS, connection2->send_packet(packet, true));
gearman_packet_free(&packet);
gearman_universal_set_timeout(universal, 1000);
- worker2->receiving(packet, ret, false);
+ connection2->receiving(packet, ret, false);
test_truth(not (ret != GEARMAN_SUCCESS or packet.command != GEARMAN_COMMAND_ERROR));
- delete worker1;
- delete worker2;
+ delete connection1;
+ delete connection2;
gearman_packet_free(&packet);
gearman_universal_free(universal);
@@ -914,7 +937,7 @@
static test_return_t gearman_worker_remove_options_GEARMAN_WORKER_GRAB_UNIQ(void *)
{
- Worker worker;
+ Worker worker(libtest::default_port());
char function_name[GEARMAN_FUNCTION_MAX_SIZE];
snprintf(function_name, GEARMAN_FUNCTION_MAX_SIZE, "_%s%d", __func__, int(random()));
@@ -923,15 +946,11 @@
snprintf(unique_name, GEARMAN_MAX_UNIQUE_SIZE, "_%s%d", __func__, int(random()));
test_compare(GEARMAN_SUCCESS,
- gearman_worker_add_server(&worker, NULL, libtest::default_port()));
-
- test_compare(GEARMAN_SUCCESS,
gearman_worker_add_function(&worker, function_name, 0, no_unique_worker, NULL));
{
- Client client;
- test_compare(GEARMAN_SUCCESS,
- gearman_client_add_server(&client, NULL, libtest::default_port()));
+ Client client(libtest::default_port());
+
test_compare(gearman_client_do_background(&client, function_name, unique_name,
test_string_make_from_array(unique_name), NULL),
GEARMAN_SUCCESS);
@@ -965,19 +984,14 @@
snprintf(unique_name, GEARMAN_MAX_UNIQUE_SIZE, "_%s%d", __func__, int(random()));
{
- Client client;
- test_compare(GEARMAN_SUCCESS,
- gearman_client_add_server(&client, NULL, libtest::default_port()));
+ Client client(libtest::default_port());
test_compare(gearman_client_do_background(&client, function_name, unique_name,
test_string_make_from_array(unique_name), NULL),
GEARMAN_SUCCESS);
}
- Worker worker;
-
- test_compare(GEARMAN_SUCCESS,
- gearman_worker_add_server(&worker, NULL, libtest::default_port()));
+ Worker worker(libtest::default_port());
test_compare(GEARMAN_SUCCESS,
gearman_worker_add_function(&worker, function_name, 0, check_unique_worker, NULL));
@@ -1002,10 +1016,7 @@
static test_return_t gearman_worker_set_identifier_TEST(void *)
{
- Worker worker;
-
- test_compare(GEARMAN_SUCCESS,
- gearman_worker_add_server(&worker, NULL, libtest::default_port()));
+ Worker worker(libtest::default_port());
test_compare(GEARMAN_SUCCESS,
gearman_worker_set_identifier(&worker, test_literal_param(__func__)));
@@ -1015,7 +1026,7 @@
static test_return_t gearman_worker_add_options_GEARMAN_WORKER_GRAB_UNIQ_worker_work(void *)
{
- Worker worker;
+ Worker worker(libtest::default_port());
char function_name[GEARMAN_FUNCTION_MAX_SIZE];
snprintf(function_name, GEARMAN_FUNCTION_MAX_SIZE, "_%s%d", __func__, int(random()));
@@ -1023,17 +1034,12 @@
char unique_name[GEARMAN_MAX_UNIQUE_SIZE];
snprintf(unique_name, GEARMAN_MAX_UNIQUE_SIZE, "_%s%d", __func__, int(random()));
- test_compare(GEARMAN_SUCCESS,
- gearman_worker_add_server(&worker, NULL, libtest::default_port()));
-
bool success= false;
test_compare(GEARMAN_SUCCESS,
gearman_worker_add_function(&worker, function_name, 0, check_unique_worker, &success));
{
- Client client;
- test_compare(GEARMAN_SUCCESS,
- gearman_client_add_server(&client, NULL, libtest::default_port()));
+ Client client(libtest::default_port());
test_compare(gearman_client_do_background(&client, function_name, unique_name,
test_string_make_from_array(unique_name), NULL),
GEARMAN_SUCCESS);
@@ -1054,9 +1060,7 @@
static test_return_t _increase_TEST(gearman_function_t &func, gearman_client_options_t options, size_t block_size)
{
- Client client;
- test_compare(GEARMAN_SUCCESS,
- gearman_client_add_server(&client, NULL, libtest::default_port()));
+ Client client(libtest::default_port());
test_compare(GEARMAN_SUCCESS, gearman_client_echo(&client, test_literal_param(__func__)));
@@ -1076,8 +1080,12 @@
max_block_size= 24;
}
- for (size_t x= 1; x < max_block_size; x++)
+ for (size_t x= 1; x < max_block_size; ++x)
{
+ if (libtest::valgrind_is_caller() and (x * block_size) > 15728640)
+ {
+ continue;
+ }
libtest::vchar_t workload;
libtest::vchar::make(workload, x * block_size);
@@ -1131,9 +1139,9 @@
static test_return_t gearman_worker_failover_test(void *)
{
- Worker worker;
+ Worker worker(libtest::default_port());
- test_compare(GEARMAN_SUCCESS, gearman_worker_add_server(&worker, NULL, libtest::default_port()));
+ // Now add a port which we do not have a server running on
test_compare(GEARMAN_SUCCESS, gearman_worker_add_server(&worker, NULL, libtest::default_port() +1));
char function_name[GEARMAN_FUNCTION_MAX_SIZE];
@@ -1157,11 +1165,10 @@
{
test_skip_valgrind(); // lp:961904
- Worker worker;
+ in_port_t known_server_port= libtest::default_port();
+ Worker worker(known_server_port);
- test_compare(GEARMAN_SUCCESS, gearman_worker_add_server(&worker, NULL, libtest::default_port()));
- in_port_t non_exist_server= libtest::default_port();
- test_compare(GEARMAN_SUCCESS, gearman_worker_add_server(&worker, NULL, non_exist_server));
+ test_compare(GEARMAN_SUCCESS, gearman_worker_add_server(&worker, NULL, known_server_port));
char function_name[GEARMAN_FUNCTION_MAX_SIZE];
snprintf(function_name, GEARMAN_FUNCTION_MAX_SIZE, "_%s%d", __func__, int(random()));
|
[-]
[+]
|
Changed |
gearmand-0.39.tar.bz2/tests/stress_worker.cc
^
|
@@ -116,7 +116,7 @@
pthread_setcanceltype(oldstate, NULL);
}
- static void *client_thread(void *object)
+ static __attribute__((noreturn)) void *client_thread(void *object)
{
client_thread_context_st *success= (client_thread_context_st *)object;
fatal_assert(success);
|