Re: [cc65] posix directory routienes...

Date view Thread view Subject view

From: Greg King (
Date: 2003-04-24 13:54:37

From: Groepaz
Date: Friday, March 21, 2003, 11:16 AM
> On Thursday, 20 March 2003, 17:56, Greg King wrote:
> >
> > I admit that I didn't try to open a file while a directory still
> > is open; but, stdin, stdout, and stderr are "normal" files,
> > on CBM targets.  We know that the directory-routines work with stdout.
> Try it, then.  I would actually be surprised if it works correctly.

You inspired me to add a small test to the "dir-test.c" program in
cc65/testcode/lib.  After listing a directory, the program scans it for
the first "executable-file", then shows what its "load-address" is.  (It
might not be a true program-file, but that isn't important -- as long as
the display matches the file's content.)

The files are in:

To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.

Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-04-24 14:01:39 CEST