aboutsummaryrefslogtreecommitdiff
path: root/src/xz
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2024-02-12 17:09:10 +0200
committerLasse Collin <lasse.collin@tukaani.org>2024-02-14 18:31:12 +0200
commit689e0228baeb95232430e90d628379db89583d71 (patch)
tree1ac08f6030261327d8bc231adf1ab3e16f623645 /src/xz
parentFix SHA-256 authors. (diff)
downloadxz-689e0228baeb95232430e90d628379db89583d71.tar.xz
Change most public domain parts to 0BSD.
Translations and doc/xz-file-format.txt and doc/lzma-file-format.txt were not touched. COPYING.0BSD was added.
Diffstat (limited to 'src/xz')
-rw-r--r--src/xz/Makefile.am3
-rw-r--r--src/xz/args.c3
-rw-r--r--src/xz/args.h3
-rw-r--r--src/xz/coder.c3
-rw-r--r--src/xz/coder.h3
-rw-r--r--src/xz/file_io.c3
-rw-r--r--src/xz/file_io.h3
-rw-r--r--src/xz/hardware.c3
-rw-r--r--src/xz/hardware.h3
-rw-r--r--src/xz/list.c3
-rw-r--r--src/xz/list.h3
-rw-r--r--src/xz/main.c3
-rw-r--r--src/xz/main.h3
-rw-r--r--src/xz/message.c3
-rw-r--r--src/xz/message.h3
-rw-r--r--src/xz/mytime.c3
-rw-r--r--src/xz/mytime.h3
-rw-r--r--src/xz/options.c3
-rw-r--r--src/xz/options.h3
-rw-r--r--src/xz/private.h3
-rw-r--r--src/xz/signals.c3
-rw-r--r--src/xz/signals.h3
-rw-r--r--src/xz/suffix.c3
-rw-r--r--src/xz/suffix.h3
-rw-r--r--src/xz/util.c3
-rw-r--r--src/xz/util.h3
-rw-r--r--src/xz/xz.14
-rw-r--r--src/xz/xz_w32res.rc3
28 files changed, 1 insertions, 84 deletions
diff --git a/src/xz/Makefile.am b/src/xz/Makefile.am
index 34b3c598..159865ca 100644
--- a/src/xz/Makefile.am
+++ b/src/xz/Makefile.am
@@ -1,9 +1,6 @@
##
## Author: Lasse Collin
##
-## 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 e8b07af3..c3e72b95 100644
--- a/src/xz/args.c
+++ b/src/xz/args.c
@@ -8,9 +8,6 @@
// Authors: Lasse Collin
// Jia Tan
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "private.h"
diff --git a/src/xz/args.h b/src/xz/args.h
index a1f42f8a..35eb1a63 100644
--- a/src/xz/args.h
+++ b/src/xz/args.h
@@ -6,9 +6,6 @@
// Authors: Lasse Collin
// Jia Tan
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
typedef struct {
diff --git a/src/xz/coder.c b/src/xz/coder.c
index 2ba64694..392849ec 100644
--- a/src/xz/coder.c
+++ b/src/xz/coder.c
@@ -6,9 +6,6 @@
// Authors: Lasse Collin
// Jia Tan
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "private.h"
diff --git a/src/xz/coder.h b/src/xz/coder.h
index 7dfa466e..8f7bfde4 100644
--- a/src/xz/coder.h
+++ b/src/xz/coder.h
@@ -6,9 +6,6 @@
// Authors: Lasse Collin
// Jia Tan
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
enum operation_mode {
diff --git a/src/xz/file_io.c b/src/xz/file_io.c
index 9b89434f..7e8a5c79 100644
--- a/src/xz/file_io.c
+++ b/src/xz/file_io.c
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "private.h"
diff --git a/src/xz/file_io.h b/src/xz/file_io.h
index 906fd960..d5dfd828 100644
--- a/src/xz/file_io.h
+++ b/src/xz/file_io.h
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
// Some systems have suboptimal BUFSIZ. Use a bit bigger value on them.
diff --git a/src/xz/hardware.c b/src/xz/hardware.c
index 73bac4a9..bc2f52bd 100644
--- a/src/xz/hardware.c
+++ b/src/xz/hardware.c
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "private.h"
diff --git a/src/xz/hardware.h b/src/xz/hardware.h
index a67b26ef..8a5443a0 100644
--- a/src/xz/hardware.h
+++ b/src/xz/hardware.h
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
/// Initialize some hardware-specific variables, which are needed by other
diff --git a/src/xz/list.c b/src/xz/list.c
index 96933760..561e63e5 100644
--- a/src/xz/list.c
+++ b/src/xz/list.c
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "private.h"
diff --git a/src/xz/list.h b/src/xz/list.h
index a4c6ec7d..5d1084a0 100644
--- a/src/xz/list.h
+++ b/src/xz/list.h
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
/// \brief List information about the given .xz file
diff --git a/src/xz/main.c b/src/xz/main.c
index 9c902833..26bcb997 100644
--- a/src/xz/main.c
+++ b/src/xz/main.c
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "private.h"
diff --git a/src/xz/main.h b/src/xz/main.h
index 323f2f7d..ca2a7f32 100644
--- a/src/xz/main.h
+++ b/src/xz/main.h
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
/// Possible exit status values. These are the same as used by gzip and bzip2.
diff --git a/src/xz/message.c b/src/xz/message.c
index 7756b5b2..cc397d7b 100644
--- a/src/xz/message.c
+++ b/src/xz/message.c
@@ -6,9 +6,6 @@
// Authors: Lasse Collin
// Jia Tan
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "private.h"
diff --git a/src/xz/message.h b/src/xz/message.h
index 20381705..21412d26 100644
--- a/src/xz/message.h
+++ b/src/xz/message.h
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
/// Verbosity levels
diff --git a/src/xz/mytime.c b/src/xz/mytime.c
index 602e897e..b3be80f5 100644
--- a/src/xz/mytime.c
+++ b/src/xz/mytime.c
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "private.h"
diff --git a/src/xz/mytime.h b/src/xz/mytime.h
index 5a3c1e21..6810cc0b 100644
--- a/src/xz/mytime.h
+++ b/src/xz/mytime.h
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// 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 618a50f7..beef011c 100644
--- a/src/xz/options.c
+++ b/src/xz/options.c
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "private.h"
diff --git a/src/xz/options.h b/src/xz/options.h
index 61ec8d58..7c88f304 100644
--- a/src/xz/options.h
+++ b/src/xz/options.h
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
/// \brief Parser for Delta options
diff --git a/src/xz/private.h b/src/xz/private.h
index b822b944..50937fe1 100644
--- a/src/xz/private.h
+++ b/src/xz/private.h
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "sysdefs.h"
diff --git a/src/xz/signals.c b/src/xz/signals.c
index ff42a396..553271c9 100644
--- a/src/xz/signals.c
+++ b/src/xz/signals.c
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "private.h"
diff --git a/src/xz/signals.h b/src/xz/signals.h
index 5b125e0f..2740f49f 100644
--- a/src/xz/signals.h
+++ b/src/xz/signals.h
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
/// If this is true, we will clean up the possibly incomplete output file,
diff --git a/src/xz/suffix.c b/src/xz/suffix.c
index f2541831..a8d9cc21 100644
--- a/src/xz/suffix.c
+++ b/src/xz/suffix.c
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "private.h"
diff --git a/src/xz/suffix.h b/src/xz/suffix.h
index 135e9056..e45a16ce 100644
--- a/src/xz/suffix.h
+++ b/src/xz/suffix.h
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
/// \brief Get the name of the destination file
diff --git a/src/xz/util.c b/src/xz/util.c
index c9ed8287..4405b526 100644
--- a/src/xz/util.c
+++ b/src/xz/util.c
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "private.h"
diff --git a/src/xz/util.h b/src/xz/util.h
index 1da40371..f5f56ed6 100644
--- a/src/xz/util.h
+++ b/src/xz/util.h
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
/// \brief Safe malloc() that never returns NULL
diff --git a/src/xz/xz.1 b/src/xz/xz.1
index 950585f8..f2c1ce35 100644
--- a/src/xz/xz.1
+++ b/src/xz/xz.1
@@ -1,11 +1,9 @@
'\" t
+.\" SPDX-License-Identifier: 0BSD
.\"
.\" Authors: Lasse Collin
.\" Jia Tan
.\"
-.\" This file has been put into the public domain.
-.\" You can do whatever you want with this file.
-.\"
.TH XZ 1 "2024-01-23" "Tukaani" "XZ Utils"
.
.SH NAME
diff --git a/src/xz/xz_w32res.rc b/src/xz/xz_w32res.rc
index bad30202..a71afa5b 100644
--- a/src/xz/xz_w32res.rc
+++ b/src/xz/xz_w32res.rc
@@ -1,8 +1,5 @@
/*
* Author: Lasse Collin
- *
- * This file has been put into the public domain.
- * You can do whatever you want with this file.
*/
#define MY_TYPE VFT_APP