From: zooko Date: Fri, 18 Jan 2008 14:51:45 +0000 (+0530) Subject: doc: TODO, copyright, version number regex, etc. X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/flags/%22news.html/index.php?a=commitdiff_plain;h=93757814370236a939ddb825de539acc77f3db88;p=tahoe-lafs%2Fzfec.git doc: TODO, copyright, version number regex, etc. darcs-hash:55926cf15daba95484943746445f28e25cad9910 --- diff --git a/zfec/TODO b/zfec/TODO index bad1951..b76b8b1 100644 --- a/zfec/TODO +++ b/zfec/TODO @@ -8,7 +8,8 @@ * Jerasure ** try multiplication without a lookup table? (to save cache pressure) * conditional compilation to handle a printf that doesn't understand %Zu - * try malloc() instead of alloca() (more portable, possibly better for keeping stacks aligned) + * try malloc() instead of alloca() (more portable, possibly better for keeping stacks aligned?) * announce on lwn, p2p-hackers - + + * streaming mode diff --git a/zfec/setup.py b/zfec/setup.py index b231b1a..26acf6e 100755 --- a/zfec/setup.py +++ b/zfec/setup.py @@ -81,13 +81,13 @@ except Exception, le: pass VERSIONFILE = "zfec/_version.py" verstr = "unknown" -VSRE = re.compile("^verstr = ['\"]([^'\"]*)['\"]", re.M) try: verstrline = open(VERSIONFILE, "rt").read() except EnvironmentError: pass # Okay, there is no version file. else: - mo = VSRE.search(verstrline) + VSRE = r"^verstr = ['\"]([^'\"]*)['\"]" + mo = re.search(VSRE, verstrline, re.M) if mo: verstr = mo.group(1) else: diff --git a/zfec/zfec/_fecmodule.c b/zfec/zfec/_fecmodule.c index f0d8d6d..e999bad 100644 --- a/zfec/zfec/_fecmodule.c +++ b/zfec/zfec/_fecmodule.c @@ -617,19 +617,7 @@ init_fec(void) { PyDict_SetItemString(module_dict, "Error", py_fec_error); } -/** - * zfec -- fast forward error correction library with Python interface - * - * Copyright (C) 2007 Allmydata, Inc. - * Author: Zooko Wilcox-O'Hearn - * - * This file is part of zfec. - * - * See README.txt for licensing information. - */ - /** * originally inspired by fecmodule.c by the Mnet Project, especially Myers * Carpenter and Hauke Johannknecht */ - diff --git a/zfec/zfec/test/test_zfec.py b/zfec/zfec/test/test_zfec.py index 1143cfc..fbb630e 100755 --- a/zfec/zfec/test/test_zfec.py +++ b/zfec/zfec/test/test_zfec.py @@ -294,12 +294,3 @@ class Cmdline(unittest.TestCase): if __name__ == "__main__": unittest.main() - -# zfec -- fast forward error correction library with Python interface -# -# Copyright (C) 2007 Allmydata, Inc. -# Author: Zooko Wilcox-O'Hearn -# -# This file is part of zfec. -# -# See README.txt for licensing information.