[newlib-cygwin/main] General further adoption of SPDX licensing ID tags.

Jeff Johnston jjohnstn@sourceware.org
Mon Jul 13 22:32:08 GMT 2026


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=cbc12dc12e3bde1399863feb290ae242f197fc9d

commit cbc12dc12e3bde1399863feb290ae242f197fc9d
Author: Pedro F. Giffuni <pfg@FreeBSD.org>
Date:   Sat Jun 20 11:52:03 2026 +0200

    General further adoption of SPDX licensing ID tags.
    
    Mainly focus on files that use BSD 3-Clause license.
    
    The Software Package Data Exchange (SPDX) group provides a specification
    to make it easier for automated tools to detect and summarize well known
    opensource licenses. We are gradually adopting the specification, noting
    that the tags are considered only advisory and do not, in any way,
    superceed or replace the license texts.
    
    Special thanks to Wind River for providing access to "The Duke of
    Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
    starting point.

Diff:
---
 newlib/libc/stdlib/div.c  | 4 +++-
 newlib/libc/stdlib/ldiv.c | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/newlib/libc/stdlib/div.c b/newlib/libc/stdlib/div.c
index 4868c6d47..4296f1e80 100644
--- a/newlib/libc/stdlib/div.c
+++ b/newlib/libc/stdlib/div.c
@@ -41,7 +41,9 @@ PORTABILITY
 No supporting OS subroutines are required.
 */
 
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
  * Copyright (c) 1990 Regents of the University of California.
  * All rights reserved.
  *
diff --git a/newlib/libc/stdlib/ldiv.c b/newlib/libc/stdlib/ldiv.c
index 39bb36e11..c02711a78 100644
--- a/newlib/libc/stdlib/ldiv.c
+++ b/newlib/libc/stdlib/ldiv.c
@@ -42,7 +42,9 @@ No supporting OS subroutines are required.
 */
 
 
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
  * Copyright (c) 1990 Regents of the University of California.
  * All rights reserved.
  *


More information about the Newlib-cvs mailing list