| > == Tarsnap == > How to write C. Study the "meta," that is, the choice of how the > codebase is structured and the ruthless attention to detail. Pay > attention to how functions are commented, both in the body of the > function and in the prototypes. I just had another look at the tarsnap source code, and while I know
Percival is a great guy, and I can't imagine him suing over "mis-use",
the bulk of the code is under a pretty restrictive lisence: "Redistribution and use in source and binary forms, without modification,
is permitted for the sole purpose of using the "tarsnap" backup service
provided by Colin Percival." That is, except the code under "libcperciva" which appears to be under a
traditional 2-clause BSD license. So, for example using the bsdtar.c file to teach yourself how to handle
command line arguments might be a bit dicey, as it's entirely unclear
which part of that file is under the BSD license, and which part you're
not allowed to distribute. It's one of the reasons why I'd which Percival made the entire thing
available under a dual license (eg: BSD) and simply required people to
use the official client for the tarsnap service. Then again, I'm not used to audit closed source software, and therefore
probably extra scared of what might happen if I accidentially learn
something from reading said source... ;-) On the other hand, Percival does publish quite a lot of stuff that's
[ed: entirely free], such as spiped https://www.tarsnap.com/spiped.html . |