Re: [hatari-devel] fopen traces

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Le 06/04/2015 21:30, Eero Tamminen a écrit :
Hi,

On maanantai 06 huhtikuu 2015, Nicolas Pomarède wrote:
I agree with thomas, it's not about the option being commonly used or
not , but since it's part of gemdos it would be better to prefix with
gemdos_ , makes it easier to undestand IMO when you type "--trace help"
(and that's not a lot of extra letters to type :) )

IMHO you have it backwards. :-)

Surely "files" tells more about the intended purpose.

"I wonder whether file accesses are a problem for the program"
-> "hm, here seems to be option to trace files"

vs.

"why there's gemdos_fopen in addition to gemdos trace?"


After user uses the option, he sees that it's file accesses
are done through GEMDOS (as trace output tells that), if he
didn't know it beforehand.


problem is that "files" looks to generic to me. Does it traces fopen, fseek, fclose, fsnext, fread, frwite, ... ? At the moment not, and that's what I would expect from an option that says it traces files : to trace all kind of files' operations, not just fopen.

Nicolas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/