[v2,0/8] Synchronize *div() implementations with FreeBSD

Message ID 20260620095210.2530342-1-sebastian.huber@embedded-brains.de
Headers
Series Synchronize *div() implementations with FreeBSD |

Message

Sebastian Huber June 20, 2026, 9:52 a.m. UTC
  The resulting *div() implementation are also in line with glibc and musl.

Aymeric Wibo (2):
  libc: Remove leftover comments
  libc: Improve {,l,ll,imax}div(3) manpages

Minsoo Choo (1):
  libc: Remove support for pre-C99 C standards

Pedro F. Giffuni (2):
  General further adoption of SPDX licensing ID tags.
  libc: further adoption of SPDX licensing ID tags.

Warner Losh (3):
  spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
  Remove $FreeBSD$: one-line .c pattern
  libc: Purge unneeded cdefs.h

 newlib/libc/stdlib/div.c     | 46 ++++++------------------------------
 newlib/libc/stdlib/imaxdiv.c | 13 +++-------
 newlib/libc/stdlib/ldiv.c    | 20 +++++-----------
 newlib/libc/stdlib/lldiv.c   | 31 +++---------------------
 4 files changed, 19 insertions(+), 91 deletions(-)
  

Comments

Sebastian Huber July 7, 2026, 7:16 a.m. UTC | #1
Hello,

any comments with respect to this patch set?

----- Am 20. Jun 2026 um 11:52 schrieb Sebastian Huber sebastian.huber@embedded-brains.de:

> The resulting *div() implementation are also in line with glibc and musl.
> 
> Aymeric Wibo (2):
>  libc: Remove leftover comments
>  libc: Improve {,l,ll,imax}div(3) manpages
> 
> Minsoo Choo (1):
>  libc: Remove support for pre-C99 C standards
> 
> Pedro F. Giffuni (2):
>  General further adoption of SPDX licensing ID tags.
>  libc: further adoption of SPDX licensing ID tags.
> 
> Warner Losh (3):
>  spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
>  Remove $FreeBSD$: one-line .c pattern
>  libc: Purge unneeded cdefs.h
> 
> newlib/libc/stdlib/div.c     | 46 ++++++------------------------------
> newlib/libc/stdlib/imaxdiv.c | 13 +++-------
> newlib/libc/stdlib/ldiv.c    | 20 +++++-----------
> newlib/libc/stdlib/lldiv.c   | 31 +++---------------------
> 4 files changed, 19 insertions(+), 91 deletions(-)
> 
> --
> 2.51.0
  
Jeff Johnston July 13, 2026, 10:34 p.m. UTC | #2
Patches pushed to main.

-- Jeff J.

On Sat, Jun 20, 2026 at 5:53 AM Sebastian Huber <
sebastian.huber@embedded-brains.de> wrote:

> The resulting *div() implementation are also in line with glibc and musl.
>
> Aymeric Wibo (2):
>   libc: Remove leftover comments
>   libc: Improve {,l,ll,imax}div(3) manpages
>
> Minsoo Choo (1):
>   libc: Remove support for pre-C99 C standards
>
> Pedro F. Giffuni (2):
>   General further adoption of SPDX licensing ID tags.
>   libc: further adoption of SPDX licensing ID tags.
>
> Warner Losh (3):
>   spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
>   Remove $FreeBSD$: one-line .c pattern
>   libc: Purge unneeded cdefs.h
>
>  newlib/libc/stdlib/div.c     | 46 ++++++------------------------------
>  newlib/libc/stdlib/imaxdiv.c | 13 +++-------
>  newlib/libc/stdlib/ldiv.c    | 20 +++++-----------
>  newlib/libc/stdlib/lldiv.c   | 31 +++---------------------
>  4 files changed, 19 insertions(+), 91 deletions(-)
>
> --
> 2.51.0
>
>