From 3d83100fa378ab7cea8319e229831a33c692b4a5 Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Thu, 28 Nov 2024 14:03:40 +0100 Subject: [PATCH] rust/utils/(tmp)file: Add missing license headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc Hartmayer Reviewed-by: Jan Höppner Signed-off-by: Jan Höppner --- rust/utils/src/file.rs | 4 ++++ rust/utils/src/tmpfile.rs | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/rust/utils/src/file.rs b/rust/utils/src/file.rs index dd19cd7f..af36b4f3 100644 --- a/rust/utils/src/file.rs +++ b/rust/utils/src/file.rs @@ -1,3 +1,7 @@ +// SPDX-License-Identifier: MIT +// +// Copyright IBM Corp. 2024 + use std::{ ffi::{CString, OsStr}, fs::{File, OpenOptions}, diff --git a/rust/utils/src/tmpfile.rs b/rust/utils/src/tmpfile.rs index 92f846a1..07acdba8 100644 --- a/rust/utils/src/tmpfile.rs +++ b/rust/utils/src/tmpfile.rs @@ -1,3 +1,7 @@ +// SPDX-License-Identifier: MIT +// +// Copyright IBM Corp. 2024 + use std::{ ffi::{CString, OsStr}, os::unix::prelude::OsStrExt,