Yuansheng
8e18a995d8
make: avoided the warning message when do make.
...
change: code style, delete some useless spaces(visual code).
eg:
warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result
2019-06-21 10:45:54 +08:00
Michael Steinert
b3dbf75da5
Remove zmalloc dependency
...
Zmalloc comes from Redis. It's purpose is to track total allocations so
that a maximum can be set. For more information see the following links:
https://groups.google.com/forum/#!topic/redis-db/dPRdpowqJsY
https://stackoverflow.com/questions/22729730/when-would-one-use-malloc-over-zmalloc
This allocator is slower, not needed, and conflicts with Zlib (when
linking statically). This patch removes Zmalloc in favor of the system
allocator. Application developers can still choose to override the
allocator in their applications, e.g. Jemalloc, TCMalloc, etc.
Fixes #104
2018-07-10 08:20:46 -05:00
karantin2020
75438ef3d3
Changed r3 memory model, made few optimizing
2016-03-22 07:23:37 +05:00
c9s
3808cb37aa
Move debug macros to private header files
2015-11-17 21:24:36 +08:00
c9s
973a2cb85c
Move private functions to private header files
2015-11-17 21:17:35 +08:00
Ricky Su
f445c261c6
add r3_slug_find_name and rename slug_count to r3_slug_count
2015-08-26 22:00:23 +08:00
c9s
72f10015d5
Fix copyright email
2014-06-27 13:24:40 +08:00
c9s
4d68ae6841
remove const from errstr
2014-06-04 13:45:28 +08:00
c9s
a3c527e1b2
Add const fix
2014-06-03 23:42:40 +08:00
c9s
23cfbe167f
const fix
2014-06-03 22:20:54 +08:00
c9s
2aa3509845
Add more const
2014-06-03 22:15:59 +08:00
c9s
f95cce7407
fix header file include
2014-06-03 21:47:52 +08:00
c9s
ea7fa973cd
Add SAFE_FREE for char * errstr
2014-06-02 16:12:27 +08:00
c9s
7cc84867ce
let slug_count returns -1 if error occurs
2014-06-02 15:47:02 +08:00
c9s
9441f974de
test compile fail
2014-06-02 09:48:00 +08:00
c9s
fd1e5f7f50
Add r3_node_find_common_prefix test cases
2014-06-02 09:09:41 +08:00
c9s
20c6a84f7c
continue when escape
2014-06-02 07:10:31 +08:00
c9s
7597398c08
include config.h
2014-06-02 06:58:02 +08:00
c9s
17b4201197
more incomplete slug pattern tests
2014-06-02 06:38:50 +08:00
c9s
a6be7f5061
static inline
2014-06-02 06:32:30 +08:00
c9s
0eb9cad11c
r3_path_contains_slug_char function
2014-06-02 06:27:35 +08:00
c9s
7cfdfbb3f5
inline static
2014-06-02 06:01:42 +08:00
c9s
f9b7dd8522
fix prototype
2014-06-02 05:56:46 +08:00
c9s
00c364dacb
const
2014-06-02 05:55:45 +08:00
c9s
c801164c88
contains_slug_char declare
2014-06-02 05:53:39 +08:00
c9s
20e3f1a3ba
asprintf returns memory pointer which is from malloc() not zmalloc()
2014-06-02 05:48:27 +08:00
c9s
359d9df369
improve r3_slug_parse function
2014-06-02 05:02:37 +08:00
c9s
6dfd37d43d
move slug related functions to slug.c and slug.h
2014-06-02 04:52:41 +08:00