hirlite 0.0.1 → 0.0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/hirlite/version.rb +1 -1
- data/vendor/rlite/src/Makefile +2 -2
- data/vendor/rlite/src/hirlite.c +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Mjg5M2ZhMTFkYjUyODY3ZTUwMjRiNjBjMmExYmU1MTk5ZTlkMTA2MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YmI2MTI3NDBlY2QyYmE2YjhiN2M5NGNiZjBmNWNhOGQ2NmVjNzY4Yw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZmM0Zjg1M2IzNGUyMjdmMzA3Y2VkZmM4MjhkMmIxNzQxZjlkMDYzNjhlMDNl
|
10
|
+
ODliNTUwYzE3YTg0ZWMxZTY0ZDk2MWM0ODZlMzhhZTBiN2JlNjU2MTExMGE5
|
11
|
+
NjhhMDAxMTQxZGNiNmExYmZjZmI0NGJlNDAxYjE3NjE1ZTY2NGI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MWQ0MTlkYjc4ODU3OTNmMWIxYTM2ZmJkNGUyNDllY2QwZDEyZjQ5OTBlNWQ3
|
14
|
+
NWJkMTRmODFkOGMzYTk1M2Y1NDA3MTA0ZmU5MmQ0NDY0OGU5ZmVkMmEzOWRk
|
15
|
+
NDFjYzZmODk3YjIzYWI4ZTZmZDRkYzU5ZDZiNmZiZDk2NzU2YjA=
|
data/lib/hirlite/version.rb
CHANGED
data/vendor/rlite/src/Makefile
CHANGED
@@ -2,10 +2,10 @@ OPTIMIZATION?=-O2
|
|
2
2
|
|
3
3
|
ifeq ($(uname_S),SunOS)
|
4
4
|
# make isinf() available
|
5
|
-
CFLAGS?= -pedantic $(OPTIMIZATION) -Wall -W -D__EXTENSIONS__ -D_XPG6
|
5
|
+
CFLAGS?= -pedantic $(OPTIMIZATION) -Wall -W -D__EXTENSIONS__ -D_XPG6 -fPIC
|
6
6
|
DEBUG?=-g -ggdb
|
7
7
|
else
|
8
|
-
CFLAGS?= -pedantic $(OPTIMIZATION) -Wall -W $(ARCH) $(PROF)
|
8
|
+
CFLAGS?= -pedantic $(OPTIMIZATION) -Wall -W $(ARCH) $(PROF) -fPIC
|
9
9
|
DEBUG?=-g -ggdb
|
10
10
|
endif
|
11
11
|
|
data/vendor/rlite/src/hirlite.c
CHANGED
@@ -589,6 +589,7 @@ static rliteContext *_rliteConnect(const char *path) {
|
|
589
589
|
context = NULL;
|
590
590
|
goto cleanup;
|
591
591
|
}
|
592
|
+
context->err = 0;
|
592
593
|
context->writeCommand = NULL;
|
593
594
|
context->replyPosition = 0;
|
594
595
|
context->replyLength = 0;
|
@@ -3798,7 +3799,7 @@ cleanup:
|
|
3798
3799
|
free(getvlen);
|
3799
3800
|
}
|
3800
3801
|
|
3801
|
-
struct rliteCommand rliteCommandTable[] = {
|
3802
|
+
static struct rliteCommand rliteCommandTable[] = {
|
3802
3803
|
{"get",getCommand,2,"rF",0,1,1,1,0,0},
|
3803
3804
|
{"set",setCommand,-3,"wm",0,1,1,1,0,0},
|
3804
3805
|
{"setnx",setnxCommand,3,"wmF",0,1,1,1,0,0},
|