Re: [AD] relative fs entry

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


On Sun Dec 9, 2012, Peter Wang wrote:
> Hi,
> 
> Is a ALLEGRO_FS_ENTRY created from a relative path supposed to be
> interpreted relative to the _current_ working directory, or the
> directory that was current when the ALLEGRO_FS_ENTRY was created?
> 
> I would assume the latter but it's behaving as the former.

Yeah, you're right. Internally it should probably be turned into an absolute 
path so it always points at the original file. The fact that it doesn't is 
very much a bug. Complete brain fart on my end.

> Peter
> 
> ---------------------------------------------------------------------------
> --- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support Improve
> your efficiency, and focus on delivering more value-add services Discover
> what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d


-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




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