diff mbox

Fix PR ada/59346

Message ID 1482121.k2RS9Cq31n@polaris
State New
Headers show

Commit Message

Eric Botcazou Nov. 29, 2013, 4:19 p.m. UTC
It's a fallout of the changes made for PR ada/54040.  Hopefully I didn't miss 
one the affected specifications.  Applied on the mainline.


2013-11-29  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/54040
	PR ada/59346
	* s-osinte-hpux.ads (timespec): Change type of tv_nsec field to time_t.
	* s-osinte-kfreebsd-gnu.ads (timespec): Likewise.
	* s-osinte-solaris-posix.ads (timespec): Likewise.
diff mbox

Patch

Index: s-osinte-hpux.ads
===================================================================
--- s-osinte-hpux.ads	(revision 205524)
+++ s-osinte-hpux.ads	(working copy)
@@ -7,7 +7,7 @@ 
 --                                  S p e c                                 --
 --                                                                          --
 --               Copyright (C) 1991-1994, Florida State University          --
---            Copyright (C) 1995-2012, Free Software Foundation, Inc.       --
+--            Copyright (C) 1995-2013, Free Software Foundation, Inc.       --
 --                                                                          --
 -- GNAT 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- --
@@ -522,7 +522,7 @@  private
 
    type timespec is record
       tv_sec  : time_t;
-      tv_nsec : long;
+      tv_nsec : time_t;
    end record;
    pragma Convention (C, timespec);
 
Index: s-osinte-kfreebsd-gnu.ads
===================================================================
--- s-osinte-kfreebsd-gnu.ads	(revision 205524)
+++ s-osinte-kfreebsd-gnu.ads	(working copy)
@@ -6,8 +6,8 @@ 
 --                                                                          --
 --                                  S p e c                                 --
 --                                                                          --
---        Copyright (C) 1991-1994, Florida State University                 --
---        Copyright (C) 1995-2005,2008,2012 Free Software Foundation, Inc.  --
+--               Copyright (C) 1991-1994, Florida State University          --
+--            Copyright (C) 1995-2013, Free Software Foundation, Inc.       --
 --                                                                          --
 -- GNAT 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- --
@@ -492,7 +492,7 @@  private
 
    type timespec is record
       tv_sec  : time_t;
-      tv_nsec : long;
+      tv_nsec : time_t;
    end record;
    pragma Convention (C, timespec);
 
Index: s-osinte-solaris-posix.ads
===================================================================
--- s-osinte-solaris-posix.ads	(revision 205524)
+++ s-osinte-solaris-posix.ads	(working copy)
@@ -7,7 +7,7 @@ 
 --                                  S p e c                                 --
 --                                                                          --
 --             Copyright (C) 1991-1994, Florida State University            --
---          Copyright (C) 1995-2011, Free Software Foundation, Inc.         --
+--          Copyright (C) 1995-2013, Free Software Foundation, Inc.         --
 --                                                                          --
 -- GNAT 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- --
@@ -513,7 +513,7 @@  private
 
    type timespec is record
       tv_sec  : time_t;
-      tv_nsec : long;
+      tv_nsec : time_t;
    end record;
    pragma Convention (C, timespec);