Re: [AD] file.c # patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> > though: the current code treats midifile.mid in midi.dat#midifile.mid 
as a 
> > file name and midi.dat# as a path specifier. This doesn't actually 
sound 
> > at all unreasonable to be, although I never thought about using such a 
> > construction.
> 
> Well, I'll agree it's not at all unresaonable. However, it's rather 
> important to reiterate that there's no other way to do this if you're 
> replacing a filename that has a # character.

Couldn't you add another check to see wether or not the file exists?

Otherwise, has anyone else had a look at this?

Evert





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