]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Minor comment tweaks
authorMarc Poulhiès <poulhies@adacore.com>
Mon, 8 Sep 2025 14:21:37 +0000 (16:21 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Thu, 11 Sep 2025 09:10:50 +0000 (11:10 +0200)
gcc/ada/ChangeLog:

* env.c (__gnat_clearenv): Adjust comment.
* libgnarl/a-intnam__bsd.ads: Fix copyright date.

gcc/ada/env.c
gcc/ada/libgnarl/a-intnam__bsd.ads

index 950c2696cf672c84de97de273be53d4c23fe0a06..64e9aa01ef066c2fa291fcdc93c8ec7d2680c92f 100644 (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 ();
index 767f54e64cc214c800619caaf36e126151c33092..a9fbf0eec9e9b4d254c0c37c15635c5b4fe8d84f 100644 (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- --