From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: ** X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00,FROM_WORDY, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ee1a8b8db84c88f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!local01.nntp.dca.giganews.com!nntp.rcn.net!news.rcn.net.POSTED!not-for-mail NNTP-Posting-Date: Sun, 21 Aug 2005 11:48:18 -0500 Reply-To: "Frank J. Lhota" From: "Frank J. Lhota" Newsgroups: comp.lang.ada References: <4301ab29$0$6989$9b4e6d93@newsread2.arcor-online.net> <1639727.IzdcfkcRx7@linux1.krischik.com> <1227518.U5hWOOGjT8@linux1.krischik.com> Subject: Re: Ada exception block does NOT work? Date: Sun, 21 Aug 2005 12:48:17 -0400 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-RFC2646: Format=Flowed; Original Message-ID: <0pOdne-tWpnPLZXeRVn-sQ@rcn.net> NNTP-Posting-Host: 209.6.185.133 X-Trace: sv3-BGR/cuBbTEUWw7jiMn8LHf6UxoFpMwcYWqJjTVUcX00J6YdyAhs7IYTzCvGYhYVRwc3ISI3Sgj2Ifi6!3GZ9ZiBzBb+L5oHKmmI+zQP0nPEjx8YjbMRJuCEkWhVRc4qcOlAvlvYDZyQYVVWe X-Complaints-To: abuse@rcn.net X-DMCA-Complaints-To: abuse@rcn.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news1.google.com comp.lang.ada:4239 Date: 2005-08-21T12:48:17-04:00 List-Id: "Martin Krischik" wrote in message news:1227518.U5hWOOGjT8@linux1.krischik.com... > It's because they used "signed int" for all file operations. Personally I > consider that damm stupid - after all: have you ever seen a file with a > negative size? > > Martin There is some utility to a negative file offset, for example fseek. The real mistake was not using a typedef for the file sizes and file offsets. > -- > mailto://krischik@users.sourceforge.net > Ada programming at: http://ada.krischik.com