ada: Minor comment tweaks

gcc/ada/ChangeLog:

	* env.c (__gnat_clearenv): Adjust comment.
	* libgnarl/a-intnam__bsd.ads: Fix copyright date.
This commit is contained in:
Marc Poulhiès
2025-09-08 16:21:37 +02:00
committed by Marc Poulhiès
parent 7efa3b5b2f
commit 195b495917
2 changed files with 3 additions and 2 deletions

View File

@@ -229,7 +229,8 @@ void __gnat_clearenv (void)
|| defined (__CYGWIN__) \
|| defined (__NetBSD__) || defined (__OpenBSD__) || defined (__rtems__) \
|| defined (__DragonFly__) || defined (__DJGPP__)
/* On Windows, FreeBSD and MacOS there is no function to clean all the
/* On several platforms (e.g. Windows, FreeBSD, MacOS...)
there is no function to clean all the
environment but there is a "clean" way to unset a variable. So go
through the environ table and call __gnat_unsetenv on all entries */
char **env = __gnat_environ ();

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 1991-2024, Free Software Foundation, Inc. --
-- Copyright (C) 1991-2025, Free Software Foundation, Inc. --
-- --
-- GNARL is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --