search for: 7adb9d5

Displaying 4 results from an estimated 4 matches for "7adb9d5".

2014 Jan 10
0
[PATCH 4/7] python: Add test for "special" keys and values
--- python/t/130-special.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 python/t/130-special.py diff --git a/python/t/130-special.py b/python/t/130-special.py new file mode 100755 index 0000000..7adb9d5 --- /dev/null +++ b/python/t/130-special.py @@ -0,0 +1,28 @@ +# coding: utf-8 + +import os +import hivex + +srcdir = os.environ["srcdir"] +if not srcdir: + srcdir = "." + +h = hivex.Hivex ("%s/../images/special" % srcdir) +assert h + +root = h.root () +assert root +...
2014 Jan 15
0
[PATCH 2/4] hivex: python: Fix encoding for "special" test script
Hopefully. Python's unicode history is a mess. --- python/t/130-special.py | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/python/t/130-special.py b/python/t/130-special.py index 7adb9d5..f0ac008 100755 --- a/python/t/130-special.py +++ b/python/t/130-special.py @@ -1,4 +1,13 @@ # coding: utf-8 +# http://stackoverflow.com/questions/6625782/unicode-literals-that-work-in-python-3-and-2 +import sys +if sys.version < '3': + import codecs + def u(x): + return co...
2014 Jan 15
4
[PATCH 1/4] hivex: Python 2.6 does not have sysconfig.
--- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 6785037..203f34f 100644 --- a/configure.ac +++ b/configure.ac @@ -329,8 +329,8 @@ AS_IF([test "x$enable_python" != "xno"], AC_MSG_CHECKING([for Python extension suffix (PEP-3149)]) if test -z "$PYTHON_EXT_SUFFIX"; then
2014 Jan 10
14
[PATCH 1/7] Add a minimal hive with "special" keys and values
--- images/README | 14 ++++++++++++ images/mkzero/Makefile | 9 ++++++++ images/mkzero/mkzero.c | 59 +++++++++++++++++++++++++++++++++++++++++++++++++ images/special | Bin 0 -> 8192 bytes 4 files changed, 82 insertions(+) create mode 100644 images/mkzero/Makefile create mode 100644 images/mkzero/mkzero.c create mode 100644 images/special diff --git a/images/README