Re: [cc65] Common macros for dirent.d_type

From: Oliver Schmidt <ol.sc1web.de>
Date: 2012-07-04 22:37:24
Hi,

>> > > I've changed the default to 'S' because more people voted for that.

>>         _filetype = 'p';

> choosing anything but PRG

Sorry, but just some simple questions:

- I think I understood from your discussion that both USR and PRG
files can be read successfully without fiddling with '_filetype' -
correct?

- So the question is what type of file is created on writing a file.
What does 'S' do? From what I understand here it creates PRG files.
But what's the difference to 'P' then?

- What happens if a file already exists? Is the filetype preserved on
"overwriting" the file?

I need to understand this specifically because my Contiki disks so far
depend on the 'contiki.cfg' file being _not_ PRG. What do I need to
set '_filetype' to in order to get the previous behaviour?

> i would even say that by making it prg, you will 100%
> eliminate any "how do i change the default filetype" questions

My section above already proves this claim to be wrong on the very first day!

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 Wed Jul 4 22:37:34 2012

This archive was generated by hypermail 2.1.8 : 2012-07-04 22:37:38 CEST