I see README

Compile with:

cc -I ../../src/ rehashing.c ../../src/zmalloc.c ../../src/dict.c -o rehashing_test

but failed

1: redis.h file not exists 2: dictht struct not exists

cc -I ../../src/ rehashing.c ../../src/zmalloc.c ../../src/dict.c -o rehashing_test rehashing.c:1:10: fatal error: redis.h: No such file or directory #include "redis.h" ^~~~~~~~~ compilation terminated.

Comment From: enjoy-binbin

Yes, this code is a bit out of date... note redis.h is not longer exists (rename to sever.h) and there may be other problems, it has been too long and there are a lot of major changes in redis

Comment From: madolson

Yes, this seems like a very old version of Redis, please check out a more recent version and try compiling again.

Comment From: enjoy-binbin

@madolson i suppose we can just remove the file, it is really outdated and i guessing no one will use it now

Comment From: madolson

@enjoy-binbin Sure, want to delete it?