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

From: Oliver Schmidt <ol.sc1web.de>
Date: 2012-08-12 13:21:59
Hi,

>         if (f = open(ent->d_name, O_RDONLY)) {

Should of course rather read

        if ((f = open(ent->d_name, O_RDONLY)) != -1) {

but the result is just the same.

Regards,
Oliver
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Aug 12 13:22:15 2012

This archive was generated by hypermail 2.1.8 : 2012-08-12 13:22:19 CEST