Re: git: d58339f39874 - main - tzcode: Drop libc namespace

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Sat, 27 Sep 2025 20:25:12 UTC
On Sat, Sep 27, 2025 at 05:07:36PM +0000, Dag-Erling Smørgrav wrote:
> The branch main has been updated by des:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=d58339f398748b50ff84421e9d81f8f6d94cb949
> 
> commit d58339f398748b50ff84421e9d81f8f6d94cb949
> Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
> AuthorDate: 2025-09-27 17:06:58 +0000
> Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
> CommitDate: 2025-09-27 17:07:15 +0000
> 
>     tzcode: Drop libc namespace
>     
>     This hasn't been needed in years and is a maintenance headache.

It does change the behavior.  Now a user-provided open/fstat/pthread_*
functions can interpose the system functions, making tz code doing something
that was not intended.

In other words, namespacing guaranteed that tzcode was not affected by
the app playing with libc namespace.