Check-in [e2162fef3b]

Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
SHA1 Hash:e2162fef3b48f9a7e83cc2577d13a7ad79030c8c
Date: 2009-06-15 20:57:23
User: stephan
Comment:added license header (dual Public Domain/MIT) in prep for eventual (possible) move to Google Code
Tags And Properties
Changes
hide diffs unified diffs patch

Changes to Makefile

Old (503ba207af9f58c4) New (63449b5e5c614cd8)
1 #!/usr/bin/make -f 1 #!/usr/bin/make -f
2 # Requires GNU Make 3.80+! 2 # Requires GNU Make 3.80+!
3 default: libs-only 3 default: libs-only
4 default: all 4 default: all
5 5
172 hidden lines
178 AMALGAMATION.HEADERS := \ 178 AMALGAMATION.HEADERS := \
179 $(WHIO_HEADERS) \ 179 $(WHIO_HEADERS) \
180 whglob.h \ 180 whglob.h \
181 whbits.h \ 181 whbits.h \
182 whdbg.h \ 182 whdbg.h \
> 183 whefs_license.h \
183 whefs_config.h \ 184 whefs_config.h \
184 whefs.h \ 185 whefs.h \
185 whefs_hash.h \ 186 whefs_hash.h \
186 whefs_string.h \ 187 whefs_string.h \
187 whefs_encode.h \ 188 whefs_encode.h \
241 hidden lines
429 none: 430 none:
430 431
431 my.whefs: whefs-mkfs-for-files.sh whefs-mkfs whefs-ls whefs-cp $(wildcard *.c *.h) $(PACKAGE.MAKEFILE) 432 my.whefs: whefs-mkfs-for-files.sh whefs-mkfs whefs-ls whefs-cp $(wildcard *.c *.h) $(PACKAGE.MAKEFILE)
432 bash ./whefs-mkfs-for-files.sh $@ *.c *.h </dev/null 433 bash ./whefs-mkfs-for-files.sh $@ *.c *.h </dev/null
433 CLEAN_FILES += my.whefs 434 CLEAN_FILES += my.whefs

Changes to whefs_config.h

Old (99dc3053631fc38e) New (568a5a27af15c99b)
1 #if !defined(WANDERINGHORSE_NET_WHEFS_CONFIG_H_INCLUDED) 1 #if !defined(WANDERINGHORSE_NET_WHEFS_CONFIG_H_INCLUDED)
2 #define WANDERINGHORSE_NET_WHEFS_CONFIG_H_INCLUDED 2 #define WANDERINGHORSE_NET_WHEFS_CONFIG_H_INCLUDED
3 3
4 /* 4 /*
5 This file contains the compile-time-configurable parts of 5 This file contains the compile-time-configurable parts of
24 hidden lines
30 */ 30 */
31 # define __STDC_FORMAT_MACROS 1 31 # define __STDC_FORMAT_MACROS 1
32 #endif 32 #endif
33 #include <stdint.h> 33 #include <stdint.h>
34 #include <inttypes.h> 34 #include <inttypes.h>
> 35 #include "whefs_license.h"
35 36
36 #ifdef __cplusplus 37 #ifdef __cplusplus
37 extern "C" { 38 extern "C" {
38 #endif 39 #endif
39 40
275 hidden lines
315 malloc() and free() with the cache turned off, but they are likely 316 malloc() and free() with the cache turned off, but they are likely
316 to not hold as much memory open at one time compared to the cache. 317 to not hold as much memory open at one time compared to the cache.
317 318
318 FIXME: make this runtime-togglable. 319 FIXME: make this runtime-togglable.
319 */ 320 */
320 #define WHEFS_CONFIG_ENABLE_STRINGS_CACHE 0 | 321 #define WHEFS_CONFIG_ENABLE_STRINGS_CACHE 1
321 322
322 #ifdef __cplusplus 323 #ifdef __cplusplus
323 } /* extern "C" */ 324 } /* extern "C" */
324 #endif 325 #endif
325 326
326 327
327 #endif /* WANDERINGHORSE_NET_WHEFS_CONFIG_H_INCLUDED */ 328 #endif /* WANDERINGHORSE_NET_WHEFS_CONFIG_H_INCLUDED */

Added whefs_license.h

Old () New (fc4adeb14e73676e)
> 1 #ifndef WANDERINGHORSE_NET_WHEFS_LICENSE_H_INCLUDED
> 2 #define WANDERINGHORSE_NET_WHEFS_LICENSE_H_INCLUDED
> 3 /**
> 4 This is the license text for the libwhefs source code.
> 5
> 6 Author: Stephan Beal (http://wanderinghorse.net/home/stephan/)
> 7
> 8 The core library is released into the Public Domain by its author,
> 9 Stephan Beal, who disclaims all copyright claims to it. If,
> 10 however, this code is used in a jurisdiction which does not
> 11 recognize Public Domain property then this code must be used under
> 12 the terms of the MIT license, as described clearly and concisely
> 13 at:
> 14
> 15 http://en.wikipedia.org/wiki/MIT_License
> 16
> 17 and reproduced in full here:
> 18
> 19 ========================================================================
> 20 Copyright (c) 2008, 2009 Stephan Beal (http://wanderinghorse.net/home/stephan/)
> 21
> 22 Permission is hereby granted, free of charge, to any person
> 23 obtaining a copy of this software and associated documentation
> 24 files (the "Software"), to deal in the Software without
> 25 restriction, including without limitation the rights to use, copy,
> 26 modify, merge, publish, distribute, sublicense, and/or sell copies
> 27 of the Software, and to permit persons to whom the Software is
> 28 furnished to do so, subject to the following conditions:
> 29
> 30 The above copyright notice and this permission notice shall be
> 31 included in all copies or substantial portions of the Software.
> 32
> 33 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> 34 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> 35 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> 36 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
> 37 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
> 38 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
> 39 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> 40 SOFTWARE.
> 41 ========================================================================
> 42 (END LICENSE TEXT)
> 43
> 44 The MIT license is compatible with both the GPL and commercial
> 45 software, affording one all of the rights of Public Domain with the
> 46 minor nuisance of being required to keep the above copyright notice
> 47 in the source code.
> 48 */
> 49
> 50 #endif /* WANDERINGHORSE_NET_WHEFS_LICENSE_H_INCLUDED */