1. 21 Nov, 2012 2 commits
  2. 20 Nov, 2012 1 commit
  3. 19 Nov, 2012 6 commits
  4. 18 Nov, 2012 5 commits
  5. 15 Nov, 2012 3 commits
  6. 12 Nov, 2012 12 commits
  7. 11 Nov, 2012 1 commit
  8. 01 Nov, 2012 2 commits
    • Rusty Russell's avatar
      hash: switch to CC0 license. · 6585f22b
      Rusty Russell authored
      As per email from Andreas (the only other contributor):
      From: Andreas Schlick <schlick@lavabit.com>
      Subject: Re: Changing from Public Domain to CC0
      To: Rusty Russell <rusty@rustcorp.com.au>
      Date: Thu, 01 Nov 2012 12:51:47 +0100
      
      Hi!
      
      > Since Public Domain is a slippery concept outside certain countries,
      > it has been suggested that I formalize it to Creative Commons Zero.
      >
      > I want to change the License string (and add a symlink) to the
      > following trivial modules.  Please Ack.
      
      Sure, ack.
      
       Andreas
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      6585f22b
    • Rusty Russell's avatar
      Relicense all public domain modules to CC0. · 516c4779
      Rusty Russell authored
      I wrote all of most of them, for the others, here's the CCAN mailing
      list thread authorizing it:
      
      From: Timothy B. Terriberry <tterribe@xiph.org>
      Subject: Re: [ccan] Changing from Public Domain to CC0
      To: Rusty Russell <rusty@rustcorp.com.au>
      Cc: ccan@ozlabs.org
      Date: Wed, 31 Oct 2012 02:53:50 -0400
      
      Rusty Russell <rusty@rustcorp.com.au> wrote:
      
      > I want to change the License string (and add a symlink) to the following
      > trivial modules.  Please Ack.
      
      > isaac
      
      Ack.
      
      From: Alessandro Guido <ag@alessandroguido.name>
      Subject: Re: Changing from Public Domain to CC0
      To: Rusty Russell <rusty@rustcorp.com.au>
      Date: Wed, 31 Oct 2012 10:59:53 +0100
      Acked-by: default avatarAlessandro Guido <ag@alessandroguido.name>
      
      From: Brad Hards <bradh@frogmouth.net>
      Subject: Re: Changing from Public Domain to CC0
      To: Rusty Russell <rusty@rustcorp.com.au>
      Cc: Joey Adams <joeyadams3.14159@gmail.com>, Alessandro Guido <ag@alessandroguido.name>, Andreas Schlick <schlick@lavabit.com>, ccan@ozlabs.org
      Date: Wed, 31 Oct 2012 23:43:24 +1100
      
      On 31/10/12 17:43, Rusty Russell wrote:
      > Damn lawyers!
      >
      > Since Public Domain is a slippery concept outside certain countries, it
      > has been suggested that I formalize it to Creative Commons Zero.
      >
      > I want to change the License string (and add a symlink) to the following
      > trivial modules.  Please Ack.
      
      Ack.
      
      More generally, anything I've put into CCAN is so trivial that you can
      relicense it (to any Free / Open Source license) as part of any
      relicensing you can otherwise get agreement to.
      
      Brad
      
      [Sorry if this comes out in HTML - I'm stuck with unsat tools while
      travelling].
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      516c4779
  9. 31 Oct, 2012 8 commits
    • Rusty Russell's avatar
      tlist: remove unused var warning in example. · 919b97d6
      Rusty Russell authored
      Compiler:
      /home/rusty/devel/cvs/ccan/ccan/tlist/tlist.h: In function ‘main’:
      /home/rusty/devel/cvs/ccan/ccan/tlist/tlist.h:186:15: warning: variable ‘first’ set but not used [-Wunused-but-set-variable]
      
      Compiler:
      /home/rusty/devel/cvs/ccan/ccan/tlist/tlist.h: In function ‘main’:
      /home/rusty/devel/cvs/ccan/ccan/tlist/tlist.h:205:15: warning: variable ‘last’ set but not used [-Wunused-but-set-variable]
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      919b97d6
    • Rusty Russell's avatar
      time: remove unused var warning in example. · 70843363
      Rusty Russell authored
      Compiler:
      /home/rusty/devel/cvs/ccan/ccan/time/time.h: In function ‘main’:
      /home/rusty/devel/cvs/ccan/ccan/time/time.h:334:16: warning: variable ‘tv’ set but not used [-Wunused-but-set-variable]
      
      Compiler:
      /home/rusty/devel/cvs/ccan/ccan/time/time.h: In function ‘main’:
      /home/rusty/devel/cvs/ccan/ccan/time/time.h:353:17: warning: variable ‘ts’ set but not used [-Wunused-but-set-variable]
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      70843363
    • Rusty Russell's avatar
      talloc: remove const warning in _info example. · 07a9a950
      Rusty Russell authored
      Compiler:
      /home/rusty/devel/cvs/ccan/ccan/talloc/_info: In function ‘main’:
      /home/rusty/devel/cvs/ccan/ccan/talloc/_info:84:9: warning: passing argument 2 of ‘open_output_cmd’ discards ‘const’ qualifier from pointer target type [enabled by default]
      /home/rusty/devel/cvs/ccan/ccan/talloc/_info:52:24: note: expected ‘char *’ but argument is of type ‘const char *’
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      07a9a950
    • Rusty Russell's avatar
      list: fix unused var warning. · f98c408e
      Rusty Russell authored
      /home/rusty/devel/cvs/ccan/ccan/list/list.h: In function ‘main’:
      /home/rusty/devel/cvs/ccan/ccan/list/list.h:280:15: warning: variable ‘first’ set but not used [-Wunused-but-set-variable]
      
      /home/rusty/devel/cvs/ccan/ccan/list/list.h: In function ‘main’:
      /home/rusty/devel/cvs/ccan/ccan/list/list.h:304:15: warning: variable ‘last’ set but not used [-Wunused-but-set-variable]
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      f98c408e
    • Rusty Russell's avatar
      lbalance: fix unused var warning. · 3b4e940a
      Rusty Russell authored
      /home/rusty/devel/cvs/ccan/ccan/lbalance/lbalance.c:Compiling object files gave warnings:
      /home/rusty/devel/cvs/ccan/ccan/lbalance/lbalance.c: In function ‘best_target’:
      /home/rusty/devel/cvs/ccan/ccan/lbalance/lbalance.c:245:18: warning: variable ‘best’ set but not used [-Wunused-but-set-variable]
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      3b4e940a
    • Rusty Russell's avatar
      foreach: remove unused var warning. · 016dcb80
      Rusty Russell authored
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      016dcb80
    • Rusty Russell's avatar
      crcsync: fix memory leak in tests. · bd9ff087
      Rusty Russell authored
      /home/rusty/devel/cvs/ccan/ccan/crcsync/test/run-crash.c:==6923== 112 bytes in 1 blocks are definitely lost in loss record 2 of 3
      ==6923==    at 0x402BA7A: malloc (vg_replace_malloc.c:261)
      ==6923==    by 0x80492EE: crcblocks (run-crash.c:20)
      ==6923==    by 0x8049448: main (run-crash.c:62)
      ==6923== 2,217 (2,212 direct, 5 indirect) bytes in 1 blocks are definitely lost in loss record 3 of 3
      ==6923==    at 0x402BA7A: malloc (vg_replace_malloc.c:261)
      ==6923==    by 0x8048AA0: crc_context_new (crcsync.c:85)
      ==6923==    by 0x8049476: main (run-crash.c:64)
      
      /home/rusty/devel/cvs/ccan/ccan/crcsync/test/run.c:==11793== 512 bytes in 1 blocks are definitely lost in loss record 1 of 2
      ==11793==    at 0x402A52B: calloc (vg_replace_malloc.c:462)
      ==11793==    by 0x8049A3F: main (run.c:128)
      ==11793== 512 bytes in 1 blocks are definitely lost in loss record 2 of 2
      ==11793==    at 0x402A52B: calloc (vg_replace_malloc.c:462)
      ==11793==    by 0x8049A57: main (run.c:129)
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      bd9ff087
    • Rusty Russell's avatar
      crcsync: fix constness warning. · b94efb33
      Rusty Russell authored
      /home/rusty/devel/cvs/ccan/ccan/crcsync/test/run-crash.c:Compile gave warnings:
      /home/rusty/devel/cvs/ccan/ccan/crcsync/test/run-crash.c: In function ‘main’:
      /home/rusty/devel/cvs/ccan/ccan/crcsync/test/run-crash.c:30:3: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default]
      /home/rusty/devel/cvs/ccan/ccan/crcsync/test/run-crash.c:35:3: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default]
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      b94efb33