From 386b387977a1fafaa3ef7737fb495bd74d15d047 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Thu, 10 Aug 2023 01:07:25 +0200 Subject: [PATCH] Updated license --- doc.go | 2 +- enumerator/doc.go | 2 +- enumerator/enumerator.go | 2 +- enumerator/example_getdetailedportlist_test.go | 2 +- enumerator/usb_darwin.go | 2 +- enumerator/usb_freebsd.go | 2 +- enumerator/usb_linux.go | 2 +- enumerator/usb_openbsd.go | 2 +- enumerator/usb_windows.go | 2 +- enumerator/usb_windows_test.go | 2 +- example_getportlist_test.go | 2 +- example_modem_bits_test.go | 2 +- example_serialport_test.go | 2 +- example_test.go | 2 +- portlist/portlist.go | 2 +- serial.go | 2 +- serial_bsd.go | 6 ++++++ serial_darwin.go | 2 +- serial_darwin_386.go | 2 +- serial_darwin_64.go | 2 +- serial_freebsd.go | 2 +- serial_linux.go | 2 +- serial_linux_test.go | 4 ++-- serial_openbsd.go | 2 +- serial_resetbuf_linux_bsd.go | 2 +- serial_specialbaudrate_linux.go | 2 +- serial_specialbaudrate_linux_ppc64le.go | 2 +- serial_unix.go | 2 +- serial_windows.go | 2 +- syscall_windows.go | 2 +- unixutils/pipe.go | 2 +- unixutils/select.go | 2 +- 32 files changed, 38 insertions(+), 32 deletions(-) diff --git a/doc.go b/doc.go index 9705eb0..6e230ff 100644 --- a/doc.go +++ b/doc.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/enumerator/doc.go b/enumerator/doc.go index 818180d..a3f887d 100644 --- a/enumerator/doc.go +++ b/enumerator/doc.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/enumerator/enumerator.go b/enumerator/enumerator.go index 6f0f32d..420f451 100644 --- a/enumerator/enumerator.go +++ b/enumerator/enumerator.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/enumerator/example_getdetailedportlist_test.go b/enumerator/example_getdetailedportlist_test.go index 0d3bae4..d2796fb 100644 --- a/enumerator/example_getdetailedportlist_test.go +++ b/enumerator/example_getdetailedportlist_test.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/enumerator/usb_darwin.go b/enumerator/usb_darwin.go index 99dba0e..1b1cbd1 100644 --- a/enumerator/usb_darwin.go +++ b/enumerator/usb_darwin.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/enumerator/usb_freebsd.go b/enumerator/usb_freebsd.go index 739e222..db5d96c 100644 --- a/enumerator/usb_freebsd.go +++ b/enumerator/usb_freebsd.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/enumerator/usb_linux.go b/enumerator/usb_linux.go index bad2323..f756367 100644 --- a/enumerator/usb_linux.go +++ b/enumerator/usb_linux.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/enumerator/usb_openbsd.go b/enumerator/usb_openbsd.go index 739e222..db5d96c 100644 --- a/enumerator/usb_openbsd.go +++ b/enumerator/usb_openbsd.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/enumerator/usb_windows.go b/enumerator/usb_windows.go index fd2a167..7883e45 100644 --- a/enumerator/usb_windows.go +++ b/enumerator/usb_windows.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/enumerator/usb_windows_test.go b/enumerator/usb_windows_test.go index df5223a..3160ef3 100644 --- a/enumerator/usb_windows_test.go +++ b/enumerator/usb_windows_test.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/example_getportlist_test.go b/example_getportlist_test.go index fe3bf61..beb4773 100644 --- a/example_getportlist_test.go +++ b/example_getportlist_test.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/example_modem_bits_test.go b/example_modem_bits_test.go index 298271e..34b212f 100644 --- a/example_modem_bits_test.go +++ b/example_modem_bits_test.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/example_serialport_test.go b/example_serialport_test.go index 544cd42..12f68b5 100644 --- a/example_serialport_test.go +++ b/example_serialport_test.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/example_test.go b/example_test.go index 63866bb..27430d0 100644 --- a/example_test.go +++ b/example_test.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/portlist/portlist.go b/portlist/portlist.go index a198b81..8c36e5c 100644 --- a/portlist/portlist.go +++ b/portlist/portlist.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/serial.go b/serial.go index be0a738..abfd7f9 100644 --- a/serial.go +++ b/serial.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/serial_bsd.go b/serial_bsd.go index 4e1f226..fb7c849 100644 --- a/serial_bsd.go +++ b/serial_bsd.go @@ -1,3 +1,9 @@ +// +// Copyright 2014-2023 Cristian Maglie. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. +// + //go:build darwin || dragonfly || freebsd || netbsd || openbsd package serial diff --git a/serial_darwin.go b/serial_darwin.go index 6c448a7..2817041 100644 --- a/serial_darwin.go +++ b/serial_darwin.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/serial_darwin_386.go b/serial_darwin_386.go index 850f6b7..3594a6c 100644 --- a/serial_darwin_386.go +++ b/serial_darwin_386.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/serial_darwin_64.go b/serial_darwin_64.go index 2318a6d..d1ae7c4 100644 --- a/serial_darwin_64.go +++ b/serial_darwin_64.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/serial_freebsd.go b/serial_freebsd.go index 1ccaf33..aceb08a 100644 --- a/serial_freebsd.go +++ b/serial_freebsd.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/serial_linux.go b/serial_linux.go index 32049a2..fe114d9 100644 --- a/serial_linux.go +++ b/serial_linux.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/serial_linux_test.go b/serial_linux_test.go index 2eda7f3..1a7e1a3 100644 --- a/serial_linux_test.go +++ b/serial_linux_test.go @@ -1,11 +1,11 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // + // Testing code idea and fix thanks to @angri // https://github.com/bugst/go-serial/pull/42 -// package serial diff --git a/serial_openbsd.go b/serial_openbsd.go index bf38bba..644dc92 100644 --- a/serial_openbsd.go +++ b/serial_openbsd.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/serial_resetbuf_linux_bsd.go b/serial_resetbuf_linux_bsd.go index 8895ce1..105669d 100644 --- a/serial_resetbuf_linux_bsd.go +++ b/serial_resetbuf_linux_bsd.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/serial_specialbaudrate_linux.go b/serial_specialbaudrate_linux.go index 3a105eb..ff48974 100644 --- a/serial_specialbaudrate_linux.go +++ b/serial_specialbaudrate_linux.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/serial_specialbaudrate_linux_ppc64le.go b/serial_specialbaudrate_linux_ppc64le.go index 4db8cc7..cd80b86 100644 --- a/serial_specialbaudrate_linux_ppc64le.go +++ b/serial_specialbaudrate_linux_ppc64le.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/serial_unix.go b/serial_unix.go index 6f58d98..f6ec896 100644 --- a/serial_unix.go +++ b/serial_unix.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/serial_windows.go b/serial_windows.go index 5c4a576..287856a 100644 --- a/serial_windows.go +++ b/serial_windows.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/syscall_windows.go b/syscall_windows.go index 3b86776..c814528 100644 --- a/syscall_windows.go +++ b/syscall_windows.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/unixutils/pipe.go b/unixutils/pipe.go index 311c801..748de34 100644 --- a/unixutils/pipe.go +++ b/unixutils/pipe.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // diff --git a/unixutils/select.go b/unixutils/select.go index 12705d8..9f0e214 100644 --- a/unixutils/select.go +++ b/unixutils/select.go @@ -1,5 +1,5 @@ // -// Copyright 2014-2021 Cristian Maglie. All rights reserved. +// Copyright 2014-2023 Cristian Maglie. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //