hirlite 0.0.1 → 0.0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YmNjMGQ3Njg2NTFjYWM5Njk4ODI5MDA2ZjA4MDFiZmZjNDU5ZWMyYw==
4
+ Mjg5M2ZhMTFkYjUyODY3ZTUwMjRiNjBjMmExYmU1MTk5ZTlkMTA2MQ==
5
5
  data.tar.gz: !binary |-
6
- ZGE1OGU5OTdlNmIzMmZhMWMzNDI1ZjhjZDg1MjJlODUwOGIzZDQwZA==
6
+ YmI2MTI3NDBlY2QyYmE2YjhiN2M5NGNiZjBmNWNhOGQ2NmVjNzY4Yw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- M2MwNTM5NWEzMTZkYjMwMTk4ZWFhMDIzZWE5ZjUwNTM0MGQwZDBjMzk3NjJj
10
- NWVhZDkwZmJjMTA3NWJiYTVkNDExNjM4YTIwNDU3YjRkMDE5Nzc5Njg5ZTg3
11
- MzE1M2E1ZDc0NzI1N2Y5N2ZlMGViYzQ1NGYwYTJjMjBkY2FhOWE=
9
+ ZmM0Zjg1M2IzNGUyMjdmMzA3Y2VkZmM4MjhkMmIxNzQxZjlkMDYzNjhlMDNl
10
+ ODliNTUwYzE3YTg0ZWMxZTY0ZDk2MWM0ODZlMzhhZTBiN2JlNjU2MTExMGE5
11
+ NjhhMDAxMTQxZGNiNmExYmZjZmI0NGJlNDAxYjE3NjE1ZTY2NGI=
12
12
  data.tar.gz: !binary |-
13
- MjkwYTFhMzM2MjRiMzMyMDA2Y2UwOGU4MjZkZGQ5MDgwMGRjMzVhNmQ0NGQw
14
- NWMxNWRjODYyOTBlNWE1ZTgzYTFlYjE3ZDRjNTBiMDE2NmM5YzVlYWMzMWE0
15
- YjMxYzBkZjFjZGNiMjA3NzEzZmZiZDM4ZmY0ODgyZjc1NzA1MmY=
13
+ MWQ0MTlkYjc4ODU3OTNmMWIxYTM2ZmJkNGUyNDllY2QwZDEyZjQ5OTBlNWQ3
14
+ NWJkMTRmODFkOGMzYTk1M2Y1NDA3MTA0ZmU5MmQ0NDY0OGU5ZmVkMmEzOWRk
15
+ NDFjYzZmODk3YjIzYWI4ZTZmZDRkYzU5ZDZiNmZiZDk2NzU2YjA=
@@ -1,3 +1,3 @@
1
1
  module Hirlite
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.1.1"
3
3
  end
@@ -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
 
@@ -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},
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hirlite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Waisbrot