Comment #10 on issue 99 by mrd000: Memcached 1.4.2 server segmentation fault
http://code.google.com/p/memcached/issues/detail?id=99

Hi, Rituel.

To apply the patch you need to copy it into a file. Lets say you called it memcached-issue99-suggested-patch Copy everything exactly from the first line (*** memcached-1.4.0/memcached.c Thu Jul 9 13:16:24 2009) to the last (short which; /** which events were just triggered */
).

Put that file into a directory with unpacked memcached source and run:

patch -p1 <memcached-issue99-suggested-patch

It should show you something like that:

patching file memcached.c
Hunk #1 succeeded at 331 (offset 2 lines).
Hunk #2 succeeded at 3303 (offset 274 lines).
patching file memcached.h
Hunk #1 succeeded at 335 (offset 19 lines).

After that you can do like always
./configure <YOUR OPTIONS HERE>
make
make install


Reply via email to