Skip to contentSkip to conversation

CCAN update for 2015-09

DISCUSSION Rusty Russell 1 participant 1 message Oct 1, 2015

lore
Share & tools
lore
#0 lore raw

Hi fellow CCANnibals!

Some tools work this month; makes me wonder how many people have
ever read the ccanlint man page? I think it was Lana Brindley who promised me that writing bad documentation was a great way to get others to fix it. "man -l doc/ccanlint.1" in the ccan repo, or read the source:
https://github.com/rustyrussell/ccan/blob/master/doc/ccanlint.1.txt

Module of the Month: mem (CC0)
==============================

All kinds of routines which didn't make stdlib, such as simple clarity increasers like memeq(a,alen,b,blen), memeqstr(a,alen,str) and memoverlaps(a,alen,b,blen). There's also memswap(a,b,len) and mempbrkm(a,alen,b,blen) which looks for any of "b" chars in "a". There's also the pass-through memcheck(a,alen) which checks the memory is defined if running under valgrind.

New modules:
============
strgrp - group/cluster similar strings. (thanks Andrew Jeffery) permutation - Generate permutations of arrays (thanks David Gibson)

Minor updates & bugfixes:
========================
mem: many new routines (thanks Cody Schafer, David Gibson)

Tools updates:
=============
configurator: enhancements to detect OpenMP (thanks Andrew Jeffery) _info: can now specify additional cflags (thanks Andrew Jeffery)
ccanlint: better handling of "// given" example tests.

Cheers,
Rusty.
_______________________________________________
ccan mailing list
[email protected]
https://lists.ozlabs.org/listinfo/ccan