Re: [cc65] C64 POSIX dirent stuff actually working?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2012-08-09 09:53:13
Hi!

On Tue, Aug 07, 2012 at 05:16:23PM +0200, Spiro Trikaliotis wrote:
> The ",R" is nowhere documented for the $ command. Thus, in order to be
> on the safe side (think about other drives like 1581, CMD), you should
> ommit the ",R" for "$". So, IMHO, r5804 is right (in the sense of using
> only documented behaviour), and r5805 is wrong.

Thanks for the detailed explanation.

The reason for the change in r5805 is that I don't like to have special
treatment for directories in so many places. opendir() uses open() internally,
which I considered elegant - but it didn't work. To make it work, I had to add
more and more special casing in other places to handle directories. It may be
a better idea not to use open() in opendir() because that would allow me to
remove all the special code for directories in the other places.
         
Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Aug 9 09:53:26 2012

This archive was generated by hypermail 2.1.8 : 2012-08-09 09:53:30 CEST