aboutsummaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-04-13 11:27:40 +0300
committerLasse Collin <lasse.collin@tukaani.org>2009-04-13 11:27:40 +0300
commit02ddf09bc3079b3e17297729b9e43f14d407b8fc (patch)
tree4a3b92a91c5eacbd7ea6229dd02ffeae6688b02f /debug
parentFix off-by-one in LZ decoder. (diff)
downloadxz-02ddf09bc3079b3e17297729b9e43f14d407b8fc.tar.xz
Put the interesting parts of XZ Utils into the public domain.
Some minor documentation cleanups were made at the same time.
Diffstat (limited to 'debug')
-rw-r--r--debug/Makefile.am13
-rw-r--r--debug/crc32.c13
-rw-r--r--debug/full_flush.c13
-rw-r--r--debug/hex2bin.c7
-rw-r--r--debug/known_sizes.c13
-rw-r--r--debug/memusage.c13
-rw-r--r--debug/repeat.c13
-rw-r--r--debug/sync_flush.c13
8 files changed, 24 insertions, 74 deletions
diff --git a/debug/Makefile.am b/debug/Makefile.am
index 6ed5bc99..7d45671f 100644
--- a/debug/Makefile.am
+++ b/debug/Makefile.am
@@ -1,15 +1,8 @@
##
-## Copyright (C) 2008 Lasse Collin
+## Author: Lasse Collin
##
-## This library is free software; you can redistribute it and/or
-## modify it under the terms of the GNU Lesser General Public
-## License as published by the Free Software Foundation; either
-## version 2.1 of the License, or (at your option) any later version.
-##
-## This library is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-## Lesser General Public License for more details.
+## This file has been put into the public domain.
+## You can do whatever you want with this file.
##
noinst_PROGRAMS = \
diff --git a/debug/crc32.c b/debug/crc32.c
index 4052a863..0fe46511 100644
--- a/debug/crc32.c
+++ b/debug/crc32.c
@@ -3,17 +3,10 @@
/// \file crc32.c
/// \brief Primitive CRC32 calculation tool
//
-// Copyright (C) 2008 Lasse Collin
+// Author: Lasse Collin
//
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either
-// version 2.1 of the License, or (at your option) any later version.
-//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
+// This file has been put into the public domain.
+// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
diff --git a/debug/full_flush.c b/debug/full_flush.c
index 6b22898b..fe7a1a75 100644
--- a/debug/full_flush.c
+++ b/debug/full_flush.c
@@ -3,17 +3,10 @@
/// \file full_flush.c
/// \brief Encode files using LZMA_FULL_FLUSH
//
-// Copyright (C) 2008 Lasse Collin
+// Author: Lasse Collin
//
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either
-// version 2.1 of the License, or (at your option) any later version.
-//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
+// This file has been put into the public domain.
+// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
diff --git a/debug/hex2bin.c b/debug/hex2bin.c
index ebfc289f..73246244 100644
--- a/debug/hex2bin.c
+++ b/debug/hex2bin.c
@@ -3,11 +3,10 @@
/// \file hex2bin.c
/// \brief Converts hexadecimal input strings to binary
//
-// This code has been put into the public domain.
+// Author: Lasse Collin
//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// This file has been put into the public domain.
+// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
diff --git a/debug/known_sizes.c b/debug/known_sizes.c
index 643f8407..b1151bda 100644
--- a/debug/known_sizes.c
+++ b/debug/known_sizes.c
@@ -7,17 +7,10 @@
/// and/or Uncompressed Size values are stored in the Block Header.
/// As of writing there's no such Stream encoder in liblzma.
//
-// Copyright (C) 2008 Lasse Collin
+// Author: Lasse Collin
//
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either
-// version 2.1 of the License, or (at your option) any later version.
-//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
+// This file has been put into the public domain.
+// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
diff --git a/debug/memusage.c b/debug/memusage.c
index 15efe3d4..57ce3f19 100644
--- a/debug/memusage.c
+++ b/debug/memusage.c
@@ -2,18 +2,11 @@
//
/// \file memusage.c
/// \brief Calculates memory usage using lzma_memory_usage()
-///
-// Copyright (C) 2008 Lasse Collin
//
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either
-// version 2.1 of the License, or (at your option) any later version.
+// Author: Lasse Collin
//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
+// This file has been put into the public domain.
+// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
diff --git a/debug/repeat.c b/debug/repeat.c
index 849f7b76..a00bde2c 100644
--- a/debug/repeat.c
+++ b/debug/repeat.c
@@ -7,17 +7,10 @@
/// the Subblock filter, especially the condition when repeat count
/// doesn't fit into 28-bit integer.
//
-// Copyright (C) 2008 Lasse Collin
+// Author: Lasse Collin
//
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either
-// version 2.1 of the License, or (at your option) any later version.
-//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
+// This file has been put into the public domain.
+// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
diff --git a/debug/sync_flush.c b/debug/sync_flush.c
index 076fb7e7..b5f25bfd 100644
--- a/debug/sync_flush.c
+++ b/debug/sync_flush.c
@@ -3,17 +3,10 @@
/// \file sync_flush.c
/// \brief Encode files using LZMA_SYNC_FLUSH
//
-// Copyright (C) 2008 Lasse Collin
+// Author: Lasse Collin
//
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either
-// version 2.1 of the License, or (at your option) any later version.
-//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
+// This file has been put into the public domain.
+// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////