From fnaumann@mail.cs.uni-magdeburg.de Mon Oct 4 09:56:53 2004 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <4160FEE8.7080203@utbm.fr> References: <695F17FC-1546-11D9-92FA-00039357F826@epfl.ch> <4160FEE8.7080203@utbm.fr> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: =?ISO-8859-1?Q?Philipp_Donz=E9?= Subject: Re: [MiNT] System call bindings Date: Mon, 4 Oct 2004 09:54:58 +0200 To: mint@lists.fishpool.fi X-Mailer: Apple Mail (2.619) X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: philipp.donze@epfl.ch Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: X-Milter: ClamAV 0.70/0.70kjel X-Milter: milter-regex 1.5jel X-Milter: ClamAV 0.70/0.70kjel X-Milter: milter-regex 1.5jel Hi, >> - I found different implementations of DTA structure. "TOS.HYP", >> Atari compendium, "Profibuch" use the same types and names. Only >> mintlib uses a different approach by changing names and prefixes of >> the structure. I know, these bindings are old and obolete, but what's >> the use of having them implemented in a completely different manner >> than ANY document proposes? Make it difficult to port/compile old >> software with mintlib? ;-) > > All DTA description I have see in libs are wrong (I not look in recent > mintlib so perhaps correct), the name part, have alway's describe as > char name[14] that's of course not work with long file name! I have > correct this by simply > char name[255] That's not the issue I meant :-) The DTA is not used for long filenames. To search files using long filenames there exist new calls Dopendir(), Dreaddir(), Dclosedir(). Fsfirst() and Fsnext() which use the DTA structure should only be used for compatibility purposes. And I think a modern system supporting long filenames would never try to squeeze a long filename into a DTA structure (of which the system doesn't know if there is space for more than 14 characters. My issues are that not only the name DTA is replaced by _DTA but also all elements of the structures are prefixed by "dta_" instead "d_". regards Philipp