<br><br><div><span class="gmail_quote">On 9/4/06, <b class="gmail_sendername">Brad Fitzpatrick</b> <<a href="mailto:brad@danga.com">brad@danga.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
FreeBSD / Solaris users,<br><br>Could you try this one?<br><br> <a href="http://danga.com/memcached/dist/experimental/memcached-1.2.x-svn362.tar.gz">http://danga.com/memcached/dist/experimental/memcached-1.2.x-svn362.tar.gz
</a><br><br>It now builds quietly on OS X and passes all tests:<br><br>$ prove test<br>test/00-startup.........ok<br>test/64bit..............skipped<br> all skipped: Skipping 64-bit tests on 32-bit build<br>test/binary-get.........skipped
<br> all skipped: Tests not written.<br>test/bogus-commands.....ok<br>test/daemonize..........ok<br>test/delete-window......ok 14/20# waiting 5 seconds for the deleter event...<br>test/delete-window......ok<br>test/expirations........ok
<br>test/flags..............ok<br>test/flush-all..........ok<br> 2/11 skipped: flush_all is still only second-granularity. need atomic counter on flush_all.<br>test/getset.............ok<br>test/incrdecr...........ok
<br>test/lru................skipped<br> all skipped: Tests not written.<br>test/managed-buckets....skipped<br> all skipped: Tests not written.<br>test/multiversioning....ok<br>test/slab-reassign......skipped
<br> all skipped: Tests not written.<br>test/stats..............skipped<br> all skipped: Tests not written.<br>test/udp................skipped<br> all skipped: Tests not written.<br>test/unixsocket.........skipped
<br> all skipped: Tests not written.<br>All tests successful, 8 tests and 2 subtests skipped.<br>Files=18, Tests=94, 31 wallclock secs (11.30 cusr + 4.08 csys = 15.38 CPU)<br><br><br>So I imagine it was the same issue (below) for FreeBSD, etc. Let me know.
</blockquote><div><br><br>looks good on FreeBSD sparc64<br><br>All tests successful, 7 tests and 2 subtests skipped.<br>Files=18, Tests=100, 18 wallclock secs ( 3.71 cusr + 1.11 csys = 3.82 CPU)<br><br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
- Brad<br><br><br>---------- Forwarded message ----------<br>Date: Tue, 5 Sep 2006 01:41:43 +0000 (UTC)<br>From: <a href="mailto:commits@code.sixapart.com">commits@code.sixapart.com</a><br>To: <a href="mailto:memcached-commits@lists.danga.com">
memcached-commits@lists.danga.com</a>, <a href="mailto:cvs-commits@livejournal.com">cvs-commits@livejournal.com</a><br>Subject: [memcached] bradfitz,<br> r362: the old unixsocket check didn't work on ...<br><br>the old unixsocket check didn't work on OS X or other BSDs or Solaris... making it more explicit.
<br><br>U trunk/server/memcached.c<br><br><br>Modified: trunk/server/memcached.c<br>===================================================================<br>--- trunk/server/memcached.c 2006-09-05 00:22:48 UTC (rev 361)
<br>+++ trunk/server/memcached.c 2006-09-05 01:41:43 UTC (rev 362)<br>@@ -1296,7 +1296,7 @@<br> /* unix socket mode doesn't need this, so zeroed out. but why<br> * is this done for every command? presumably for UDP
<br> * mode. */<br>- if (c->request_addr.sa_family != AF_UNSPEC) {<br>+ if (!settings.socketpath) {<br> c->request_addr_size = sizeof(c->request_addr);<br> } else {<br>
c->request_addr_size = 0;<br><br><br></blockquote></div><br>