aboutsummaryrefslogtreecommitdiff
path: root/src/xz
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 /src/xz
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 'src/xz')
-rw-r--r--src/xz/Makefile.am13
-rw-r--r--src/xz/args.c13
-rw-r--r--src/xz/args.h13
-rw-r--r--src/xz/hardware.c13
-rw-r--r--src/xz/hardware.h13
-rw-r--r--src/xz/io.c13
-rw-r--r--src/xz/io.h13
-rw-r--r--src/xz/list.c13
-rw-r--r--src/xz/main.c13
-rw-r--r--src/xz/main.h13
-rw-r--r--src/xz/message.c13
-rw-r--r--src/xz/message.h13
-rw-r--r--src/xz/options.c13
-rw-r--r--src/xz/options.h13
-rw-r--r--src/xz/private.h13
-rw-r--r--src/xz/process.c13
-rw-r--r--src/xz/process.h13
-rw-r--r--src/xz/signals.c13
-rw-r--r--src/xz/signals.h13
-rw-r--r--src/xz/suffix.c13
-rw-r--r--src/xz/suffix.h13
-rw-r--r--src/xz/util.c13
-rw-r--r--src/xz/util.h13
23 files changed, 69 insertions, 230 deletions
diff --git a/src/xz/Makefile.am b/src/xz/Makefile.am
index 02dd8357..63d58728 100644
--- a/src/xz/Makefile.am
+++ b/src/xz/Makefile.am
@@ -1,15 +1,8 @@
##
-## Copyright (C) 2007 Lasse Collin
+## Author: Lasse Collin
##
-## This program 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 program 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.
##
bin_PROGRAMS = xz
diff --git a/src/xz/args.c b/src/xz/args.c
index f8732000..5a6d177b 100644
--- a/src/xz/args.c
+++ b/src/xz/args.c
@@ -5,17 +5,10 @@
///
/// \note Filter-specific options parsing is in options.c.
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/args.h b/src/xz/args.h
index b07b2100..91e43ad6 100644
--- a/src/xz/args.h
+++ b/src/xz/args.h
@@ -3,17 +3,10 @@
/// \file args.h
/// \brief Argument parsing
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/hardware.c b/src/xz/hardware.c
index 0695ccb1..8d206b2e 100644
--- a/src/xz/hardware.c
+++ b/src/xz/hardware.c
@@ -3,17 +3,10 @@
/// \file hardware.c
/// \brief Detection of available hardware resources
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/hardware.h b/src/xz/hardware.h
index 36761fd1..136aab9e 100644
--- a/src/xz/hardware.h
+++ b/src/xz/hardware.h
@@ -3,17 +3,10 @@
/// \file hardware.h
/// \brief Detection of available hardware resources
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/io.c b/src/xz/io.c
index 5ee84a95..d8eb5f06 100644
--- a/src/xz/io.c
+++ b/src/xz/io.c
@@ -3,17 +3,10 @@
/// \file io.c
/// \brief File opening, unlinking, and closing
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/io.h b/src/xz/io.h
index 87cfdac2..c10554ad 100644
--- a/src/xz/io.h
+++ b/src/xz/io.h
@@ -3,17 +3,10 @@
/// \file io.h
/// \brief I/O types and functions
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/list.c b/src/xz/list.c
index 8728d47b..ba298e43 100644
--- a/src/xz/list.c
+++ b/src/xz/list.c
@@ -3,17 +3,10 @@
/// \file list.c
/// \brief Listing information about .lzma files
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/main.c b/src/xz/main.c
index 8e707fb0..0afd9ff7 100644
--- a/src/xz/main.c
+++ b/src/xz/main.c
@@ -3,17 +3,10 @@
/// \file main.c
/// \brief main()
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/main.h b/src/xz/main.h
index 2d6419ad..b90102b4 100644
--- a/src/xz/main.h
+++ b/src/xz/main.h
@@ -3,17 +3,10 @@
/// \file main.h
/// \brief Miscellanous declarations
//
-// Copyright (C) 2008 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/message.c b/src/xz/message.c
index ae9b590e..971305ba 100644
--- a/src/xz/message.c
+++ b/src/xz/message.c
@@ -3,17 +3,10 @@
/// \file message.c
/// \brief Printing messages to stderr
//
-// Copyright (C) 2007-2008 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/message.h b/src/xz/message.h
index 24f259c9..16e38b75 100644
--- a/src/xz/message.h
+++ b/src/xz/message.h
@@ -3,17 +3,10 @@
/// \file message.h
/// \brief Printing messages to stderr
//
-// Copyright (C) 2007-2008 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/options.c b/src/xz/options.c
index efceba9e..ea52a595 100644
--- a/src/xz/options.c
+++ b/src/xz/options.c
@@ -3,17 +3,10 @@
/// \file options.c
/// \brief Parser for filter-specific options
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/options.h b/src/xz/options.h
index 3835d12a..426086bd 100644
--- a/src/xz/options.h
+++ b/src/xz/options.h
@@ -3,17 +3,10 @@
/// \file options.h
/// \brief Parser for filter-specific options
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/private.h b/src/xz/private.h
index 21c3559a..1ed37cd0 100644
--- a/src/xz/private.h
+++ b/src/xz/private.h
@@ -3,17 +3,10 @@
/// \file private.h
/// \brief Common includes, definions, and prototypes
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/process.c b/src/xz/process.c
index fbdfbb32..4e682d7d 100644
--- a/src/xz/process.c
+++ b/src/xz/process.c
@@ -3,17 +3,10 @@
/// \file process.c
/// \brief Compresses or uncompresses a file
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/process.h b/src/xz/process.h
index 709f287d..0a805e2c 100644
--- a/src/xz/process.h
+++ b/src/xz/process.h
@@ -3,17 +3,10 @@
/// \file process.h
/// \brief Compresses or uncompresses a file
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/signals.c b/src/xz/signals.c
index f19f3f9b..c9acab26 100644
--- a/src/xz/signals.c
+++ b/src/xz/signals.c
@@ -3,17 +3,10 @@
/// \file signals.c
/// \brief Handling signals to abort operation
//
-// Copyright (C) 2007-2009 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/signals.h b/src/xz/signals.h
index d963a416..48945b22 100644
--- a/src/xz/signals.h
+++ b/src/xz/signals.h
@@ -3,17 +3,10 @@
/// \file signals.h
/// \brief Handling signals to abort operation
//
-// Copyright (C) 2007-2009 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/suffix.c b/src/xz/suffix.c
index aff4d6d6..f9052832 100644
--- a/src/xz/suffix.c
+++ b/src/xz/suffix.c
@@ -3,17 +3,10 @@
/// \file suffix.c
/// \brief Checks filename suffix and creates the destination filename
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/suffix.h b/src/xz/suffix.h
index 623d9681..5537d732 100644
--- a/src/xz/suffix.h
+++ b/src/xz/suffix.h
@@ -3,17 +3,10 @@
/// \file suffix.h
/// \brief Checks filename suffix and creates the destination filename
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/util.c b/src/xz/util.c
index e1716bcb..9843c044 100644
--- a/src/xz/util.c
+++ b/src/xz/util.c
@@ -3,17 +3,10 @@
/// \file util.c
/// \brief Miscellaneous utility functions
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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/src/xz/util.h b/src/xz/util.h
index 8b4bc3f8..511d2ee9 100644
--- a/src/xz/util.h
+++ b/src/xz/util.h
@@ -3,17 +3,10 @@
/// \file util.h
/// \brief Miscellaneous utility functions
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This program 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 program 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.
//
///////////////////////////////////////////////////////////////////////////////