aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/hash_fd.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-12-31 03:43:02 +0000
committerlloyd <[email protected]>2009-12-31 03:43:02 +0000
commit811fed1957f284456e1455032f729e74c4fed458 (patch)
treea0cfed4f7ff52149db0ff091f8670351fadeea29 /doc/examples/hash_fd.cpp
parentcf6319e4e663f4214a0f9e1509087a58a181910f (diff)
Add copyright and license notes to pretty much every file that didn't have them,
including the examples and self-test code. Most of these files had not copyright/license information at all; since a major point of the examples is to allow users to copy and paste code that already does something they want, an ambigious license is not good.
Diffstat (limited to 'doc/examples/hash_fd.cpp')
-rw-r--r--doc/examples/hash_fd.cpp23
1 files changed, 11 insertions, 12 deletions
diff --git a/doc/examples/hash_fd.cpp b/doc/examples/hash_fd.cpp
index 82ca2c3b4..32acdbec3 100644
--- a/doc/examples/hash_fd.cpp
+++ b/doc/examples/hash_fd.cpp
@@ -1,18 +1,17 @@
/*
-Written by Jack Lloyd ([email protected]), on Prickle-Prickle,
-the 10th of Bureaucracy, 3167.
-
-This file is in the public domain
-
-This is just like the normal hash application, but uses the Unix I/O system
-calls instead of C++ iostreams. Previously, this version was much faster and
-smaller, but GCC 3.1's libstdc++ seems to have been improved enough that the
-difference is now fairly minimal.
+* (C) 2009 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
+*/
-Nicely enough, doing the change required changing only about 3 lines of code.
+/*
+This is just like the normal hash application, but uses the Unix I/O
+system calls instead of C++ iostreams. Previously, this version was
+much faster and smaller, but GCC 3.1's libstdc++ seems to have been
+improved enough that the difference is now fairly minimal.
-Note that this requires you to be on a machine running some sort of Unix. Well,
-I guess any POSIX.1 compliant OS (in theory).
+Nicely enough, doing the change required changing only about 3 lines
+of code.
*/
#include <iostream>