valgrind:
cd tests; make valgrind; cd ..
-valgrind-extended:
- cd tests; make valgrind-extended; cd ..
-
-
rpm: all dist
cp libmemcached-$(VERSION).tar.gz /home/brian/rpmbuild/SOURCES/
rpmbuild -ba support/libmemcached.spec
If you are getting this code from http://hg.tangent.org/libmemcached then
continue reading. Otherwise these directions are not for you (well maybe...).
-To obtain code from http://hg.tangent.org/libmemached you will need to issue
+To obtain code from http://hg.tangent.org/libmemcached you will need to issue
the following command:
hg clone http://hg.tangent.org/libmemcached
#include <sys/select.h>
#include <poll.h>
-int io_wait(memcached_st *ptr, unsigned int server_key, unsigned read_or_write)
+static int io_wait(memcached_st *ptr, unsigned int server_key, unsigned read_or_write)
{
struct pollfd fds[1];
short flags= 0;
valgrind:
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes testapp
-
-valgrind-extended:
- libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes testapp extended
{0, 0, 0, 0}
};
- /*
- unsigned int next;
- for (next= 0; collection[next].name; next++)
-*/
collection_st *next;
for (next= collection; next->name; next++)
{