bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Request: lib_file_io additions


From: Juergen Sauermann
Subject: Re: [Bug-apl] Request: lib_file_io additions
Date: Tue, 08 Jul 2014 12:11:44 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi David,

fixed in SVN 366.

FILE_IO[28] now returns an N by 5 matrix with columns ordered like in struct dirent.

I used -1 instead of ⍬ for missing fields because I found it a bit awkward to produce
different depths on different platforms.

I also added FILE_IO[29] which returns only the file names instead of entire dirents.

/// Jürgen


On 07/07/2014 07:17 PM, David Lamkins wrote:
Regarding the FILE_IO[28] result:

It occurs to me that on a platform where the three optional fields (d_off, d_reclen and d_type) are not either all available or all unavailable, it could be tricky for the application to know how to interpret the fields that are present in the result. Perhaps it would be better to always return an N-by-5 array and fill the missing fields with ⍬.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]