From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=BAYES_40,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:ac8:134a:: with SMTP id f10mr5246927qtj.382.1632409263434; Thu, 23 Sep 2021 08:01:03 -0700 (PDT) X-Received: by 2002:a05:6902:124c:: with SMTP id t12mr6129752ybu.91.1632409263265; Thu, 23 Sep 2021 08:01:03 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 23 Sep 2021 08:01:03 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=84.92.86.82; posting-account=OCGnxwkAAADCyu751mus9xKbEvUSs9BP NNTP-Posting-Host: 84.92.86.82 References: <8936f386-3fdb-43b3-b912-317906d59631n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4431fad9-d297-4d68-8c0f-fa771c6710f6n@googlegroups.com> Subject: Re: C time_t 2038 problem s-os_lib.ads From: Kevin Chadwick Injection-Date: Thu, 23 Sep 2021 15:01:03 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:62824 List-Id: On Thursday, September 23, 2021 at 2:26:11 PM UTC, Jeffrey R. Carter wrote: > On 9/23/21 12:42 PM, Kevin Chadwick wrote: > > I have noticed that C time_t appears to be Long_integer in Gnat s-os_lib.ads. > > > > Just wondering if it should be 64bit long long as OpenBSD has already moved to long long? > GNAT defines > > type Long_Integer is range -(2 **63) .. +(2 **63 - 1); > for Long_Integer'Size use 64; > I see, thank you. GPS doesn't seem to jump to declaration for Long_Integer and grep hasn't turned it up, so I will just take your word for it.